[Python-modules-commits] r810 - in /packages/elementtree/trunk/debian: changelog control control.in python-elementtree.postinst python-elementtree.prerm rules

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Wed Jun 14 20:29:06 UTC 2006


Author: hertzog
Date: Wed Jun 14 20:29:05 2006
New Revision: 810

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=810
Log:
Update for the new python policy.

Modified:
    packages/elementtree/trunk/debian/changelog
    packages/elementtree/trunk/debian/control
    packages/elementtree/trunk/debian/control.in
    packages/elementtree/trunk/debian/python-elementtree.postinst
    packages/elementtree/trunk/debian/python-elementtree.prerm
    packages/elementtree/trunk/debian/rules

Modified: packages/elementtree/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/changelog?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/changelog (original)
+++ packages/elementtree/trunk/debian/changelog Wed Jun 14 20:29:05 2006
@@ -1,3 +1,10 @@
+elementtree (1.2.6-9) unstable; urgency=low
+
+  * Switch to the new Python policy. Closes: #373420
+  * Many changes to the build-depends for that.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 14 Jun 2006 21:46:24 +0200
+
 elementtree (1.2.6-8) unstable; urgency=low
 
   * Bump standards version to 3.7.2

Modified: packages/elementtree/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/control?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/control (original)
+++ packages/elementtree/trunk/debian/control Wed Jun 14 20:29:05 2006
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Torsten Marek <shlomme at debian.org>, Raphael Hertzog <hertzog at debian.org>
-Build-Depends-Indep: python-dev, python-setuptools (>= 0.6a9)
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), patchutils (>= 0.2.25)
+Build-Depends-Indep: python-setuptools (>= 0.6b3-1)
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-dev (>= 2.3.5-7), python-support (>= 0.2.3), patchutils (>= 0.2.25)
+XS-Python-Version: << 2.5
 Standards-Version: 3.6.2
 
 Package: python-elementtree
@@ -13,6 +14,7 @@
 Provides: python2.3-elementtree, python2.4-elementtree
 Replaces: python2.3-elementtree, python2.4-elementtree
 Conflicts: python2.3-elementtree, python2.4-elementtree
+XB-Python-Version: ${python:Versions}
 Description: Light-weight toolkit for XML processing
  ElementTree provides a simple but flexible container object,
  designed to store hierarchical data structures, such as

Modified: packages/elementtree/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/control.in?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/control.in (original)
+++ packages/elementtree/trunk/debian/control.in Wed Jun 14 20:29:05 2006
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Torsten Marek <shlomme at debian.org>, Raphael Hertzog <hertzog at debian.org>
-Build-Depends-Indep: python-dev, python-setuptools (>= 0.6a9)
+Build-Depends-Indep: python-dev, python-setuptools (>= 0.6b3-1)
 Build-Depends: @cdbs@
+XS-Python-Version: << 2.5
 Standards-Version: 3.6.2
 
 Package: python-elementtree
@@ -13,6 +14,7 @@
 Provides: python2.3-elementtree, python2.4-elementtree
 Replaces: python2.3-elementtree, python2.4-elementtree
 Conflicts: python2.3-elementtree, python2.4-elementtree
+XB-Python-Version: ${python:Versions}
 Description: Light-weight toolkit for XML processing
  ElementTree provides a simple but flexible container object,
  designed to store hierarchical data structures, such as

Modified: packages/elementtree/trunk/debian/python-elementtree.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/python-elementtree.postinst?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/python-elementtree.postinst (original)
+++ packages/elementtree/trunk/debian/python-elementtree.postinst Wed Jun 14 20:29:05 2006
@@ -4,7 +4,3 @@
 
 #DEBHELPER#
 
-if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
-    update-python-modules -i /usr/share/python-support/elementtree
-fi
-	

Modified: packages/elementtree/trunk/debian/python-elementtree.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/python-elementtree.prerm?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/python-elementtree.prerm (original)
+++ packages/elementtree/trunk/debian/python-elementtree.prerm Wed Jun 14 20:29:05 2006
@@ -4,6 +4,3 @@
 
 #DEBHELPER#
 
-if which update-python-modules >/dev/null 2>&1; then
-   update-python-modules -c -i /usr/share/python-support/elementtree
-fi

Modified: packages/elementtree/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/elementtree/trunk/debian/rules?rev=810&op=diff
==============================================================================
--- packages/elementtree/trunk/debian/rules (original)
+++ packages/elementtree/trunk/debian/rules Wed Jun 14 20:29:05 2006
@@ -1,13 +1,14 @@
 #!/usr/bin/make -f
 
+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
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-
 # Install egg-info directories
-DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed \
-	--install-lib usr/share/python-support/elementtree --no-compile -O0 
+DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+DEB_DESTDIR=debian/python-elementtree
 
 UPSTREAM_VERSION=$(shell python setup.py -V 2>&1 | sed 's/\-/_/')
 PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
@@ -15,8 +16,8 @@
 common-binary-post-install-indep::
 # 	where does this come from?
 	rm -rf debian/python-elementtree-doc/usr/share/python-support
-	mv debian/python-elementtree/usr/share/python-support/elementtree/elementtree-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
-                debian/python-elementtree/usr/share/python-support/elementtree/elementtree-${UPSTREAM_VERSION}.egg-info
+	mv debian/python-elementtree/usr/share/python-support/python-elementtree/elementtree-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
+                debian/python-elementtree/usr/share/python-support/python-elementtree/elementtree-${UPSTREAM_VERSION}.egg-info
 
 clean::
 #	hack (CDBS bug -- see #300149)
@@ -24,5 +25,5 @@
 
 binary-predeb/python-elementtree::
         # Which .py files to byte-compile
-	echo "2.3-2.4" > debian/python-elementtree/usr/share/python-support/elementtree/.version
+	echo "2.3-2.4" > debian/python-elementtree/usr/share/python-support/python-elementtree/.version
 




More information about the Python-modules-commits mailing list