[Python-modules-commits] r815 - in /packages/kid/trunk/debian:
changelog control python-kid.postinst python-kid.prerm rules
hertzog at users.alioth.debian.org
hertzog at users.alioth.debian.org
Wed Jun 14 20:42:03 UTC 2006
Author: hertzog
Date: Wed Jun 14 20:42:02 2006
New Revision: 815
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=815
Log:
Update to the new python policy.
Modified:
packages/kid/trunk/debian/changelog
packages/kid/trunk/debian/control
packages/kid/trunk/debian/python-kid.postinst
packages/kid/trunk/debian/python-kid.prerm
packages/kid/trunk/debian/rules
Modified: packages/kid/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/kid/trunk/debian/changelog?rev=815&op=diff
==============================================================================
--- packages/kid/trunk/debian/changelog (original)
+++ packages/kid/trunk/debian/changelog Wed Jun 14 20:42:02 2006
@@ -1,3 +1,11 @@
+kid (0.9.1-3) unstable; urgency=low
+
+ * Update to the new Python policy. Closes: #373449
+ * Depends on the new python-setuptools providing support
+ for multiple versions as well.
+
+ -- Raphael Hertzog <hertzog at debian.org> Wed, 14 Jun 2006 22:34:32 +0200
+
kid (0.9.1-2) unstable; urgency=low
* Add python-setuptools to the Depends field. Closes: #367092
Modified: packages/kid/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/kid/trunk/debian/control?rev=815&op=diff
==============================================================================
--- packages/kid/trunk/debian/control (original)
+++ packages/kid/trunk/debian/control Wed Jun 14 20:42:02 2006
@@ -3,17 +3,18 @@
Priority: optional
Maintainer: Ross Burton <ross at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Raphael Hertzog <hertzog at debian.org>
-Build-Depends: debhelper (>= 5.0.0), cdbs
-Build-Depends-Indep: python, python-dev, python-setuptools (>= 0.6a9), python-elementtree
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41)
+Build-Depends-Indep: python, python-dev, python-setuptools (>= 0.6a9), python-elementtree (>= 1.2.6-7)
+XS-Python-Version: all
Standards-Version: 3.7.2
Package: python-kid
Architecture: all
-Depends: python (>= 2.3), python (<< 2.5), python-support, python-elementtree (>= 1.2.6-6), python-setuptools (>= 0.6a9)
-Recommends: python2.4-elementtree
+Depends: ${python:Depends}, python-elementtree (>= 1.2.6-7), python-setuptools (>= 0.6b3-1)
Replaces: kid
Provides: kid
Conflicts: kid
+XB-Python-Version: ${python:Versions}
Description: simple Pythonic template language for XML based vocabularies
Kid is a simple Pythonic template language for XML based vocabularies. It was
spawned as a result of a kinky love triangle between XSLT, TAL, and PHP. We
Modified: packages/kid/trunk/debian/python-kid.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/kid/trunk/debian/python-kid.postinst?rev=815&op=diff
==============================================================================
--- packages/kid/trunk/debian/python-kid.postinst (original)
+++ packages/kid/trunk/debian/python-kid.postinst Wed Jun 14 20:42:02 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/kid
-fi
-
Modified: packages/kid/trunk/debian/python-kid.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/kid/trunk/debian/python-kid.prerm?rev=815&op=diff
==============================================================================
--- packages/kid/trunk/debian/python-kid.prerm (original)
+++ packages/kid/trunk/debian/python-kid.prerm Wed Jun 14 20:42:02 2006
@@ -4,7 +4,3 @@
#DEBHELPER#
-if which update-python-modules >/dev/null 2>&1; then
- update-python-modules -c -i /usr/share/python-support/kid
-fi
-
Modified: packages/kid/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/kid/trunk/debian/rules?rev=815&op=diff
==============================================================================
--- packages/kid/trunk/debian/rules (original)
+++ packages/kid/trunk/debian/rules Wed Jun 14 20:42:02 2006
@@ -1,4 +1,6 @@
#! /usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
@@ -13,11 +15,9 @@
binary-post-install/python-kid::
# Remove scripts which are provided by python-kid and fix rights
find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755
- mkdir -p debian/python-kid/usr/share/python-support/kid/
- mv debian/python-kid/usr/lib/python${PYVER}/site-packages/* debian/python-kid/usr/share/python-support/kid/
- mv debian/python-kid/usr/share/python-support/kid/kid-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
- debian/python-kid/usr/share/python-support/kid/kid-${UPSTREAM_VERSION}.egg-info
- rm -rf debian/python-kid/usr/lib/
+ mv debian/python-kid/usr/share/python-support/python-kid/kid-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
+ debian/python-kid/usr/share/python-support/python-kid/kid-${UPSTREAM_VERSION}.egg-info
+ -rm -rf debian/python-kid/usr/lib/
clean::
More information about the Python-modules-commits
mailing list