[Python-modules-commits] r31369 - in packages/python-pygraphviz/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Nov 2 20:16:24 UTC 2014


    Date: Sunday, November 2, 2014 @ 20:16:23
  Author: morph
Revision: 31369

* debian/rules
  - run unittests at build time

Modified:
  packages/python-pygraphviz/trunk/debian/changelog
  packages/python-pygraphviz/trunk/debian/rules

Modified: packages/python-pygraphviz/trunk/debian/changelog
===================================================================
--- packages/python-pygraphviz/trunk/debian/changelog	2014-11-02 20:10:28 UTC (rev 31368)
+++ packages/python-pygraphviz/trunk/debian/changelog	2014-11-02 20:16:23 UTC (rev 31369)
@@ -4,8 +4,10 @@
   * debian/patches/{2e27964ce86e8f49c496e5a549237ff6b1763e9a*.patch, 
                     ignore-decoding.patch}
     - removed, merged upstream
+  * debian/rules
+    - run unittests at build time
 
- -- Sandro Tosi <morph at debian.org>  Sun, 02 Nov 2014 19:59:10 +0000
+ -- Sandro Tosi <morph at debian.org>  Sun, 02 Nov 2014 20:16:02 +0000
 
 python-pygraphviz (1.3~rc1-1) unstable; urgency=medium
 

Modified: packages/python-pygraphviz/trunk/debian/rules
===================================================================
--- packages/python-pygraphviz/trunk/debian/rules	2014-11-02 20:10:28 UTC (rev 31368)
+++ packages/python-pygraphviz/trunk/debian/rules	2014-11-02 20:16:23 UTC (rev 31369)
@@ -24,16 +24,16 @@
 	dh_installdocs --link-doc=python-pygraphviz
 
 override_dh_auto_test:
-#ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-#	set -e; \
-#	for python in $(PYTHON2); do \
-#		LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ; \
-#		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
-#		cd build ; $$python -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \
-#		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
-#		LIB=$$($$python-dbg -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ; \
-#		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
-#		cd build ; $$python-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \
-#		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
-#	done
-#endif
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	set -e; \
+	for python in $(PYTHON2); do \
+		LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ; \
+		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
+		cd build ; $$python -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \
+		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
+		LIB=$$($$python-dbg -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ; \
+		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
+		cd build ; $$python-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \
+		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
+	done
+endif




More information about the Python-modules-commits mailing list