[Python-modules-commits] r33909 - in packages/python-xlrd/trunk/debian (5 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Thu Aug 20 09:00:38 UTC 2015


    Date: Thursday, August 20, 2015 @ 09:00:36
  Author: bernat
Revision: 33909

Switch to pybuild. Make the build reproducible.

Modified:
  packages/python-xlrd/trunk/debian/changelog
  packages/python-xlrd/trunk/debian/control
  packages/python-xlrd/trunk/debian/rules
Deleted:
  packages/python-xlrd/trunk/debian/python-xlrd.install
  packages/python-xlrd/trunk/debian/python3-xlrd.install

Modified: packages/python-xlrd/trunk/debian/changelog
===================================================================
--- packages/python-xlrd/trunk/debian/changelog	2015-08-20 08:50:47 UTC (rev 33908)
+++ packages/python-xlrd/trunk/debian/changelog	2015-08-20 09:00:36 UTC (rev 33909)
@@ -1,11 +1,12 @@
-python-xlrd (0.9.4-1) UNRELEASED; urgency=medium
+python-xlrd (0.9.4-1) unstable; urgency=medium
 
   * New upstream release.
-  * Bump Standards-Version to 3.9.5.
+  * Bump Standards-Version to 3.9.6.
   * Remove unit tests (as requested by upstream).
   * Update debian/watch to use debian.net redirector.
+  * Switch to pybuild. This makes the build reproducible.
 
- -- Vincent Bernat <bernat at debian.org>  Sun, 25 May 2014 14:56:55 +0200
+ -- Vincent Bernat <bernat at debian.org>  Thu, 20 Aug 2015 10:58:41 +0200
 
 python-xlrd (0.9.2-1) unstable; urgency=low
 

Modified: packages/python-xlrd/trunk/debian/control
===================================================================
--- packages/python-xlrd/trunk/debian/control	2015-08-20 08:50:47 UTC (rev 33908)
+++ packages/python-xlrd/trunk/debian/control	2015-08-20 09:00:36 UTC (rev 33909)
@@ -3,10 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Vincent Bernat <bernat at debian.org>
-Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 7.0.50~)
-Build-Depends-Indep: python-all (>= 2.6.6-3~),
-                     python3-all
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9),
+               python-all (>= 2.6.6-3~), python3-all
 Homepage: http://www.python-excel.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-xlrd/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-xlrd/trunk/

Deleted: packages/python-xlrd/trunk/debian/python-xlrd.install
===================================================================
--- packages/python-xlrd/trunk/debian/python-xlrd.install	2015-08-20 08:50:47 UTC (rev 33908)
+++ packages/python-xlrd/trunk/debian/python-xlrd.install	2015-08-20 09:00:36 UTC (rev 33909)
@@ -1,2 +0,0 @@
-usr/lib/python2*
-usr/bin/runxlrd.py

Deleted: packages/python-xlrd/trunk/debian/python3-xlrd.install
===================================================================
--- packages/python-xlrd/trunk/debian/python3-xlrd.install	2015-08-20 08:50:47 UTC (rev 33908)
+++ packages/python-xlrd/trunk/debian/python3-xlrd.install	2015-08-20 09:00:36 UTC (rev 33909)
@@ -1 +0,0 @@
-usr/lib/python3*

Modified: packages/python-xlrd/trunk/debian/rules
===================================================================
--- packages/python-xlrd/trunk/debian/rules	2015-08-20 08:50:47 UTC (rev 33908)
+++ packages/python-xlrd/trunk/debian/rules	2015-08-20 09:00:36 UTC (rev 33909)
@@ -1,33 +1,13 @@
 #!/usr/bin/make -f
 
-PY2VERSIONS = $(shell pyversions -vr)
-PY3VERSIONS = $(shell py3versions -vr)
+export PYBUILD_NAME = xlrd
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2,python3 --buildsystem pybuild
 
-override_dh_auto_build:
-	dh_auto_build
-	set -e; for version in $(PY3VERSIONS); do \
-		python$$version setup.py build; \
-	done
-
 override_dh_auto_install:
 	dh_auto_install
-	set -e; for version in $(PY3VERSIONS); do \
-		python$$version setup.py install --no-compile -O0 --install-layout=deb \
-					--root $(CURDIR)/debian/tmp; \
-	done
-
-override_dh_auto_clean:
-	dh_auto_clean
-	set -e; for version in $(PY3VERSIONS); do \
-		python$$version setup.py clean; \
-	done
-	rm -rf xlrd/__pycache__/
-
-override_dh_install:
-	dh_install --fail-missing
 	mv debian/python-xlrd/usr/bin/runxlrd.py debian/python-xlrd/usr/bin/runxlrd
+	rm debian/python3-xlrd/usr/bin/runxlrd.py
 
 override_dh_auto_test:




More information about the Python-modules-commits mailing list