[Python-modules-commits] r836 - in /packages/ply/trunk/debian: changelog compat control control.in python-ply.dirs python-ply.install python-ply.postinst python-ply.prerm rules

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Thu Jun 15 16:17:25 UTC 2006


Author: arnau-guest
Date: Thu Jun 15 16:17:24 2006
New Revision: 836

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=836
Log:
New Python policy changes.

Added:
    packages/ply/trunk/debian/python-ply.install
Removed:
    packages/ply/trunk/debian/python-ply.dirs
    packages/ply/trunk/debian/python-ply.postinst
    packages/ply/trunk/debian/python-ply.prerm
Modified:
    packages/ply/trunk/debian/changelog
    packages/ply/trunk/debian/compat
    packages/ply/trunk/debian/control
    packages/ply/trunk/debian/control.in
    packages/ply/trunk/debian/rules

Modified: packages/ply/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/changelog?rev=836&op=diff
==============================================================================
--- packages/ply/trunk/debian/changelog (original)
+++ packages/ply/trunk/debian/changelog Thu Jun 15 16:17:24 2006
@@ -1,14 +1,24 @@
 ply (1.7-1) unstable; urgency=low
 
   * New upstream version.
-  * Added watch file. Thanks to Piotr Ozarowski.
-  * Update python-support to 0.2 in debian/control* and
-    debian/rules.
-  * Update Standards to 3.7.2. No changes needed.
-  * Clean debian/rules by adding DEB_PYTHON_PACKAGES_EXCLUDE 
-    to debian/rules and update cdbs version to 0.4.0 in debian/control.
+  * debian/watch:
+    - Add this file. Thanks to Piotr Ozarowski.
+  * debian/control.in:
+    - Update Standards to 3.7.2. No changes needed.
+  * New Python policy changes. Closes: #373480.
+    + debian/compat:
+      - Update debhelper compatibility to 5.
+    + debian/rules:
+      - Add DEB_PYTHON_SYSTEM=pysupport.
+    + debian/control.in
+      - Add XS-Python-Version to source package.
+      - Clean Build-Depends and Depends, cdbs handles that 
+      	automatically now.
+      - XB-Python-Version and Provides for binary package.
+    + debian/postinst && debian/prerm:
+      - Remove "hand made" python-support stuff, cdbs does this.
 
- -- Arnaud Fontaine <arnaud at andesi.org>  Sun, 11 Jun 2006 01:49:24 +0200
+ -- Arnaud Fontaine <arnaud at andesi.org>  Thu, 16 Jun 2006 16:08:24 +0200
 
 ply (1.6-2) unstable; urgency=low
   

Modified: packages/ply/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/compat?rev=836&op=diff
==============================================================================
--- packages/ply/trunk/debian/compat (original)
+++ packages/ply/trunk/debian/compat Thu Jun 15 16:17:24 2006
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/ply/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/control?rev=836&op=diff
==============================================================================
--- packages/ply/trunk/debian/control (original)
+++ packages/ply/trunk/debian/control Thu Jun 15 16:17:24 2006
@@ -3,13 +3,15 @@
 Priority: optional
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Gustavo Franco <stratus at debian.org>
-Build-Depends: cdbs (>= 0.4.40), debhelper (>= 4.2.0), python-dev
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-dev (>= 2.3.5-7), python-support (>= 0.2.3)
+XS-Python-Version: all
 Standards-Version: 3.7.2
 
 Package: python-ply
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2)
+Depends: ${python:Depends}
 Suggests: python-ply-doc
+XB-Python-Version: ${python:Versions}
 Description: Lex and Yacc implementation for Python
  PLY   is   yet  another   implementation   of   lex   and  yacc   for
  Python.  Although  several  other  parsing tools  are  available  for

Modified: packages/ply/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/control.in?rev=836&op=diff
==============================================================================
--- packages/ply/trunk/debian/control.in (original)
+++ packages/ply/trunk/debian/control.in Thu Jun 15 16:17:24 2006
@@ -3,13 +3,15 @@
 Priority: optional
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Gustavo Franco <stratus at debian.org>
-Build-Depends: @cdbs@, python-dev
-Standards-Version: 3.7.0
+Build-Depends: @cdbs@
+XS-Python-Version: all
+Standards-Version: 3.7.2
 
 Package: python-ply
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2)
+Depends: ${python:Depends}
 Suggests: python-ply-doc
+XB-Python-Version: ${python:Versions}
 Description: Lex and Yacc implementation for Python
  PLY   is   yet  another   implementation   of   lex   and  yacc   for
  Python.  Although  several  other  parsing tools  are  available  for

Added: packages/ply/trunk/debian/python-ply.install
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/python-ply.install?rev=836&op=file
==============================================================================
--- packages/ply/trunk/debian/python-ply.install (added)
+++ packages/ply/trunk/debian/python-ply.install Thu Jun 15 16:17:24 2006
@@ -1,0 +1,1 @@
+debian/tmp/usr/share/python-support/

Modified: packages/ply/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/ply/trunk/debian/rules?rev=836&op=diff
==============================================================================
--- packages/ply/trunk/debian/rules (original)
+++ packages/ply/trunk/debian/rules Thu Jun 15 16:17:24 2006
@@ -1,20 +1,13 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-DEB_PYTHON_PACKAGES_EXCLUDE=python-ply-doc
+DEB_PYTHON_SYSTEM=pysupport
 
-# python-distutils before debhelper to avoid it calling dh_python
-# itself
+include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
 
 # Don't compress .py files
 DEB_COMPRESS_EXCLUDE := .py
 
-# Install the .py files into the proper directory for 
-# python-support
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/ply
-
-binary-install/python-ply::
-	echo "2.3-" > debian/python-ply/usr/share/python-support/ply/.version
-
+binary-install/$(DEBIAN_PYTHON_MODULE_PACKAGE)::
+	echo "2.3-" > debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/.version




More information about the Python-modules-commits mailing list