[Python-modules-commits] r28977 - in packages/sparqlwrapper/trunk/debian (changelog rules)
obergix at users.alioth.debian.org
obergix at users.alioth.debian.org
Mon May 19 15:42:01 UTC 2014
Date: Monday, May 19, 2014 @ 15:41:59
Author: obergix
Revision: 28977
Pass tests with correct version for Python 2 only
Modified:
packages/sparqlwrapper/trunk/debian/changelog
packages/sparqlwrapper/trunk/debian/rules
Modified: packages/sparqlwrapper/trunk/debian/changelog
===================================================================
--- packages/sparqlwrapper/trunk/debian/changelog 2014-05-19 10:48:24 UTC (rev 28976)
+++ packages/sparqlwrapper/trunk/debian/changelog 2014-05-19 15:41:59 UTC (rev 28977)
@@ -1,3 +1,9 @@
+sparql-wrapper-python (1.6.0-2) UNRELEASED; urgency=medium
+
+ * Only pass tests once, and only for Python2 so far.
+
+ -- Olivier Berger <obergix at debian.org> Mon, 19 May 2014 17:41:18 +0200
+
sparql-wrapper-python (1.6.0-1) experimental; urgency=low
* New upstream release
Modified: packages/sparqlwrapper/trunk/debian/rules
===================================================================
--- packages/sparqlwrapper/trunk/debian/rules 2014-05-19 10:48:24 UTC (rev 28976)
+++ packages/sparqlwrapper/trunk/debian/rules 2014-05-19 15:41:59 UTC (rev 28977)
@@ -1,16 +1,20 @@
#! /usr/bin/make -f
-#export DH_VERBOSE=1
-#export DH_OPTIONS=-v
-#export PYBUILD_VERBOSE=1
-#export NOSE_VERBOSE=2
+# export DH_VERBOSE=1
+# export DH_OPTIONS=-v
+# export PYBUILD_VERBOSE=1
+# export NOSE_VERBOSE=2
export PYBUILD_NAME=sparqlwrapper
+# copy the tests to the build dir to be able to pass nose
+export PYBUILD_AFTER_BUILD=cp -r test {build_dir}
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
+ PYBUILD_DISABLE_python3=test \
PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="nosetests" \
+ PYBUILD_TEST_ARGS="cd {build_dir} && nosetests" \
dh_auto_test --buildsystem=pybuild
More information about the Python-modules-commits
mailing list