[Python-modules-commits] r30186 - in packages/pyopenssl/trunk/debian (changelog rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sun Aug 17 22:11:43 UTC 2014
Date: Sunday, August 17, 2014 @ 22:11:42
Author: morph
Revision: 30186
* debian/rules
- run test correctly for a pure Python module
Modified:
packages/pyopenssl/trunk/debian/changelog
packages/pyopenssl/trunk/debian/rules
Modified: packages/pyopenssl/trunk/debian/changelog
===================================================================
--- packages/pyopenssl/trunk/debian/changelog 2014-08-17 18:41:33 UTC (rev 30185)
+++ packages/pyopenssl/trunk/debian/changelog 2014-08-17 22:11:42 UTC (rev 30186)
@@ -15,8 +15,10 @@
- removed dbg package, no longer created
* debian/patches/bbff8b97da488d19d3a26f6eda5f83fc88ad430c.patch
- fixes test_wantWriteError error
+ * debian/rules
+ - run test correctly for a pure Python module
- -- Sandro Tosi <morph at debian.org> Sun, 17 Aug 2014 19:41:18 +0100
+ -- Sandro Tosi <morph at debian.org> Sun, 17 Aug 2014 22:36:23 +0100
pyopenssl (0.13.1-2) unstable; urgency=medium
Modified: packages/pyopenssl/trunk/debian/rules
===================================================================
--- packages/pyopenssl/trunk/debian/rules 2014-08-17 18:41:33 UTC (rev 30185)
+++ packages/pyopenssl/trunk/debian/rules 2014-08-17 22:11:42 UTC (rev 30186)
@@ -24,7 +24,8 @@
-for py in $(PYVERS); do \
for test in OpenSSL/test/test*; do \
echo "running $$test for python$$py ..."; \
- PYTHONPATH=build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$$py python$$py $$test; \
+ LIB=$$(python$$py -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \
+ PYTHONPATH=$$LIB python$$py $$test; \
done; \
done
endif
More information about the Python-modules-commits
mailing list