[Python-modules-commits] r26154 - in packages/python-gmpy2/trunk/debian (7 files)
aomighty-guest at users.alioth.debian.org
aomighty-guest at users.alioth.debian.org
Sun Oct 13 23:20:12 UTC 2013
Date: Sunday, October 13, 2013 @ 23:20:10
Author: aomighty-guest
Revision: 26154
Miscellaneous changes in response to Piotr Ozarowski's feedback
Added:
packages/python-gmpy2/trunk/debian/patches/
packages/python-gmpy2/trunk/debian/patches/correct_manpage_section.patch
packages/python-gmpy2/trunk/debian/patches/series
Modified:
packages/python-gmpy2/trunk/debian/changelog
packages/python-gmpy2/trunk/debian/control
packages/python-gmpy2/trunk/debian/rules
Deleted:
packages/python-gmpy2/trunk/debian/python-gmpy2-common.examples
Modified: packages/python-gmpy2/trunk/debian/changelog
===================================================================
--- packages/python-gmpy2/trunk/debian/changelog 2013-10-13 12:22:11 UTC (rev 26153)
+++ packages/python-gmpy2/trunk/debian/changelog 2013-10-13 23:20:10 UTC (rev 26154)
@@ -7,8 +7,11 @@
* Renamed package to python-gmpy2.
* Now providing a python3-gmpy2 package, which works with Python 3, as well
as a common package for files in common between the two packages
+ * No longer installing the tests
+ * Now running tests at build time
+ * Added patch to correct manpage library section from 1 to 3
- -- Martin Kelly <martin at martingkelly.com> Thu, 05 Sep 2013 19:17:26 -0700
+ -- Martin Kelly <martin at martingkelly.com> Sun, 13 Oct 2013 16:18:02 -0700
python-gmpy (1.15-1) unstable; urgency=low
Modified: packages/python-gmpy2/trunk/debian/control
===================================================================
--- packages/python-gmpy2/trunk/debian/control 2013-10-13 12:22:11 UTC (rev 26153)
+++ packages/python-gmpy2/trunk/debian/control 2013-10-13 23:20:10 UTC (rev 26154)
@@ -32,7 +32,7 @@
more.
Package: python-gmpy2-common
-Architecture: any
+Architecture: all
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
Recommends: python-gmpy2 | python3-gmpy2
Provides: ${python:Provides}
Added: packages/python-gmpy2/trunk/debian/patches/correct_manpage_section.patch
===================================================================
--- packages/python-gmpy2/trunk/debian/patches/correct_manpage_section.patch (rev 0)
+++ packages/python-gmpy2/trunk/debian/patches/correct_manpage_section.patch 2013-10-13 23:20:10 UTC (rev 26154)
@@ -0,0 +1,10 @@
+Correcting manpage section
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -212,5 +212,5 @@
+ # (source start file, name, description, authors, manual section).
+ man_pages = [
+ ('index', 'gmpy2', u'gmpy2 Documentation',
+- [u'Case Van Horsen'], 1)
++ [u'Case Van Horsen'], 3)
+ ]
Added: packages/python-gmpy2/trunk/debian/patches/series
===================================================================
--- packages/python-gmpy2/trunk/debian/patches/series (rev 0)
+++ packages/python-gmpy2/trunk/debian/patches/series 2013-10-13 23:20:10 UTC (rev 26154)
@@ -0,0 +1 @@
+correct_manpage_section.patch
Deleted: packages/python-gmpy2/trunk/debian/python-gmpy2-common.examples
===================================================================
--- packages/python-gmpy2/trunk/debian/python-gmpy2-common.examples 2013-10-13 12:22:11 UTC (rev 26153)
+++ packages/python-gmpy2/trunk/debian/python-gmpy2-common.examples 2013-10-13 23:20:10 UTC (rev 26154)
@@ -1 +0,0 @@
-test/
Modified: packages/python-gmpy2/trunk/debian/rules
===================================================================
--- packages/python-gmpy2/trunk/debian/rules 2013-10-13 12:22:11 UTC (rev 26153)
+++ packages/python-gmpy2/trunk/debian/rules 2013-10-13 23:20:10 UTC (rev 26154)
@@ -30,7 +30,7 @@
make -C $(CURDIR)/docs man
touch $@
-install: build $(PYVERS:%=install-python%)
+install: build test $(PYVERS:%=install-python%)
install-python%:
if echo "$*" | grep -q 3\..* ; then \
@@ -38,12 +38,15 @@
else \
python$* setup.py install --install-layout=deb --root $(CURDIR)/debian/python-gmpy2/; \
fi
-
- chmod -x $(CURDIR)/test/*.py
-binary-indep: build install
+test: build $(PYVERS:%=test-python%)
-binary-arch: build install
+test-python%:
+ python$* test/runtests.py
+
+binary-indep: build test install
+
+binary-arch: build test install
dh_testdir
dh_testroot
dh_installchangelogs
@@ -63,4 +66,4 @@
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary test install
More information about the Python-modules-commits
mailing list