[Python-modules-commits] r19911 - in packages/python-icalendar/trunk/debian (control rules)

paultag-guest at users.alioth.debian.org paultag-guest at users.alioth.debian.org
Sat Jan 7 18:02:19 UTC 2012


    Date: Saturday, January 7, 2012 @ 18:02:18
  Author: paultag-guest
Revision: 19911

Fixing up the Vcs- lines, setting -e on a loop and overriding auto_install

 eventually I need to make it so auto_install will strip the tests, or patch
 it out of the manifest. 

Modified:
  packages/python-icalendar/trunk/debian/control
  packages/python-icalendar/trunk/debian/rules

Modified: packages/python-icalendar/trunk/debian/control
===================================================================
--- packages/python-icalendar/trunk/debian/control	2012-01-07 18:01:35 UTC (rev 19910)
+++ packages/python-icalendar/trunk/debian/control	2012-01-07 18:02:18 UTC (rev 19911)
@@ -7,8 +7,8 @@
  python-sphinx (>= 1.0.7+dfsg) 
 Standards-Version: 3.9.2
 Homepage: https://github.com/collective/icalendar
-VCS-svn: svn://svn.debian.org/python-modules/packages/python-icalendar/
-VCS-browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-icalendar/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-icalendar/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-icalendar/
 X-Python-Version: >= 2.5
 
 Package: python-icalendar

Modified: packages/python-icalendar/trunk/debian/rules
===================================================================
--- packages/python-icalendar/trunk/debian/rules	2012-01-07 18:01:35 UTC (rev 19910)
+++ packages/python-icalendar/trunk/debian/rules	2012-01-07 18:02:18 UTC (rev 19911)
@@ -9,11 +9,15 @@
 
 override_dh_testroot:
 ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	for x in `pyversions -r`; do \
+	set -e; for x in `pyversions -r`; do \
 		$$x ./setup.py test; \
 	done
 endif
 
+override_dh_auto_install:
+	dh_auto_install
+	# rm -rvf debian/$(PACKAGE_NAME)/usr/share/pyshared/icalendar/tests
+
 override_dh_installdocs:
 	make -C docs html
 	mkdir -vp $(PACKAGE_DOCDIR)




More information about the Python-modules-commits mailing list