[Python-modules-commits] r5741 - in packages/pyyaml/trunk/debian (4 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Wed Jun 25 01:40:36 UTC 2008


    Date: Wednesday, June 25, 2008 @ 01:40:34
  Author: kitterma-guest
Revision: 5741

Update pyyaml to use libyaml. Ready for -2 upload.

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

Modified: packages/pyyaml/trunk/debian/changelog
===================================================================
--- packages/pyyaml/trunk/debian/changelog	2008-06-25 01:16:12 UTC (rev 5740)
+++ packages/pyyaml/trunk/debian/changelog	2008-06-25 01:40:34 UTC (rev 5741)
@@ -1,4 +1,4 @@
-pyyaml (3.05-2) UNRELEASED; urgency=low
+pyyaml (3.05-2) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * Vcs-Browser and Homepage fields added
@@ -8,8 +8,23 @@
   * debian/control
     - uniforming Vcs-Browser field
 
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:47:22 +0200
+  [ 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 recommends for ${shlibs:Depends} (Package falls back to pure Python
+      if libyaml is not present)
+    - Install with setup_with_libyaml.py for all Python versions
+    - Switch from arch all to arch any
+  * 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 ]

Modified: packages/pyyaml/trunk/debian/control
===================================================================
--- packages/pyyaml/trunk/debian/control	2008-06-25 01:16:12 UTC (rev 5740)
+++ packages/pyyaml/trunk/debian/control	2008-06-25 01:40:34 UTC (rev 5741)
@@ -3,17 +3,21 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Scott Kitterman <scott at kitterman.com>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5), python-all-dev (>=2.3.5-11), python-support (>= 0.5.3)
+Build-Depends: debhelper (>= 5), cdbs (>=0.4.48), python-all-dev (>=2.3.5-11), python-central (>= 0.6), python-pyrex, libyaml-dev
+XS-Python-Version: all 
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyyaml/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyyaml/trunk/?op=log
-Standards-Version: 3.7.2
+Standards-Version: 3.8.0.1
 Homepage: http://pyyaml.org/
 
 Package: python-yaml
-Architecture: all
+Architecture: any
 Depends: ${python:Depends}
-Description: PyYAML is a YAML parser and emitter for Python
- PyYAML is a complete YAML 1.1 parser and emitter for Python.  PyYAML can parse
+Recommends: ${shlibs:Depends}
+XB-Python-Version: all
+Description: Python-yaml is a 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.
+ provided. The package will use libyaml if installed.
+

Deleted: packages/pyyaml/trunk/debian/pyversions
===================================================================
--- packages/pyyaml/trunk/debian/pyversions	2008-06-25 01:16:12 UTC (rev 5740)
+++ packages/pyyaml/trunk/debian/pyversions	2008-06-25 01:40:34 UTC (rev 5741)
@@ -1 +0,0 @@
-2.3-

Modified: packages/pyyaml/trunk/debian/rules
===================================================================
--- packages/pyyaml/trunk/debian/rules	2008-06-25 01:16:12 UTC (rev 5740)
+++ packages/pyyaml/trunk/debian/rules	2008-06-25 01:40:34 UTC (rev 5741)
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
 
-DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON_SYSTEM=pycentral
+DEB_COMPRESS_EXCLUDE := .py
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+install/python-yaml::
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i ./setup_with_libyaml.py install --root $(CURDIR)/debian/python-yaml; \
+	done
+
+clean::
+	rm -rf build




More information about the Python-modules-commits mailing list