summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2022-11-03 10:22:53 +0100
committerPicca Frédéric-Emmanuel <picca@debian.org>2022-11-03 10:22:53 +0100
commit01ffe79f88f666669c1b4562c38b11bd6e2992df (patch)
tree69a7bd58725f87bc2619c07ed570022599528904
parent01a44653b21c4bc8b6b5e7b0aab1d06aade7ff4b (diff)
do not install the scipy_spatial COPYING file
-rw-r--r--debian/patches/0007-do-not-install-scipy_spatial-COPYING.txt.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0007-do-not-install-scipy_spatial-COPYING.txt.patch b/debian/patches/0007-do-not-install-scipy_spatial-COPYING.txt.patch
new file mode 100644
index 0000000..7e0b287
--- /dev/null
+++ b/debian/patches/0007-do-not-install-scipy_spatial-COPYING.txt.patch
@@ -0,0 +1,22 @@
+From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
+Date: Thu, 3 Nov 2022 10:22:11 +0100
+Subject: do not install scipy_spatial COPYING.txt
+
+---
+ setup.py | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 18e10cc..523333f 100644
+--- a/setup.py
++++ b/setup.py
+@@ -787,9 +787,6 @@ def get_project_configuration():
+ },
+ ext_modules=ext_modules,
+ package_data=package_data,
+- data_files=[
+- ('silx/third_party/_local/scipy_spatial/qhull', ['src/silx/third_party/_local/scipy_spatial/qhull/COPYING.txt'])
+- ],
+ )
+
+
diff --git a/debian/patches/series b/debian/patches/series
index 3f5ab51..0d007fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
0004-skip-two-tests.patch
0005-removed-hdf5plugin-from-full-dependencies.patch
0007-python3.10-fix.patch
+0007-do-not-install-scipy_spatial-COPYING.txt.patch