[Python-modules-commits] r21743 - in packages/authres/trunk/debian (4 files)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Mon May 14 03:57:13 UTC 2012


    Date: Monday, May 14, 2012 @ 03:57:08
  Author: kitterman
Revision: 21743

Install authres/tests so doctests work with installed pacakges

Added:
  packages/authres/trunk/debian/python-authres.install
  packages/authres/trunk/debian/python3-authres.install
Modified:
  packages/authres/trunk/debian/changelog
  packages/authres/trunk/debian/rules

Modified: packages/authres/trunk/debian/changelog
===================================================================
--- packages/authres/trunk/debian/changelog	2012-05-14 03:17:08 UTC (rev 21742)
+++ packages/authres/trunk/debian/changelog	2012-05-14 03:57:08 UTC (rev 21743)
@@ -1,3 +1,9 @@
+authres (0.401-2) unstable; urgency=low
+
+  * Install authres/tests so doctests work with installed pacakges
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 13 May 2012 14:10:46 -0400
+
 authres (0.401-1) unstable; urgency=low
 
   * New upstream release

Added: packages/authres/trunk/debian/python-authres.install
===================================================================
--- packages/authres/trunk/debian/python-authres.install	                        (rev 0)
+++ packages/authres/trunk/debian/python-authres.install	2012-05-14 03:57:08 UTC (rev 21743)
@@ -0,0 +1 @@
+authres/tests usr/share/pyshared/authres

Added: packages/authres/trunk/debian/python3-authres.install
===================================================================
--- packages/authres/trunk/debian/python3-authres.install	                        (rev 0)
+++ packages/authres/trunk/debian/python3-authres.install	2012-05-14 03:57:08 UTC (rev 21743)
@@ -0,0 +1 @@
+authres/tests /usr/lib/python3/dist-packages/authres

Modified: packages/authres/trunk/debian/rules
===================================================================
--- packages/authres/trunk/debian/rules	2012-05-14 03:17:08 UTC (rev 21742)
+++ packages/authres/trunk/debian/rules	2012-05-14 03:57:08 UTC (rev 21743)
@@ -5,15 +5,17 @@
 	dh $@ --with python2,python3
 
 override_dh_auto_install:
+	dh_install
 	set -e && for pyvers in $(shell pyversions -vr); do \
 		python$$pyvers setup.py install --install-layout=deb \
 			--root $(CURDIR)/debian/python-authres; \
+		ln $(CURDIR)/debian/python-authres/usr/share/pyshared/authres/tests \
+			$(CURDIR)/debian/python-authres/usr/lib/python$$pyvers/dist-packages/authres/tests; \
 	done
 	set -e && for pyvers in $(shell py3versions -vr); do \
 		python$$pyvers setup.py install --install-layout=deb \
 			--root $(CURDIR)/debian/python3-authres; \
 	done
-	dh_install
 
 override_dh_auto_clean:
 	set -e && for pyvers in $(shell pyversions -vr); do \




More information about the Python-modules-commits mailing list