[Python-modules-commits] r28055 - in packages/fedmsg/trunk/debian (changelog control rules)

olasd at users.alioth.debian.org olasd at users.alioth.debian.org
Sat Mar 8 15:18:31 UTC 2014


    Date: Saturday, March 8, 2014 @ 15:18:30
  Author: olasd
Revision: 28055

Switch buildsystem to pybuild

Modified:
  packages/fedmsg/trunk/debian/changelog
  packages/fedmsg/trunk/debian/control
  packages/fedmsg/trunk/debian/rules

Modified: packages/fedmsg/trunk/debian/changelog
===================================================================
--- packages/fedmsg/trunk/debian/changelog	2014-03-08 14:54:39 UTC (rev 28054)
+++ packages/fedmsg/trunk/debian/changelog	2014-03-08 15:18:30 UTC (rev 28055)
@@ -3,6 +3,7 @@
   * New upstream release (Closes: #738058)
   * Update docs patch to use fedmsg_meta_debian
   * Remove doc theming patch (cloud_sptheme is packaged) 
+  * Switch buildsystem to pybuild
 
  -- Nicolas Dandrimont <olasd at debian.org>  Sat, 08 Mar 2014 14:39:42 +0100
 

Modified: packages/fedmsg/trunk/debian/control
===================================================================
--- packages/fedmsg/trunk/debian/control	2014-03-08 14:54:39 UTC (rev 28054)
+++ packages/fedmsg/trunk/debian/control	2014-03-08 15:18:30 UTC (rev 28055)
@@ -5,6 +5,7 @@
 Uploaders: Simon Chopin <chopin.simon at gmail.com>,
            Nicolas Dandrimont <olasd at debian.org>
 Build-Depends: debhelper (>= 9),
+               dh-python,
                help2man,
                python-all (>= 2.6.6-3~),
                python-cloud-sptheme,

Modified: packages/fedmsg/trunk/debian/rules
===================================================================
--- packages/fedmsg/trunk/debian/rules	2014-03-08 14:54:39 UTC (rev 28054)
+++ packages/fedmsg/trunk/debian/rules	2014-03-08 15:18:30 UTC (rev 28055)
@@ -3,7 +3,7 @@
 UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | cut -d '-' -f 1)
 
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
@@ -39,11 +39,8 @@
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e; \
-	cp -r fedmsg.d fedmsg/tests/; \
-	for py in $(shell pyversions -r); do \
-	 	$$py setup.py test ; \
-	done
+	cp -r fedmsg.d fedmsg/tests/
+	dh_auto_test
 endif
 
 get-orig-source:




More information about the Python-modules-commits mailing list