[Python-modules-commits] r19407 - in packages/circuits/trunk/debian (control rules)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Tue Nov 22 02:59:13 UTC 2011
Date: Tuesday, November 22, 2011 @ 02:59:12
Author: eriol-guest
Revision: 19407
Disabled tests because they need pytest >= 2.0.0 which is not in Debian yet
Modified:
packages/circuits/trunk/debian/control
packages/circuits/trunk/debian/rules
Modified: packages/circuits/trunk/debian/control
===================================================================
--- packages/circuits/trunk/debian/control 2011-11-22 01:06:58 UTC (rev 19406)
+++ packages/circuits/trunk/debian/control 2011-11-22 02:59:12 UTC (rev 19407)
@@ -7,10 +7,10 @@
debhelper (>= 7.0.50~),
python-all (>= 2.6.6-3~),
python3-all (>= 3.1.2-7~),
+ python-py,
python-setuptools
Build-Depends-Indep:
ghostscript,
- python-nose,
python-pyinotify,
python-pygame,
python-epydoc
Modified: packages/circuits/trunk/debian/rules
===================================================================
--- packages/circuits/trunk/debian/rules 2011-11-22 01:06:58 UTC (rev 19406)
+++ packages/circuits/trunk/debian/rules 2011-11-22 02:59:12 UTC (rev 19407)
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
-PY3VERS := $(shell py3versions -vr)
+PY2VERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
%:
dh $(@) --with python2,python3 -Spython_distutils
@@ -9,15 +10,29 @@
dh_auto_build
set -e -x; \
- for py in $(PY3VERS); do \
- python$$py setup.py build; \
+ for python3 in $(PY3VERS); do \
+ $$python3 setup.py build; \
done
override_dh_auto_install:
dh_auto_install
set -e -x; \
- for py in $(PY3VERS); do \
- python$$py setup.py install --skip-build --root debian/python3-circuits \
- --install-layout deb; \
+ for python3 in $(PY3VERS); do \
+ $$python3 setup.py install --skip-build --root debian/python3-circuits \
+ --install-layout deb; \
done
+
+# Disabled tests because they need pytest >= 2.0.0 which is not in Debian yet.
+# override_dh_auto_test:
+# ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+# set -e; \
+# for python in $(PY2VERS); do \
+# $$python setup.py test; \
+# done
+#
+# set -e; \
+# for python3 in $(PY3VERS); do \
+# $$python3 setup.py test; \
+# done
+# endif
More information about the Python-modules-commits
mailing list