[Python-modules-commits] r19511 - in packages/pyyaml/tags (10 files)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Mon Dec 5 02:48:06 UTC 2011


    Date: Monday, December 5, 2011 @ 02:48:05
  Author: kitterman
Revision: 19511

[svn-buildpackage] Tagging pyyaml 3.10-2

Added:
  packages/pyyaml/tags/3.10-2/
  packages/pyyaml/tags/3.10-2/debian/changelog
    (from rev 19510, packages/pyyaml/trunk/debian/changelog)
  packages/pyyaml/tags/3.10-2/debian/control
    (from rev 19510, packages/pyyaml/trunk/debian/control)
  packages/pyyaml/tags/3.10-2/debian/python-yaml.docs
    (from rev 19510, packages/pyyaml/trunk/debian/python-yaml.docs)
  packages/pyyaml/tags/3.10-2/debian/python3-yaml.docs
    (from rev 19510, packages/pyyaml/trunk/debian/python3-yaml.docs)
  packages/pyyaml/tags/3.10-2/debian/rules
    (from rev 19510, packages/pyyaml/trunk/debian/rules)
Deleted:
  packages/pyyaml/tags/3.10-2/debian/changelog
  packages/pyyaml/tags/3.10-2/debian/control
  packages/pyyaml/tags/3.10-2/debian/python-yaml.docs
  packages/pyyaml/tags/3.10-2/debian/rules

Deleted: packages/pyyaml/tags/3.10-2/debian/changelog
===================================================================
--- packages/pyyaml/trunk/debian/changelog	2011-12-04 22:30:13 UTC (rev 19509)
+++ packages/pyyaml/tags/3.10-2/debian/changelog	2011-12-05 02:48:05 UTC (rev 19511)
@@ -1,149 +0,0 @@
-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, 31 May 2011 16:18:44 -0400
-
-pyyaml (3.09-5) unstable; urgency=low
-
-  * Team upload.
-  * Bump minimum required python3-all-dev version to 3.1.2-10
-    (and rebuild for /usr/lib/python3/dist-packages transtion)
-
- -- Piotr Ożarowski <piotr at debian.org>  Sun, 26 Sep 2010 22:15:21 +0200
-
-pyyaml (3.09-4) unstable; urgency=low
-
-  * Switch from incorrect use of XS-Python-Version to X-Python-Version and
-    X-Python3-Version to work with current pyversions/py3versions
-  * Use ${python3:Depends} instead of ${python:Depends} for python3-yaml
-    (Closes: #591957)
-  * Rebuild with recent dh_python3 to fix pre-removal script (Closes: #591652)
-  * Drop XB-Python-Version from python3 packages (only relates to Python)
-  * Bump standards version to 3.9.1 without further change
-
- -- Scott Kitterman <scott at kitterman.com>  Fri, 13 Aug 2010 23:48:51 -0400
-
-pyyaml (3.09-3) unstable; urgency=low
-
-  * Convert from CDBS to Debhelper
-    - Port rules from cdbs to debhelper
-    - Drop cdbs from build-depends
-  * Convert from python-support to dh_python2
-    - Drop python-central from build-depends
-    - Switch to --with python2 in debian/rules
-    - Bump python-all-dev build-depend version to 2.6.5-2~
-  * Add support for Python3
-    - Add python3-yaml and python3-yaml-dbg to debian/control
-    - Add python3-all-dev and python3-all-dbg to build-depends
-    - Add >= 3.0 to XS-Python-Version
-    - Adjust debian rules to build --with python3
-  * Change priority to optional to match override
-  * Bump standards version to 3.8.4 without further change
-  * Remove DM-Upload-Allowed
-
- -- Scott Kitterman <scott at kitterman.com>  Sun, 20 Jun 2010 20:50:44 -0400
-
-pyyaml (3.09-2) unstable; urgency=low
-
-  * Update XB-Python-Version for Python 2.6 transition (closes: #556160)
-  * Move python-yaml-dbg to section debug
-  * Use correct © symbol in debian/copyright
-
- -- Scott Kitterman <scott at kitterman.com>  Fri, 13 Nov 2009 18:22:57 -0500
-
-pyyaml (3.09-1) unstable; urgency=low
-
-  * New upstream release
-  * Update standards version to 3.8.3 without further change
-
- -- Scott Kitterman <scott at kitterman.com>  Mon, 31 Aug 2009 10:02:36 -0400
-
-pyyaml (3.08-1) unstable; urgency=low
-
-  * New upstream release
-    - Change debian/rules to run new upstream test suite during build
-    - Version libyaml-dev build dep to 0.1.2~ due to test failures with 0.1.1
-  * Change priority to extra due to libyaml being extra
-  * Add ${misc:Depends} to python-yaml and python-yaml-dbg
-  * Update package description to mention being built against libyaml
-
- -- Scott Kitterman <scott at kitterman.com>  Fri, 02 Jan 2009 23:57:37 -0500
-
-pyyaml (3.06-1) unstable; urgency=low
-
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
-  [ Scott Kitterman ]
-  * New upstream release
-    - Dropped build-dep on python-pyrex (no longer used)
-    - Update debian/rules to build with the new libyaml integration scheme 
-  * Comment out simple-patchsys.mk in debian/rules since it's not currently
-    needed
-
- -- Scott Kitterman <scott at kitterman.com>  Mon, 03 Nov 2008 21:17:42 -0500
-
-pyyaml (3.05-2) unstable; urgency=low
-
-  [ Piotr Ożarowski ]
-  * Vcs-Browser and Homepage fields added
-  * XS-Vcs-Svn field renamed to Vcs-Svn
-  * DM-Upload-Allowed set to "yes"
-
-  [ Sandro Tosi ]
-  * debian/control
-    - uniforming Vcs-Browser field
-
-  [ Scott Kitterman ]
-  * Build with lib-yaml now that it is in the archive (Closes: #435410)
-    - Add build-dep on libyaml-dev and python-pyrex
-    - Add depends for ${shlibs:Depends} (Package falls back to pure Python
-      if libyaml is not present, but it's not worth splitting a small package)
-    - Install with setup_with_libyaml.py for all Python versions
-    - Switch from arch all to arch any
-  * Add debug package
-    - Add python-all-dbg to build-dep
-    - Add python-yaml-dbg to debian/control
-    - Update debian/rules
-  * Switch from python-support to python-central
-    - Update depends
-    - Remove pyversions
-    - Add XS/XB-python-versions to debian/control
-    - Update debian/rules
-  * Update package description
-  * Update standards version to 3.8.0.1
-
- -- Scott Kitterman <scott at kitterman.com>  Tue, 24 Jun 2008 21:32:45 -0400
-
-pyyaml (3.05-1) unstable; urgency=low
-
-  [ Scott Kitterman ]
-  * New upstream version
-  * Removed obsolete patch and debian/patches
-  * debian/control:
-     - Added XS-Vcs-Svn field
-     - Remove build-dep on pacht-utils
-  * debian/rules:
-     - Comment out simple-patchsys
-
-  [ Piotr Ożarowski ]
-  * Added debian/watch file
-
- -- Scott Kitterman <scott at kitterman.com>  Sun, 13 May 2007 22:38:17 -0400
-
-pyyaml (3.04-1) unstable; urgency=low
-
-  * Initial Debian package (Closes: #413720)
-  * Include upstream recommended patches from the development tree:
-    - fix loading an empty stream: changeset 233
-    - fix the !timestamp constructor: changeset 234
-    - fix an obscure issue with yaml_path_resolver: changeset 246
-
- -- Scott Kitterman <scott at kitterman.com>  Wed,  4 Apr 2007 15:50:36 -0400
-

Copied: packages/pyyaml/tags/3.10-2/debian/changelog (from rev 19510, packages/pyyaml/trunk/debian/changelog)
===================================================================
--- packages/pyyaml/tags/3.10-2/debian/changelog	                        (rev 0)
+++ packages/pyyaml/tags/3.10-2/debian/changelog	2011-12-05 02:48:05 UTC (rev 19511)
@@ -0,0 +1,162 @@
+pyyaml (3.10-2) unstable; urgency=low
+
+  * Remove python3-yaml-dbg find rule in debian/rules so python3 debug package
+    is built correctly (Closes: #650950)
+  * Remove similar rule for python-yaml-dbg since it is not needed
+  * Fix short descriptions for debug packages so they are not the same as
+    non-debug packages
+  * Also ship upstream changelog in python-yaml
+  * Add python3-yaml.docs to README/CHANGES are shipped in python3-yaml
+  * Bump standards version to 3.9.2 without further change
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 04 Dec 2011 13:48:42 -0500
+
+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, 31 May 2011 16:18:44 -0400
+
+pyyaml (3.09-5) unstable; urgency=low
+
+  * Team upload.
+  * Bump minimum required python3-all-dev version to 3.1.2-10
+    (and rebuild for /usr/lib/python3/dist-packages transtion)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 26 Sep 2010 22:15:21 +0200
+
+pyyaml (3.09-4) unstable; urgency=low
+
+  * Switch from incorrect use of XS-Python-Version to X-Python-Version and
+    X-Python3-Version to work with current pyversions/py3versions
+  * Use ${python3:Depends} instead of ${python:Depends} for python3-yaml
+    (Closes: #591957)
+  * Rebuild with recent dh_python3 to fix pre-removal script (Closes: #591652)
+  * Drop XB-Python-Version from python3 packages (only relates to Python)
+  * Bump standards version to 3.9.1 without further change
+
+ -- Scott Kitterman <scott at kitterman.com>  Fri, 13 Aug 2010 23:48:51 -0400
+
+pyyaml (3.09-3) unstable; urgency=low
+
+  * Convert from CDBS to Debhelper
+    - Port rules from cdbs to debhelper
+    - Drop cdbs from build-depends
+  * Convert from python-support to dh_python2
+    - Drop python-central from build-depends
+    - Switch to --with python2 in debian/rules
+    - Bump python-all-dev build-depend version to 2.6.5-2~
+  * Add support for Python3
+    - Add python3-yaml and python3-yaml-dbg to debian/control
+    - Add python3-all-dev and python3-all-dbg to build-depends
+    - Add >= 3.0 to XS-Python-Version
+    - Adjust debian rules to build --with python3
+  * Change priority to optional to match override
+  * Bump standards version to 3.8.4 without further change
+  * Remove DM-Upload-Allowed
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 20 Jun 2010 20:50:44 -0400
+
+pyyaml (3.09-2) unstable; urgency=low
+
+  * Update XB-Python-Version for Python 2.6 transition (closes: #556160)
+  * Move python-yaml-dbg to section debug
+  * Use correct © symbol in debian/copyright
+
+ -- Scott Kitterman <scott at kitterman.com>  Fri, 13 Nov 2009 18:22:57 -0500
+
+pyyaml (3.09-1) unstable; urgency=low
+
+  * New upstream release
+  * Update standards version to 3.8.3 without further change
+
+ -- Scott Kitterman <scott at kitterman.com>  Mon, 31 Aug 2009 10:02:36 -0400
+
+pyyaml (3.08-1) unstable; urgency=low
+
+  * New upstream release
+    - Change debian/rules to run new upstream test suite during build
+    - Version libyaml-dev build dep to 0.1.2~ due to test failures with 0.1.1
+  * Change priority to extra due to libyaml being extra
+  * Add ${misc:Depends} to python-yaml and python-yaml-dbg
+  * Update package description to mention being built against libyaml
+
+ -- Scott Kitterman <scott at kitterman.com>  Fri, 02 Jan 2009 23:57:37 -0500
+
+pyyaml (3.06-1) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+  [ Scott Kitterman ]
+  * New upstream release
+    - Dropped build-dep on python-pyrex (no longer used)
+    - Update debian/rules to build with the new libyaml integration scheme 
+  * Comment out simple-patchsys.mk in debian/rules since it's not currently
+    needed
+
+ -- Scott Kitterman <scott at kitterman.com>  Mon, 03 Nov 2008 21:17:42 -0500
+
+pyyaml (3.05-2) unstable; urgency=low
+
+  [ Piotr Ożarowski ]
+  * Vcs-Browser and Homepage fields added
+  * XS-Vcs-Svn field renamed to Vcs-Svn
+  * DM-Upload-Allowed set to "yes"
+
+  [ Sandro Tosi ]
+  * debian/control
+    - uniforming Vcs-Browser field
+
+  [ Scott Kitterman ]
+  * Build with lib-yaml now that it is in the archive (Closes: #435410)
+    - Add build-dep on libyaml-dev and python-pyrex
+    - Add depends for ${shlibs:Depends} (Package falls back to pure Python
+      if libyaml is not present, but it's not worth splitting a small package)
+    - Install with setup_with_libyaml.py for all Python versions
+    - Switch from arch all to arch any
+  * Add debug package
+    - Add python-all-dbg to build-dep
+    - Add python-yaml-dbg to debian/control
+    - Update debian/rules
+  * Switch from python-support to python-central
+    - Update depends
+    - Remove pyversions
+    - Add XS/XB-python-versions to debian/control
+    - Update debian/rules
+  * Update package description
+  * Update standards version to 3.8.0.1
+
+ -- Scott Kitterman <scott at kitterman.com>  Tue, 24 Jun 2008 21:32:45 -0400
+
+pyyaml (3.05-1) unstable; urgency=low
+
+  [ Scott Kitterman ]
+  * New upstream version
+  * Removed obsolete patch and debian/patches
+  * debian/control:
+     - Added XS-Vcs-Svn field
+     - Remove build-dep on pacht-utils
+  * debian/rules:
+     - Comment out simple-patchsys
+
+  [ Piotr Ożarowski ]
+  * Added debian/watch file
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 13 May 2007 22:38:17 -0400
+
+pyyaml (3.04-1) unstable; urgency=low
+
+  * Initial Debian package (Closes: #413720)
+  * Include upstream recommended patches from the development tree:
+    - fix loading an empty stream: changeset 233
+    - fix the !timestamp constructor: changeset 234
+    - fix an obscure issue with yaml_path_resolver: changeset 246
+
+ -- Scott Kitterman <scott at kitterman.com>  Wed,  4 Apr 2007 15:50:36 -0400
+

Deleted: packages/pyyaml/tags/3.10-2/debian/control
===================================================================
--- packages/pyyaml/trunk/debian/control	2011-12-04 22:30:13 UTC (rev 19509)
+++ packages/pyyaml/tags/3.10-2/debian/control	2011-12-05 02:48:05 UTC (rev 19511)
@@ -1,57 +0,0 @@
-Source: pyyaml
-Section: python
-Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
-Uploaders: Scott Kitterman <scott at kitterman.com>
-Build-Depends: debhelper (>= 7.3.16), python-all-dev (>=2.6.5-13~), python-all-dbg, python3-all-dev (>= 3.1.2-10~), python3-all-dbg, libyaml-dev (>=0.1.2~)
-X-Python-Version: >= 2.4
-X-Python3-Version: >= 3.0
-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyyaml/trunk/
-Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyyaml/trunk/
-Standards-Version: 3.9.1
-Homepage: http://pyyaml.org/
-
-Package: python-yaml
-Architecture: any
-Depends: ${python:Depends}, ${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
- be a reference for YAML parser implementors. A simple extension API is also
- provided.  The package is built using libyaml for improved speed.
-
-Package: python-yaml-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends: python-yaml (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
-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
- 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 Python debug interpreter.
-
-Package: python3-yaml
-Architecture: any
-Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
-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.
-
-Package: python3-yaml-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends: python3-yaml (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}
-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.
- .
- This package contains the extension built for the Python3 debug interpreter.

Copied: packages/pyyaml/tags/3.10-2/debian/control (from rev 19510, packages/pyyaml/trunk/debian/control)
===================================================================
--- packages/pyyaml/tags/3.10-2/debian/control	                        (rev 0)
+++ packages/pyyaml/tags/3.10-2/debian/control	2011-12-05 02:48:05 UTC (rev 19511)
@@ -0,0 +1,57 @@
+Source: pyyaml
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
+Uploaders: Scott Kitterman <scott at kitterman.com>
+Build-Depends: debhelper (>= 7.3.16), python-all-dev (>=2.6.5-13~), python-all-dbg, python3-all-dev (>= 3.1.2-10~), python3-all-dbg, libyaml-dev (>=0.1.2~)
+X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.0
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyyaml/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyyaml/trunk/
+Standards-Version: 3.9.2
+Homepage: http://pyyaml.org/
+
+Package: python-yaml
+Architecture: any
+Depends: ${python:Depends}, ${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
+ be a reference for YAML parser implementors. A simple extension API is also
+ provided.  The package is built using libyaml for improved speed.
+
+Package: python-yaml-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: python-yaml (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Description: YAML parser and emitter for Python (debug build)
+ 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
+ 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 Python debug interpreter.
+
+Package: python3-yaml
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+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.
+
+Package: python3-yaml-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: python3-yaml (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}
+Description: YAML parser and emitter for Python3 (debug build)
+ 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.
+ .
+ This package contains the extension built for the Python3 debug interpreter.

Deleted: packages/pyyaml/tags/3.10-2/debian/python-yaml.docs
===================================================================
--- packages/pyyaml/trunk/debian/python-yaml.docs	2011-12-04 22:30:13 UTC (rev 19509)
+++ packages/pyyaml/tags/3.10-2/debian/python-yaml.docs	2011-12-05 02:48:05 UTC (rev 19511)
@@ -1 +0,0 @@
-README

Copied: packages/pyyaml/tags/3.10-2/debian/python-yaml.docs (from rev 19510, packages/pyyaml/trunk/debian/python-yaml.docs)
===================================================================
--- packages/pyyaml/tags/3.10-2/debian/python-yaml.docs	                        (rev 0)
+++ packages/pyyaml/tags/3.10-2/debian/python-yaml.docs	2011-12-05 02:48:05 UTC (rev 19511)
@@ -0,0 +1,2 @@
+README
+changelog

Copied: packages/pyyaml/tags/3.10-2/debian/python3-yaml.docs (from rev 19510, packages/pyyaml/trunk/debian/python3-yaml.docs)
===================================================================
--- packages/pyyaml/tags/3.10-2/debian/python3-yaml.docs	                        (rev 0)
+++ packages/pyyaml/tags/3.10-2/debian/python3-yaml.docs	2011-12-05 02:48:05 UTC (rev 19511)
@@ -0,0 +1,2 @@
+README
+changelog

Deleted: packages/pyyaml/tags/3.10-2/debian/rules
===================================================================
--- packages/pyyaml/trunk/debian/rules	2011-12-04 22:30:13 UTC (rev 19509)
+++ packages/pyyaml/tags/3.10-2/debian/rules	2011-12-05 02:48:05 UTC (rev 19511)
@@ -1,53 +0,0 @@
-#!/usr/bin/make -f
-
-buildvers := $(shell pyversions -sv)
-build3vers := $(shell py3versions -sv)
-
-%:
-	dh $@ --with python2, --with python3
-
-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 --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 --install-layout=deb --root $(CURDIR)/debian/python-yaml-dbg; \
-	done
-	find debian/python-yaml-dbg \
-	  ! -type d ! -name '*_d.so' | xargs rm -f
-	find debian/python-yaml-dbg -depth -empty -exec rmdir {} \;
-
-	dh_install -ppython3-yaml
-	set -e && for i in $(build3vers); do \
-	  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 --install-layout=deb --root $(CURDIR)/debian/python3-yaml-dbg; \
-	done
-	find debian/python3-yaml-dbg \
-	  ! -type d ! -name '*_d.so' | xargs rm -f
-	find debian/python3-yaml-dbg -depth -empty -exec rmdir {} \;
-
-	dh_install
-
-override_dh_installdeb:
-	rm -rf debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
-	ln -s python-yaml debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
-
-	rm -rf debian/python3-yaml-dbg/usr/share/doc/python3-yaml-dbg
-	ln -s python3-yaml debian/python3-yaml-dbg/usr/share/doc/python3-yaml-dbg
-
-	dh_installdeb
-
-override_dh_clean:
-	dh_clean
-	rm -rf build

Copied: packages/pyyaml/tags/3.10-2/debian/rules (from rev 19510, packages/pyyaml/trunk/debian/rules)
===================================================================
--- packages/pyyaml/tags/3.10-2/debian/rules	                        (rev 0)
+++ packages/pyyaml/tags/3.10-2/debian/rules	2011-12-05 02:48:05 UTC (rev 19511)
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+buildvers := $(shell pyversions -sv)
+build3vers := $(shell py3versions -sv)
+
+%:
+	dh $@ --with python2, --with python3
+
+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 --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 --install-layout=deb --root $(CURDIR)/debian/python-yaml-dbg; \
+	done
+
+	dh_install -ppython3-yaml
+	set -e && for i in $(build3vers); do \
+	  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 --install-layout=deb --root $(CURDIR)/debian/python3-yaml-dbg; \
+	done
+
+	dh_install
+
+override_dh_installdocs:
+	cp $(CURDIR)/CHANGES $(CURDIR)/changelog
+	dh_installdocs
+	rm  $(CURDIR)/changelog
+
+override_dh_installdeb:
+	rm -rf debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
+	ln -s python-yaml debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
+
+	rm -rf debian/python3-yaml-dbg/usr/share/doc/python3-yaml-dbg
+	ln -s python3-yaml debian/python3-yaml-dbg/usr/share/doc/python3-yaml-dbg
+
+	dh_installdeb
+
+override_dh_clean:
+	dh_clean
+	rm -rf build




More information about the Python-modules-commits mailing list