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

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue Jul 22 22:28:38 UTC 2014


    Date: Tuesday, July 22, 2014 @ 22:28:37
  Author: eriol-guest
Revision: 29870

* Switch to pybuild
* debian/control
  - Add dh-python to B-D
* debian/rules
  - Use a custom pybuild system to invoke nose

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

Modified: packages/pyth/trunk/debian/changelog
===================================================================
--- packages/pyth/trunk/debian/changelog	2014-07-22 22:21:55 UTC (rev 29869)
+++ packages/pyth/trunk/debian/changelog	2014-07-22 22:28:37 UTC (rev 29870)
@@ -2,20 +2,23 @@
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
-  * Run tests only if DEB_BUILD_OPTIONS=nocheck is not set.
 
   [ Daniele Tricoli ]
   * New upstream release
+  * Switch to pybuild
   * debian/compat
     - Bump debhelper compatibility level to 9
   * debian/control
     - Bump debhelper B-D to (>= 9)
+    - Add dh-python to B-D
   * debian/patches/01_fix-refactored-PDFWriter-write.patch
     - Remove since applied upstream
   * debian/patches/02_fix-escaping-html-entities-behavior-change.patch
     - Remove since applied upstream
+  * debian/rules
+    - Use a custom pybuild system to invoke nose
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 22 Jul 2014 22:06:58 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Wed, 23 Jul 2014 00:26:58 +0200
 
 pyth (0.5.6-3) unstable; urgency=low
 

Modified: packages/pyth/trunk/debian/control
===================================================================
--- packages/pyth/trunk/debian/control	2014-07-22 22:21:55 UTC (rev 29869)
+++ packages/pyth/trunk/debian/control	2014-07-22 22:28:37 UTC (rev 29870)
@@ -5,6 +5,7 @@
 Uploaders: Daniele Tricoli <eriol at mornie.org>
 Build-Depends:
  debhelper (>= 9),
+ dh-python,
  poppler-utils,
  python-all (>=2.6.6-3),
  python-beautifulsoup,

Modified: packages/pyth/trunk/debian/rules
===================================================================
--- packages/pyth/trunk/debian/rules	2014-07-22 22:21:55 UTC (rev 29869)
+++ packages/pyth/trunk/debian/rules	2014-07-22 22:28:37 UTC (rev 29870)
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=pyth
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2 --buildsystem=pybuild
 
 override_dh_auto_test:
-ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
-	set -e; \
-	for python in $(shell pyversions -r); do \
-		$$python /usr/bin/nosetests; \
-	done
-endif
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -m nose --verbose {dir}/tests" dh_auto_test




More information about the Python-modules-commits mailing list