[Python-modules-commits] r28851 - in packages/moksha.common/trunk/debian (3 files)
olasd at users.alioth.debian.org
olasd at users.alioth.debian.org
Sun May 11 13:52:14 UTC 2014
Date: Sunday, May 11, 2014 @ 13:52:14
Author: olasd
Revision: 28851
Switch buildsystem to pybuild
Modified:
packages/moksha.common/trunk/debian/changelog
packages/moksha.common/trunk/debian/control
packages/moksha.common/trunk/debian/rules
Modified: packages/moksha.common/trunk/debian/changelog
===================================================================
--- packages/moksha.common/trunk/debian/changelog 2014-05-11 13:40:50 UTC (rev 28850)
+++ packages/moksha.common/trunk/debian/changelog 2014-05-11 13:52:14 UTC (rev 28851)
@@ -2,6 +2,7 @@
* New upstream release
* Add dependency on python-six
+ * Switch buildsystem to pybuild
-- Nicolas Dandrimont <olasd at debian.org> Thu, 08 May 2014 10:22:03 +0200
Modified: packages/moksha.common/trunk/debian/control
===================================================================
--- packages/moksha.common/trunk/debian/control 2014-05-11 13:40:50 UTC (rev 28850)
+++ packages/moksha.common/trunk/debian/control 2014-05-11 13:52:14 UTC (rev 28851)
@@ -5,6 +5,7 @@
Uploaders: Simon Chopin <chopin.simon at gmail.com>, Nicolas Dandrimont <olasd at debian.org>
Build-Depends:
debhelper (>= 9),
+ dh-python,
help2man,
python-all (>= 2.6.6-3~),
python-decorator,
Modified: packages/moksha.common/trunk/debian/rules
===================================================================
--- packages/moksha.common/trunk/debian/rules 2014-05-11 13:40:50 UTC (rev 28850)
+++ packages/moksha.common/trunk/debian/rules 2014-05-11 13:52:14 UTC (rev 28851)
@@ -1,21 +1,7 @@
#!/usr/bin/make -f
-UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | cut -d '-' -f 1)
-
-PY2VERS = $(shell pyversions -vr)
-
-export http_proxy = http://127.0.9.1:9
-export https_proxy = http://127.0.9.1:9
-
%:
- dh $@ --with python2
+ dh $@ --with python2 --buildsystem=pybuild
override_dh_install:
dh_install -Xusr/bin/moksha
rm debian/python-moksha.common/usr/lib/python*/dist-packages/moksha.common-*.egg-info/SOURCES.txt
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-override_dh_auto_test:
- set -e; for py in $(PY2VERS); do \
- python$$py setup.py test; \
- done
-endif
More information about the Python-modules-commits
mailing list