[Python-modules-commits] r29989 - in packages/stsci.distutils/trunk/debian (6 files)

aurel32 at users.alioth.debian.org aurel32 at users.alioth.debian.org
Mon Jul 28 21:53:23 UTC 2014


    Date: Monday, July 28, 2014 @ 21:53:22
  Author: aurel32
Revision: 29989

Pass --buildsystem=pybuild to the dh sequencer to reduce debian/rules
even further.

Added:
  packages/stsci.distutils/trunk/debian/python-stsci.distutils.install
  packages/stsci.distutils/trunk/debian/python3-stsci.distutils.install
Modified:
  packages/stsci.distutils/trunk/debian/changelog
  packages/stsci.distutils/trunk/debian/compat
  packages/stsci.distutils/trunk/debian/control
  packages/stsci.distutils/trunk/debian/rules

Modified: packages/stsci.distutils/trunk/debian/changelog
===================================================================
--- packages/stsci.distutils/trunk/debian/changelog	2014-07-28 21:53:04 UTC (rev 29988)
+++ packages/stsci.distutils/trunk/debian/changelog	2014-07-28 21:53:22 UTC (rev 29989)
@@ -1,6 +1,8 @@
 stsci.distutils (0.3.7-1) UNRELEASED; urgency=medium
 
   * New upstream version. 
+  * Pass --buildsystem=pybuild to the dh sequencer to reduce debian/rules
+    even further.
 
  -- Aurelien Jarno <aurel32 at debian.org>  Mon, 28 Jul 2014 22:59:20 +0200
 

Modified: packages/stsci.distutils/trunk/debian/compat
===================================================================
--- packages/stsci.distutils/trunk/debian/compat	2014-07-28 21:53:04 UTC (rev 29988)
+++ packages/stsci.distutils/trunk/debian/compat	2014-07-28 21:53:22 UTC (rev 29989)
@@ -1 +1 @@
-7
+9

Modified: packages/stsci.distutils/trunk/debian/control
===================================================================
--- packages/stsci.distutils/trunk/debian/control	2014-07-28 21:53:04 UTC (rev 29988)
+++ packages/stsci.distutils/trunk/debian/control	2014-07-28 21:53:22 UTC (rev 29989)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Aurelien Jarno <aurel32 at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python-setuptools, python-d2to1 (>= 0.2.9~), python3-all (>= 3.1.2-6~), python3-setuptools, python3-d2to1 (>= 0.2.9~)
+Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python-setuptools, python-d2to1 (>= 0.2.9~), python3-all (>= 3.1.2-6~), python3-setuptools, python3-d2to1 (>= 0.2.9~)
 X-Python-Version: >= 2.5
 X-Python3-Version: >= 3.0
 Standards-Version: 3.9.5

Added: packages/stsci.distutils/trunk/debian/python-stsci.distutils.install
===================================================================
--- packages/stsci.distutils/trunk/debian/python-stsci.distutils.install	                        (rev 0)
+++ packages/stsci.distutils/trunk/debian/python-stsci.distutils.install	2014-07-28 21:53:22 UTC (rev 29989)
@@ -0,0 +1 @@
+usr/lib/python2.*

Added: packages/stsci.distutils/trunk/debian/python3-stsci.distutils.install
===================================================================
--- packages/stsci.distutils/trunk/debian/python3-stsci.distutils.install	                        (rev 0)
+++ packages/stsci.distutils/trunk/debian/python3-stsci.distutils.install	2014-07-28 21:53:22 UTC (rev 29989)
@@ -0,0 +1 @@
+usr/lib/python3.*

Modified: packages/stsci.distutils/trunk/debian/rules
===================================================================
--- packages/stsci.distutils/trunk/debian/rules	2014-07-28 21:53:04 UTC (rev 29988)
+++ packages/stsci.distutils/trunk/debian/rules	2014-07-28 21:53:22 UTC (rev 29989)
@@ -1,33 +1,13 @@
 #!/usr/bin/make -f
 
-PYVERS :=  $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
-
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2,python3 --buildsystem=pybuild --parallel
 
-override_dh_auto_build:
-	set -ex; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py setup.py build; \
-	done
-
-override_dh_auto_install:
-	set -ex; \
-	for py in $(PYVERS); do \
-		$$py setup.py install --skip-build --no-compile \
-		                      --root debian/python-stsci.distutils \
-		                      --install-layout=deb; \
-	done
-	set -ex; \
-	for py in $(PY3VERS); do \
-		$$py setup.py install --skip-build --no-compile \
-		                      --root debian/python3-stsci.distutils \
-		                      --install-layout=deb; \
-	done
-
 override_dh_auto_clean:
-	rm -rf build 
-	rm -rf stsci.distutils.egg-info
+	dh_auto_clean
 	rm -f stsci/distutils/version.py
-	find . \( -name '*.pyc' -o -name __pycache__ \) -delete
+	rm -rf stsci.distutils.egg-info
+
+override_dh_auto_test:
+	# Disable tests
+




More information about the Python-modules-commits mailing list