[Python-modules-commits] r28959 - in packages/sparqlwrapper/trunk/debian (docs rules watch)

obergix at users.alioth.debian.org obergix at users.alioth.debian.org
Sat May 17 21:18:17 UTC 2014


    Date: Saturday, May 17, 2014 @ 21:18:16
  Author: obergix
Revision: 28959

Base tarball on github tag instead of pypi and pass tests at build time

Added:
  packages/sparqlwrapper/trunk/debian/docs
Modified:
  packages/sparqlwrapper/trunk/debian/rules
  packages/sparqlwrapper/trunk/debian/watch

Added: packages/sparqlwrapper/trunk/debian/docs
===================================================================
--- packages/sparqlwrapper/trunk/debian/docs	                        (rev 0)
+++ packages/sparqlwrapper/trunk/debian/docs	2014-05-17 21:18:16 UTC (rev 28959)
@@ -0,0 +1 @@
+README.md

Modified: packages/sparqlwrapper/trunk/debian/rules
===================================================================
--- packages/sparqlwrapper/trunk/debian/rules	2014-05-17 17:03:55 UTC (rev 28958)
+++ packages/sparqlwrapper/trunk/debian/rules	2014-05-17 21:18:16 UTC (rev 28959)
@@ -1,6 +1,6 @@
 #! /usr/bin/make -f
 
-export DH_VERBOSE=1
+#export DH_VERBOSE=1
 #export DH_OPTIONS=-v
 #export PYBUILD_VERBOSE=1
 #export NOSE_VERBOSE=2
@@ -10,3 +10,7 @@
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="nosetests" \
+	dh_auto_test --buildsystem=pybuild

Modified: packages/sparqlwrapper/trunk/debian/watch
===================================================================
--- packages/sparqlwrapper/trunk/debian/watch	2014-05-17 17:03:55 UTC (rev 28958)
+++ packages/sparqlwrapper/trunk/debian/watch	2014-05-17 21:18:16 UTC (rev 28959)
@@ -1,3 +1,3 @@
 version=3
-opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \
-https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-(.*)\.(?:tar\.gz|zip|tar\.bz2)
+opts=filenamemangle=s/.+\/v?\.?(\d\S*)\.tar\.gz/sparqlwrapper-$1\.tar\.gz/ \
+  https://github.com/RDFLib/sparqlwrapper/tags .*/v?\.?(\d\S*)\.tar\.gz




More information about the Python-modules-commits mailing list