[fiona] 01/03: Fix clean-setup.patch, ensure ext_modules is defined.
Bas Couwenberg
sebastic at debian.org
Wed Jun 15 13:10:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository fiona.
commit 35e4c4f172809b6c3b61080f42ad50ded7d06aeb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jun 15 14:05:19 2016 +0200
Fix clean-setup.patch, ensure ext_modules is defined.
---
debian/patches/clean-setup.patch | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/patches/clean-setup.patch b/debian/patches/clean-setup.patch
index 2d34e07..48e98bd 100644
--- a/debian/patches/clean-setup.patch
+++ b/debian/patches/clean-setup.patch
@@ -3,7 +3,15 @@ Author: Bas Couwenberg <sebastic at debian.org>
--- a/setup.py
+++ b/setup.py
-@@ -194,7 +194,7 @@ if source_is_repo and "clean" not in sys
+@@ -177,6 +177,7 @@ ext_options = dict(
+ extra_link_args=extra_link_args)
+
+ # When building from a repo, Cython is required.
++ext_modules = []
+ if source_is_repo and "clean" not in sys.argv:
+ log.info("MANIFEST.in found, presume a repo, cythonizing...")
+ if not cythonize:
+@@ -194,7 +195,7 @@ if source_is_repo and "clean" not in sys
Extension('fiona._err', ['fiona/_err.pyx'], **ext_options),
Extension('fiona.ogrext', ['fiona/ogrext.pyx'], **ext_options)])
# If there's no manifest template, as in an sdist, we just specify .c files.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git
More information about the Pkg-grass-devel
mailing list