[Python-modules-commits] r20054 - in packages/numpy/trunk/debian (changelog rules)
yoh at users.alioth.debian.org
yoh at users.alioth.debian.org
Thu Jan 19 16:43:00 UTC 2012
Date: Thursday, January 19, 2012 @ 16:42:57
Author: yoh
Revision: 20054
debian/rules: nocheck instead of notest to comply with policy + some info messages around that point
Modified:
packages/numpy/trunk/debian/changelog
packages/numpy/trunk/debian/rules
Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog 2012-01-19 13:20:12 UTC (rev 20053)
+++ packages/numpy/trunk/debian/changelog 2012-01-19 16:42:57 UTC (rev 20054)
@@ -1,3 +1,11 @@
+python-numpy (1:1.6.1-4) UNRELEASED; urgency=low
+
+ * debian/rules
+ - Check for nocheck instead of notest (policy 4.9.1)
+ - I: messages on the stages of testing
+
+ -- Yaroslav Halchenko <debian at onerussian.com> Thu, 19 Jan 2012 10:29:13 -0500
+
python-numpy (1:1.6.1-3) experimental; urgency=low
* debian/{control, rules}
Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules 2012-01-19 13:20:12 UTC (rev 20053)
+++ packages/numpy/trunk/debian/rules 2012-01-19 16:42:57 UTC (rev 20054)
@@ -124,9 +124,12 @@
# The reason is that numpy tries hard to not let you run it from the
# source directory, so we need to mess with the import order so to
# select the code in the installation path
-ifeq (,$(findstring notest,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-for v in $(PYVERS) ; do \
+ echo "I: Run tests using python$$v"; \
python$$v -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python$$v/dist-packages/') ; import numpy; numpy.test()" ; \
python$$v-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python$$v/dist-packages/') ; import numpy; numpy.test()" ; \
done
+else
+ @echo "I: Tests were skipped due to nocheck in DEB_BUILD_OPTIONS"
endif
More information about the Python-modules-commits
mailing list