[Python-modules-commits] r28189 - in packages/python-dugong/trunk/debian (6 files)

nikratio-guest at users.alioth.debian.org nikratio-guest at users.alioth.debian.org
Sat Mar 15 01:57:04 UTC 2014


    Date: Saturday, March 15, 2014 @ 01:57:03
  Author: nikratio-guest
Revision: 28189

* Add watch file and upstream pgp key.
* Run tests with py.test
* Build documentation with Python 3.4

Added:
  packages/python-dugong/trunk/debian/upstream-signing-key.pgp
Modified:
  packages/python-dugong/trunk/debian/changelog
  packages/python-dugong/trunk/debian/control
  packages/python-dugong/trunk/debian/rules
  packages/python-dugong/trunk/debian/source/include-binaries
  packages/python-dugong/trunk/debian/watch

Modified: packages/python-dugong/trunk/debian/changelog
===================================================================
--- packages/python-dugong/trunk/debian/changelog	2014-03-14 13:41:28 UTC (rev 28188)
+++ packages/python-dugong/trunk/debian/changelog	2014-03-15 01:57:03 UTC (rev 28189)
@@ -1,4 +1,4 @@
-python-dugong (2.1-1) unstable; urgency=medium
+python-dugong (2.2-1) unstable; urgency=medium
 
   * First official debian release. Closes: 741387
 

Modified: packages/python-dugong/trunk/debian/control
===================================================================
--- packages/python-dugong/trunk/debian/control	2014-03-14 13:41:28 UTC (rev 28188)
+++ packages/python-dugong/trunk/debian/control	2014-03-15 01:57:03 UTC (rev 28189)
@@ -7,6 +7,7 @@
 Build-Depends: debhelper (>= 9),
                python3-all,
                python3-sphinx (>= 1.0.7+dfsg),
+               python3-pytest,
                dh-python,
                python3-setuptools
 Standards-Version: 3.9.5

Modified: packages/python-dugong/trunk/debian/rules
===================================================================
--- packages/python-dugong/trunk/debian/rules	2014-03-14 13:41:28 UTC (rev 28188)
+++ packages/python-dugong/trunk/debian/rules	2014-03-15 01:57:03 UTC (rev 28189)
@@ -3,21 +3,32 @@
 
 #export DH_VERBOSE=1
 export PYBUILD_NAME=dugong
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS="{dir}/test/"
 
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
-	python3 setup.py build_sphinx
 
+	# We need at least Python 3.4 to build the documentation. 
+	# While dugong supports Python 3.3 as well, there are some
+	# optional components that require the asyncio module. To
+	# include these components in the documentation, we need to
+	# build the docs with Python 3.4. If Python 3.4 is not available,
+	# fall back to the default Python (which is hopefully 3.5 or
+	# newer :-).
+	if which python 3.4 > /dev/null; then \
+	    python3.4 setup.py build_sphinx; \
+	else \
+	    python3 setup.py build_sphinx; \
+	fi
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf doc/html doc/doctrees
 
-## enable network, tests.test_in_wsgiref.test_request_reading needs it 
-#	http_proxy='' dh_auto_test
-
 update_intersphinx:
 	wget http://docs.python.org/3.4/objects.inv -O debian/python.inv
 

Modified: packages/python-dugong/trunk/debian/source/include-binaries
===================================================================
--- packages/python-dugong/trunk/debian/source/include-binaries	2014-03-14 13:41:28 UTC (rev 28188)
+++ packages/python-dugong/trunk/debian/source/include-binaries	2014-03-15 01:57:03 UTC (rev 28189)
@@ -1 +1,2 @@
 debian/python.inv
+debian/upstream-signing-key.pgp

Added: packages/python-dugong/trunk/debian/upstream-signing-key.pgp
===================================================================
(Binary files differ)


Property changes on: packages/python-dugong/trunk/debian/upstream-signing-key.pgp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: packages/python-dugong/trunk/debian/watch
===================================================================
--- packages/python-dugong/trunk/debian/watch	2014-03-14 13:41:28 UTC (rev 28188)
+++ packages/python-dugong/trunk/debian/watch	2014-03-15 01:57:03 UTC (rev 28189)
@@ -1,6 +1,7 @@
 # watch control file for uscan
 version=3
-opts=downloadurlmangle=s/^http:\/\/code.google.com\/\//http:\/\// \
-  http://code.google.com/p/python-llfuse/downloads/list \
-  (?:.+)/files/llfuse-(.+).tar.bz2 \
+opts=pgpsigurlmangle=s/$/.asc/ \
+  https://pypi.python.org/pypi/dugong/ \
+  .*/dugong-(\d\S*)\.tar\.bz2 \
   debian
+




More information about the Python-modules-commits mailing list