[Python-modules-commits] r28045 - in packages/python-keyring/trunk/debian (3 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Mar 7 06:44:35 UTC 2014


    Date: Friday, March 7, 2014 @ 06:44:34
  Author: mitya57-guest
Revision: 28045

* Team upload.
* New upstream release.
* Switch to pybuild buildsystem.

Modified:
  packages/python-keyring/trunk/debian/changelog
  packages/python-keyring/trunk/debian/control
  packages/python-keyring/trunk/debian/rules

Modified: packages/python-keyring/trunk/debian/changelog
===================================================================
--- packages/python-keyring/trunk/debian/changelog	2014-03-06 22:13:54 UTC (rev 28044)
+++ packages/python-keyring/trunk/debian/changelog	2014-03-07 06:44:34 UTC (rev 28045)
@@ -1,3 +1,11 @@
+python-keyring (3.6-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+  * Switch to pybuild buildsystem.
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 07 Mar 2014 10:09:50 +0400
+
 python-keyring (3.5-1) unstable; urgency=medium
 
   * Team upload.

Modified: packages/python-keyring/trunk/debian/control
===================================================================
--- packages/python-keyring/trunk/debian/control	2014-03-06 22:13:54 UTC (rev 28044)
+++ packages/python-keyring/trunk/debian/control	2014-03-07 06:44:34 UTC (rev 28045)
@@ -6,6 +6,7 @@
 Maintainer: Carl Chenet <chaica at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9),
+               dh-python,
                python-all (>= 2.6.6-13),
                python-crypto,
                python-mock,

Modified: packages/python-keyring/trunk/debian/rules
===================================================================
--- packages/python-keyring/trunk/debian/rules	2014-03-06 22:13:54 UTC (rev 28044)
+++ packages/python-keyring/trunk/debian/rules	2014-03-07 06:44:34 UTC (rev 28045)
@@ -2,39 +2,14 @@
 
 #DH_VERBOSE=1
 
-PYTHON2=$(shell pyversions -r)
-PYTHON3=$(shell py3versions -r)
-
-# Send HTTP traffic to “discard” service
-export http_proxy = http://127.0.1.1:9/
-export https_proxy = ${http_proxy}
-
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2,python3 --buildsystem pybuild
 
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-override_dh_auto_test:
-	set -ex; for py in python2.7 $(PYTHON3); do \
-		$$py -m unittest discover -v; \
-	done;
-endif
-
 override_dh_auto_clean:
+	dh_auto_clean
 	rm -rf build keyring.egg-info
 	find -type f -name *.pyc -delete
 
-override_dh_auto_build:
-	dh_auto_build
-	set -ex; for py in $(PYTHON3) ; do \
-		$$py setup.py build; \
-	done;
-
-override_dh_auto_install:
-	dh_auto_install
-	set -ex; for py in $(PYTHON3) ; do \
-		$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
-	done;
-
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGES.rst
 




More information about the Python-modules-commits mailing list