[python-pdal] 06/11: Add patch to fix clean target.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun Mar 20 03:32:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-pdal.
commit 00e02bf9c21155243597750461c5150c459ddeb8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Mar 19 22:21:45 2016 +0100
Add patch to fix clean target.
---
debian/patches/clean-setup.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 26 insertions(+)
diff --git a/debian/patches/clean-setup.patch b/debian/patches/clean-setup.patch
new file mode 100644
index 0000000..45f7295
--- /dev/null
+++ b/debian/patches/clean-setup.patch
@@ -0,0 +1,25 @@
+Description: Reduce requirements for clean target.
+ Don't require pdal-config, and don't cythonize the extensions.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/PDAL/PDAL/pull/1185
+
+--- a/setup.py
++++ b/setup.py
+@@ -108,7 +108,7 @@ extra_link_args = []
+
+ from setuptools.extension import Extension as DistutilsExtension
+
+-if pdal_config:
++if pdal_config and "clean" not in sys.argv:
+ # Collect other options from PDAL
+ for item in get_pdal_config('--includes').split():
+ if item.startswith("-I"):
+@@ -135,7 +135,7 @@ extensions = [DistutilsExtension("*",
+ extra_compile_args=extra_compile_args,
+ libraries=libraries,
+ extra_link_args=extra_link_args,)]
+-if USE_CYTHON:
++if USE_CYTHON and "clean" not in sys.argv:
+ from Cython.Build import cythonize
+ extensions= cythonize(extensions, language="c++")
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9de51ad
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+clean-setup.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-pdal.git
More information about the Pkg-grass-devel
mailing list