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

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Mon Jun 19 22:06:20 UTC 2006


Author: arnau-guest
Date: Mon Jun 19 22:06:19 2006
New Revision: 947

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

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

Modified: packages/pyasn1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyasn1/trunk/debian/changelog?rev=947&op=diff
==============================================================================
--- packages/pyasn1/trunk/debian/changelog (original)
+++ packages/pyasn1/trunk/debian/changelog Mon Jun 19 22:06:19 2006
@@ -1,3 +1,20 @@
+pyasn1 (0.0.5a-2) unstable; urgency=low
+
+  * 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>  Mon, 19 Jun 2006 23:51:44 +0200
+
 pyasn1 (0.0.5a-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/pyasn1/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyasn1/trunk/debian/compat?rev=947&op=diff
==============================================================================
--- packages/pyasn1/trunk/debian/compat (original)
+++ packages/pyasn1/trunk/debian/compat Mon Jun 19 22:06:19 2006
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/pyasn1/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyasn1/trunk/debian/control?rev=947&op=diff
==============================================================================
--- packages/pyasn1/trunk/debian/control (original)
+++ packages/pyasn1/trunk/debian/control Mon Jun 19 22:06:19 2006
@@ -4,11 +4,13 @@
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Jan Luebbe <jluebbe at lasnet.de>
 Standards-Version: 3.7.2
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), python-dev, python-all-dev
+XS-Python-Version: all
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.42), python-dev (>= 2.3.5-7), python-support (>= 0.2.3)
 
 Package: python-pyasn1
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2.1)
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
 Description: ASN.1 library for Python
  This  is  an implementation  of  ASN.1  types  and codecs  in  Python
  programming language. It has been first written to support particular

Modified: packages/pyasn1/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/pyasn1/trunk/debian/control.in?rev=947&op=diff
==============================================================================
--- packages/pyasn1/trunk/debian/control.in (original)
+++ packages/pyasn1/trunk/debian/control.in Mon Jun 19 22:06:19 2006
@@ -4,11 +4,13 @@
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Jan Luebbe <jluebbe at lasnet.de>
 Standards-Version: 3.7.2
-Build-Depends: @cdbs@, python-dev, python-all-dev
+XS-Python-Version: all
+Build-Depends: @cdbs@
 
 Package: python-pyasn1
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2.1)
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
 Description: ASN.1 library for Python
  This  is  an implementation  of  ASN.1  types  and codecs  in  Python
  programming language. It has been first written to support particular

Modified: packages/pyasn1/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyasn1/trunk/debian/rules?rev=947&op=diff
==============================================================================
--- packages/pyasn1/trunk/debian/rules (original)
+++ packages/pyasn1/trunk/debian/rules Mon Jun 19 22:06:19 2006
@@ -1,17 +1,13 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-# python-distutils before debhelper to avoid it calling dh_python
-# itself
+DEB_PYTHON_SYSTEM=pysupport
+
+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 .py files in the proper directory for
-# python-support
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pyasn1
-
-binary-install/python-pyasn1::
-	echo "2.3-" >debian/python-pyasn1/usr/share/python-support/pyasn1/.version
+binary-install/$(DEBIAN_PYTHON_MODULE_PACKAGE)::
+	echo "2.3-" > debian/$(DEBIAN_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/.version




More information about the Python-modules-commits mailing list