aboutsummaryrefslogtreecommitdiff
path: root/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2024-08-20 09:24:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-20 10:35:54 +0700
commit500a32456f78e6d959cad0fa4168d705bc9e046b (patch)
treefd63e6fc6853d13d8bfd67e6e80b5ac70799c1d4 /python/python3-opencv/sync_with_sci-build-4.10.0.84.diff
parent9a1426ea225be015f903f738f3c87c8586c30615 (diff)
python/python3-opencv: Added (Python3 binding for OpenCV).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-opencv/sync_with_sci-build-4.10.0.84.diff')
-rw-r--r--python/python3-opencv/sync_with_sci-build-4.10.0.84.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff b/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff
new file mode 100644
index 0000000000..501230915a
--- /dev/null
+++ b/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff
@@ -0,0 +1,19 @@
+--- 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()