slackbuilds/python/python3-opencv/sync_with_sci-build-4.10.0....

20 lines
961 B
Diff

--- setup.py.orig 2024-06-18 03:55:09.000000000 +1000
+++ setup.py 2024-08-17 14:58:24.426316098 +1000
@@ -23,16 +23,6 @@
build_rolling = get_build_env_var_by_name("rolling")
install_requires = [
- 'numpy>=1.13.3; python_version<"3.7"',
- 'numpy>=1.17.0; python_version>="3.7"', # https://github.com/numpy/numpy/pull/13725
- 'numpy>=1.17.3; python_version>="3.8"',
- 'numpy>=1.19.3; python_version>="3.9"',
- 'numpy>=1.21.2; python_version>="3.10"',
- 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"',
- 'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"',
- 'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"',
- "numpy>=1.23.5; python_version>='3.11'",
- "numpy>=1.26.0; python_version>='3.12'"
]
python_version = cmaker.CMaker.get_python_version()