[Python-modules-commits] r25774 - in packages/fedmsg/trunk/debian (4 files)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Sat Sep 7 10:50:04 UTC 2013
Date: Saturday, September 7, 2013 @ 10:50:02
Author: laarmen-guest
Revision: 25774
* New upstream release
* Run the tests at build time
+ Added a patch to work around a missing symlink for the test certificates
Added:
packages/fedmsg/trunk/debian/patches/fix_test_paths
Modified:
packages/fedmsg/trunk/debian/changelog
packages/fedmsg/trunk/debian/patches/series
packages/fedmsg/trunk/debian/rules
Modified: packages/fedmsg/trunk/debian/changelog
===================================================================
--- packages/fedmsg/trunk/debian/changelog 2013-09-06 09:58:11 UTC (rev 25773)
+++ packages/fedmsg/trunk/debian/changelog 2013-09-07 10:50:02 UTC (rev 25774)
@@ -1,3 +1,11 @@
+fedmsg (0.7.0-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * Run the tests at build time
+ + Added a patch to work around a missing symlink for the test certificates
+
+ -- Simon Chopin <chopin.simon at gmail.com> Sat, 07 Sep 2013 11:39:58 +0200
+
fedmsg (0.6.8+git20130813.1.60346e0-2) unstable; urgency=low
* Team upload.
Added: packages/fedmsg/trunk/debian/patches/fix_test_paths
===================================================================
--- packages/fedmsg/trunk/debian/patches/fix_test_paths (rev 0)
+++ packages/fedmsg/trunk/debian/patches/fix_test_paths 2013-09-07 10:50:02 UTC (rev 25774)
@@ -0,0 +1,26 @@
+Description: Fix the paths used in the tests to lookup certificates
+Author: Simon Chopin <chopin.simon at gmail.com>
+Forwarded: not-needed
+
+Index: fedmsg-0.7.0/fedmsg/tests/fedmsg-test-config.py
+===================================================================
+--- fedmsg-0.7.0.orig/fedmsg/tests/fedmsg-test-config.py 2013-09-07 12:16:42.000000000 +0200
++++ fedmsg-0.7.0/fedmsg/tests/fedmsg-test-config.py 2013-09-07 12:40:40.374983940 +0200
+@@ -23,7 +23,7 @@
+ import random
+
+ SEP = os.path.sep
+-here = os.getcwd()
++here = SEP.join((os.getcwd(), 'fedmsg', 'tests'))
+ hostname = socket.gethostname()
+
+ ssl_enabled_for_tests = True
+@@ -74,7 +74,7 @@
+ # SSL stuff.
+ sign_messages=ssl_enabled_for_tests,
+ validate_signatures=ssl_enabled_for_tests,
+- ssldir=SEP.join([here, 'dev_certs/keys']),
++ ssldir=SEP.join([here, 'test_certs/keys']),
+
+ crl_location="http://threebean.org/fedmsg-tests/crl.pem",
+ crl_cache="/tmp/crl.pem",
Modified: packages/fedmsg/trunk/debian/patches/series
===================================================================
--- packages/fedmsg/trunk/debian/patches/series 2013-09-06 09:58:11 UTC (rev 25773)
+++ packages/fedmsg/trunk/debian/patches/series 2013-09-07 10:50:02 UTC (rev 25774)
@@ -2,3 +2,4 @@
default_prefix
no-tweet
remove_reference_to_google_web_fonts.diff
+fix_test_paths
Modified: packages/fedmsg/trunk/debian/rules
===================================================================
--- packages/fedmsg/trunk/debian/rules 2013-09-06 09:58:11 UTC (rev 25773)
+++ packages/fedmsg/trunk/debian/rules 2013-09-07 10:50:02 UTC (rev 25774)
@@ -33,13 +33,15 @@
dh_auto_clean
rm -rf doc/_build/
+override_dh_installchangelogs:
+ dh_installchangelogs -k CHANGELOG.rst
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- # Some tests fail because there is no GPG backend yet.
- # set -e; \
- # for py in $(shell pyversion -r); do \
- # $$py setup.py test \
- # done
+ set -e; \
+ for py in $(shell pyversions -r); do \
+ $$py setup.py test ; \
+ done
endif
get-orig-source:
More information about the Python-modules-commits
mailing list