tags -1 + patch
forwarded -1 https://github.com/matplotlib/basemap/issues/436
user debian-rele...@lists.debian.org
usertags -1 + bsp-2018-10-de-karlsruhe
thanks

Attached a patch which cythonizes the files during the package build and
fixes the README issue.
I have also filed an upstream bug.
diff --git a/debian/control b/debian/control
index 06cb00d..c8982f1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Sandro Tosi <mo...@debian.org>
 Uploaders:
  Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>,
 Build-Depends:
+ cython3,
  debhelper (>= 8.0.0),
  dh-python,
  libgeos-dev,
diff --git a/debian/docs b/debian/docs
index 45b0503..e502992 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1,2 @@
 FAQ
-README
+README.md
diff --git a/debian/rules b/debian/rules
index 392e96f..118d944 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,13 @@ LIB := $$(python -c "from distutils.command.build import build ; from distutils.
 override_dh_auto_install:
 	set -e ; \
 	for python in $(PY2VERS); do \
+		cython3 -2 src/*pyx; \
 		$$python setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap/usr --install-layout=deb; \
 		$$python-dbg setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
 	done
 	set -e ; \
 	for python in $(PY3VERS); do \
+		cython3 -3 src/*pyx; \
 		$$python setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap/usr --install-layout=deb; \
 		$$python-dbg setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
 	done

Reply via email to