opnsense-ports/databases/py-tiledb/files/patch-setup.py
Franco Fichtner f940e83811 */*: sync with upstream
Taken from: HardenedBSD
2021-05-19 09:44:31 +02:00

23 lines
721 B
Python

--- setup.py.orig 2021-05-13 21:29:51 UTC
+++ setup.py
@@ -487,11 +487,9 @@ def cmake_available():
def setup_requires():
req = [
"cython>=0.27",
- "numpy==1.16.* ; python_version < '3.9'",
- "numpy ; python_version >= '3.9'",
+ "numpy>=1.16",
"setuptools>=18.0",
"setuptools_scm>=1.5.4",
- "wheel>=0.30",
"pybind11>=2.6.2",
]
# Add cmake requirement if libtiledb is not found and cmake is not available.
@@ -684,7 +682,6 @@ setup(
setup_requires=setup_requires(),
install_requires=[
"numpy>=1.16",
- "wheel>=0.30",
"contextvars ;python_version<'3.7'",
"dataclasses ;python_version<'3.7'",
],