[Python-modules-commits] r29156 - in packages/python-decorator/trunk/debian (4 files)

wrar-guest at users.alioth.debian.org wrar-guest at users.alioth.debian.org
Sat May 31 17:02:53 UTC 2014


    Date: Saturday, May 31, 2014 @ 17:02:52
  Author: wrar-guest
Revision: 29156

Switch to compat 9 and pybuild.

Modified:
  packages/python-decorator/trunk/debian/changelog
  packages/python-decorator/trunk/debian/compat
  packages/python-decorator/trunk/debian/control
  packages/python-decorator/trunk/debian/rules

Modified: packages/python-decorator/trunk/debian/changelog
===================================================================
--- packages/python-decorator/trunk/debian/changelog	2014-05-30 19:27:03 UTC (rev 29155)
+++ packages/python-decorator/trunk/debian/changelog	2014-05-31 17:02:52 UTC (rev 29156)
@@ -1,3 +1,11 @@
+python-decorator (3.4.0-3) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Switch to pybuild
+  * Switch to debhelper compat level 9
+
+ -- Andrey Rahmatullin <wrar at wrar.name>  Sat, 31 May 2014 22:55:36 +0600
+
 python-decorator (3.4.0-2) unstable; urgency=low
 
   [ Jakub Wilk ]

Modified: packages/python-decorator/trunk/debian/compat
===================================================================
--- packages/python-decorator/trunk/debian/compat	2014-05-30 19:27:03 UTC (rev 29155)
+++ packages/python-decorator/trunk/debian/compat	2014-05-31 17:02:52 UTC (rev 29156)
@@ -1 +1 @@
-7
+9

Modified: packages/python-decorator/trunk/debian/control
===================================================================
--- packages/python-decorator/trunk/debian/control	2014-05-30 19:27:03 UTC (rev 29155)
+++ packages/python-decorator/trunk/debian/control	2014-05-31 17:02:52 UTC (rev 29156)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Oleksandr Moskalenko <malex at debian.org>, Piotr Ożarowski <piotr at debian.org>
-Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3), python3-all,
+Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.6.6-3), python3-all,
  python-setuptools (>= 0.6b3~), python3-setuptools
 Standards-Version: 3.9.3
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-decorator/trunk/

Modified: packages/python-decorator/trunk/debian/rules
===================================================================
--- packages/python-decorator/trunk/debian/rules	2014-05-30 19:27:03 UTC (rev 29155)
+++ packages/python-decorator/trunk/debian/rules	2014-05-31 17:02:52 UTC (rev 29156)
@@ -1,49 +1,9 @@
 #!/usr/bin/make -f
 
-clean:
-	rm -f build-*
-	dh_testdir
-	dh_testroot
-	python setup.py clean
-	rm -rf build src/decorator.egg-info
-	find . -name *\.py[co] -exec rm -f {} \;
-	dh_clean build-indep
+export PYBUILD_NAME=decorator
 
-build: build-indep
-build-arch:
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-build-indep: 
-	dh_testdir
-	python setup.py build
-	touch $@
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-	python setup.py install \
-		--single-version-externally-managed \
-		--root $(CURDIR)/debian/python-decorator
-	python3 setup.py install \
-		--single-version-externally-managed \
-		--root $(CURDIR)/debian/python3-decorator
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_python2
-	dh_python3
+override_dh_compress:
 	dh_compress -X.py
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch:
-
-binary: binary-indep
-.PHONY: build build-arch clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list