[Python-modules-commits] r20755 - in packages/geopy/trunk/debian (changelog control rules)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Tue Mar 13 06:31:07 UTC 2012
Date: Tuesday, March 13, 2012 @ 06:31:04
Author: eriol-guest
Revision: 20755
Enabled tests at build time
Modified:
packages/geopy/trunk/debian/changelog
packages/geopy/trunk/debian/control
packages/geopy/trunk/debian/rules
Modified: packages/geopy/trunk/debian/changelog
===================================================================
--- packages/geopy/trunk/debian/changelog 2012-03-13 05:37:26 UTC (rev 20754)
+++ packages/geopy/trunk/debian/changelog 2012-03-13 06:31:04 UTC (rev 20755)
@@ -2,4 +2,4 @@
* Initial release (Closes: #452093)
- -- Daniele Tricoli <eriol at mornie.org> Sat, 10 Mar 2012 07:20:30 +0100
+ -- Daniele Tricoli <eriol at mornie.org> Tue, 13 Mar 2012 07:30:35 +0100
Modified: packages/geopy/trunk/debian/control
===================================================================
--- packages/geopy/trunk/debian/control 2012-03-13 05:37:26 UTC (rev 20754)
+++ packages/geopy/trunk/debian/control 2012-03-13 06:31:04 UTC (rev 20755)
@@ -6,6 +6,8 @@
Build-Depends:
debhelper (>= 7.0.50~),
python-all (>= 2.6.6-3),
+ python-beautifulsoup,
+ python-nose,
python-setuptools (>= 0.6b3)
Standards-Version: 3.9.3
X-Python-Version: >= 2.5
Modified: packages/geopy/trunk/debian/rules
===================================================================
--- packages/geopy/trunk/debian/rules 2012-03-13 05:37:26 UTC (rev 20754)
+++ packages/geopy/trunk/debian/rules 2012-03-13 06:31:04 UTC (rev 20755)
@@ -1,7 +1,20 @@
#!/usr/bin/make -f
+export PYTHONWARNINGS=d
+
%:
dh $@ --with python2
+override_dh_auto_install:
+ dh_auto_install
+ # Remove tests to not pollute namespace.
+ rm -rf debian/python-geopy/usr/lib/python*/dist-packages/geopy/tests
+
override_dh_installchangelogs:
dh_installchangelogs RELEASES
+
+override_dh_auto_test:
+ set -e; \
+ for python in $(shell pyversions -r); do \
+ $$python /usr/bin/nosetests; \
+ done
More information about the Python-modules-commits
mailing list