[Python-modules-commits] r21238 - in packages/py3cairo/trunk/debian (changelog patches rules)

vbkaisetsu-guest at users.alioth.debian.org vbkaisetsu-guest at users.alioth.debian.org
Sun Apr 15 23:43:50 UTC 2012


    Date: Sunday, April 15, 2012 @ 23:43:48
  Author: vbkaisetsu-guest
Revision: 21238

change rules to return errors when pytest failed

Added:
  packages/py3cairo/trunk/debian/patches/
Modified:
  packages/py3cairo/trunk/debian/changelog
  packages/py3cairo/trunk/debian/rules

Modified: packages/py3cairo/trunk/debian/changelog
===================================================================
--- packages/py3cairo/trunk/debian/changelog	2012-04-15 19:56:36 UTC (rev 21237)
+++ packages/py3cairo/trunk/debian/changelog	2012-04-15 23:43:48 UTC (rev 21238)
@@ -1,13 +1,13 @@
 py3cairo (1.10.0+dfsg-2) unstable; urgency=low
 
   * debian/rules
-   - use py.test-3 to run test suite.
+   - use pytest to run the test suite
   * debian/patches/10_test-target-py3.patch
    - add to change py.test script to use all versions of Python 3
   * debian/control
    - add build-depends: python3-pytest
 
- -- Koichi Akabe <vbkaisetsu at gmail.com>  Thu, 12 Apr 2012 19:00:59 +0900
+ -- Koichi Akabe <vbkaisetsu at gmail.com>  Mon, 16 Apr 2012 08:21:25 +0900
 
 py3cairo (1.10.0+dfsg-1) unstable; urgency=low
 

Modified: packages/py3cairo/trunk/debian/rules
===================================================================
--- packages/py3cairo/trunk/debian/rules	2012-04-15 19:56:36 UTC (rev 21237)
+++ packages/py3cairo/trunk/debian/rules	2012-04-15 23:43:48 UTC (rev 21238)
@@ -39,9 +39,9 @@
 	dh_compress -X.js -X.inv
 
 override_dh_sphinxdoc:
-	(test -d $(CURDIR)/debian/python3-cairo-doc && dh_sphinxdoc) || /bin/true
+	(! test -d $(CURDIR)/debian/python3-cairo-doc || dh_sphinxdoc)
 
 override_dh_auto_test:
 	mkdir $(CURDIR)/test/cairo
 	ln -s $(CURDIR)/src/__init__.py $(CURDIR)/test/cairo/__init__.py
-	for pyversion in $(shell py3versions -vr); do ln -sf $(CURDIR)/build$$pyversion/src/*.so $(CURDIR)/test/cairo; cd $(CURDIR)/test && py.test-3; done
+	for pyversion in $(shell py3versions -vr); do ln -sf $(CURDIR)/build$$pyversion/src/*.so $(CURDIR)/test/cairo; cd $(CURDIR)/test && python$$pyversion -m pytest; done




More information about the Python-modules-commits mailing list