[Python-modules-commits] r33499 - in packages/pyasn1/trunk/debian (changelog rules)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Tue Jul 28 06:21:01 UTC 2015


    Date: Tuesday, July 28, 2015 @ 06:21:00
  Author: bernat
Revision: 33499

Run unittests with Python 3 too.

Modified:
  packages/pyasn1/trunk/debian/changelog
  packages/pyasn1/trunk/debian/rules

Modified: packages/pyasn1/trunk/debian/changelog
===================================================================
--- packages/pyasn1/trunk/debian/changelog	2015-07-28 06:03:55 UTC (rev 33498)
+++ packages/pyasn1/trunk/debian/changelog	2015-07-28 06:21:00 UTC (rev 33499)
@@ -2,6 +2,7 @@
 
   * New upstream release
   * Bump Standards-Version to 3.9.6.
+  * Run unittests with Python 3 too.
 
  -- Vincent Bernat <bernat at debian.org>  Tue, 28 Jul 2015 08:02:59 +0200
 

Modified: packages/pyasn1/trunk/debian/rules
===================================================================
--- packages/pyasn1/trunk/debian/rules	2015-07-28 06:03:55 UTC (rev 33498)
+++ packages/pyasn1/trunk/debian/rules	2015-07-28 06:21:00 UTC (rev 33499)
@@ -13,9 +13,9 @@
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 install/python-pyasn1 install/python3-pyasn1::
-	set -e; cd test; for buildver in $(cdbs_python_build_versions); do \
+	set -e; cd test; for buildver in $(cdbs_curpythonbuildversions); do \
         echo "I: Running pyasn1 unittests using python$$buildver"; \
-        pd=$$(/bin/ls -d $(CURDIR)/build/lib.*-$$buildver) && \
+        pd=$$(/bin/ls -d $(CURDIR)/build/$(if $(filter $(cdbs_curpythonstem),3),lib,lib.*-$$buildver)) && \
         PYTHONPATH=$$pd $(call cdbs_python_binary,python$$buildver) suite.py; \
     done
 endif




More information about the Python-modules-commits mailing list