[Python-modules-commits] r17259 - in packages/pyyaml/trunk/debian (changelog control rules)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Tue May 31 21:54:04 UTC 2011


    Date: Tuesday, May 31, 2011 @ 21:54:03
  Author: kitterman
Revision: 17259

  * New upstream release (LP: #770895)
  * Override dh_auto_test to run tests in the right part of the build
  * Use install-layout=deb to avoid files landing in /usr/local
  * Drop XB-Python-Version from python-yaml (obsolete)

Modified:
  packages/pyyaml/trunk/debian/changelog
  packages/pyyaml/trunk/debian/control
  packages/pyyaml/trunk/debian/rules

Modified: packages/pyyaml/trunk/debian/changelog
===================================================================
--- packages/pyyaml/trunk/debian/changelog	2011-05-31 21:30:17 UTC (rev 17258)
+++ packages/pyyaml/trunk/debian/changelog	2011-05-31 21:54:03 UTC (rev 17259)
@@ -1,8 +1,12 @@
-pyyaml (3.09-6) UNRELEASED; urgency=low
+pyyaml (3.10-1) unstable; urgency=low
 
+  * New upstream release (LP: #770895)
+  * Override dh_auto_test to run tests in the right part of the build
   * Protect for loops in debian/rules with set -e
+  * Use install-layout=deb to avoid files landing in /usr/local
+  * Drop XB-Python-Version from python-yaml (obsolete)
 
- -- Scott Kitterman <scott at kitterman.com>  Tue, 22 Mar 2011 22:15:21 +0200
+ -- Scott Kitterman <scott at kitterman.com>  Tue, 31 May 2011 16:18:44 -0400
 
 pyyaml (3.09-5) unstable; urgency=low
 

Modified: packages/pyyaml/trunk/debian/control
===================================================================
--- packages/pyyaml/trunk/debian/control	2011-05-31 21:30:17 UTC (rev 17258)
+++ packages/pyyaml/trunk/debian/control	2011-05-31 21:54:03 UTC (rev 17259)
@@ -26,7 +26,6 @@
 Priority: extra
 Architecture: any
 Depends: python-yaml (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
-XB-Python-Version: ${python:Versions}
 Description: YAML parser and emitter for Python
  Python-yaml is a complete YAML 1.1 parser and emitter for Python.  It can parse
  all examples from the specification. The parsing algorithm is simple enough to
@@ -41,8 +40,8 @@
 Description: YAML parser and emitter for Python3
  Python3-yaml is a complete YAML 1.1 parser and emitter for Python3.  It can
  parse all examples from the specification. The parsing algorithm is simple
- enough to be a reference for YAML parser implementors. A simple extension API is
- also provided.  The package is built using libyaml for improved speed.
+ enough to be a reference for YAML parser implementors. A simple extension API
+ is also provided.  The package is built using libyaml for improved speed.
 
 Package: python3-yaml-dbg
 Section: debug
@@ -52,7 +51,7 @@
 Description: YAML parser and emitter for Python3
  Python3-yaml is a complete YAML 1.1 parser and emitter for Python3.  It can
  parse all examples from the specification. The parsing algorithm is simple
- enough to be a reference for YAML parser implementors. A simple extension API is
- also provided.  The package is built using libyaml for improved speed.
+ enough to be a reference for YAML parser implementors. A simple extension API
+ is also provided.  The package is built using libyaml for improved speed.
  .
  This package contains the extension built for the Python3 debug interpreter.

Modified: packages/pyyaml/trunk/debian/rules
===================================================================
--- packages/pyyaml/trunk/debian/rules	2011-05-31 21:30:17 UTC (rev 17258)
+++ packages/pyyaml/trunk/debian/rules	2011-05-31 21:54:03 UTC (rev 17259)
@@ -6,20 +6,19 @@
 %:
 	dh $@ --with python2, --with python3
 
-override_dh_build:
-	dh_build
+override_dh_auto_test:
 	python setup.py test
 	python3 setup.py test
 
 override_dh_install:
 	dh_install -ppython-yaml 
 	set -e && for i in $(buildvers); do \
-	  python$$i ./setup.py install --root $(CURDIR)/debian/python-yaml; \
+	  python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python-yaml; \
 	done
 
 	dh_install -ppython-yaml-dbg
 	set -e && for i in $(buildvers); do \
-	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-yaml-dbg; \
+	  python$$i-dbg ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python-yaml-dbg; \
 	done
 	find debian/python-yaml-dbg \
 	  ! -type d ! -name '*_d.so' | xargs rm -f
@@ -27,12 +26,12 @@
 
 	dh_install -ppython3-yaml
 	set -e && for i in $(build3vers); do \
-	  python$$i ./setup.py install --root $(CURDIR)/debian/python3-yaml; \
+	  python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-yaml; \
 	done
 
 	dh_install -ppython3-yaml-dbg
 	set -e && for i in $(build3vers); do \
-	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python3-yaml-dbg; \
+	  python$$i-dbg ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-yaml-dbg; \
 	done
 	find debian/python3-yaml-dbg \
 	  ! -type d ! -name '*_d.so' | xargs rm -f




More information about the Python-modules-commits mailing list