[Python-modules-commits] [python-intbitset] 02/03: Generate the c file from it's cython source
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Aug 10 23:10:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
maxy pushed a commit to branch debian/master
in repository python-intbitset.
commit 67e1ce3c6d9749eead764abf4b7d4706ba67048a
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Fri Aug 11 01:06:23 2017 +0200
Generate the c file from it's cython source
---
debian/control | 1 +
debian/rules | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/control b/debian/control
index ce1ccf5..f081600 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: python
Priority: optional
Maintainer: Maximiliano Curia <maxy at debian.org>
Build-Depends: debhelper (>= 10),
+ cython,
dh-python,
python-dev,
python-nose,
diff --git a/debian/rules b/debian/rules
index f2313e6..f95df1b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,11 @@ override_dh_auto_build-indep:
python3 setup.py build_sphinx
override_dh_auto_build-arch:
+ # Rebuild intbitset.c
+ mv intbitset/intbitset.c intbitset/intbitset.orig.c
+ cython intbitset/intbitset.pyx
dh_auto_build
+
+override_dh_auto_clean:
+ -mv intbitset/intbitset.orig.c intbitset/intbitset.c
+ dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-intbitset.git
More information about the Python-modules-commits
mailing list