[Python-modules-commits] r1011 - in /packages/turbojson/trunk/debian: changelog control pycompat python-support.version python-turbojson.postinst python-turbojson.prerm pyversions rules

kov at users.alioth.debian.org kov at users.alioth.debian.org
Fri Jun 23 19:26:45 UTC 2006


Author: kov
Date: Fri Jun 23 19:26:44 2006
New Revision: 1011

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1011
Log:
complying with the new Python Policy

Added:
    packages/turbojson/trunk/debian/pycompat
    packages/turbojson/trunk/debian/pyversions
Removed:
    packages/turbojson/trunk/debian/python-support.version
    packages/turbojson/trunk/debian/python-turbojson.postinst
    packages/turbojson/trunk/debian/python-turbojson.prerm
Modified:
    packages/turbojson/trunk/debian/changelog
    packages/turbojson/trunk/debian/control
    packages/turbojson/trunk/debian/rules

Modified: packages/turbojson/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/turbojson/trunk/debian/changelog?rev=1011&op=diff
==============================================================================
--- packages/turbojson/trunk/debian/changelog (original)
+++ packages/turbojson/trunk/debian/changelog Fri Jun 23 19:26:44 2006
@@ -1,6 +1,10 @@
 turbojson (0.9.3-2) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * New Python Policy (Closes: #374697)
+  - this release also depend on the new-policy-compliant version of
+    python-sqlobject (Closes: #374690)
+  * debian/python-turbojson.{postinst,prerm}, debian/python-support.version:
+  - handled by dh_pysupport now
 
  -- Gustavo Noronha Silva <kov at debian.org>  Sat, 20 May 2006 14:26:24 -0300
 

Modified: packages/turbojson/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/turbojson/trunk/debian/control?rev=1011&op=diff
==============================================================================
--- packages/turbojson/trunk/debian/control (original)
+++ packages/turbojson/trunk/debian/control Fri Jun 23 19:26:44 2006
@@ -3,13 +3,15 @@
 Priority: optional
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs, debhelper (>= 4.1.0), python, python-setuptools (>= 0.6a11-1)
-Build-Depends-Indep: python-dev
+Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.1), python, python-setuptools (>= 0.6b3-1)
+Build-Depends-Indep: python-all-dev (>= 2.3.5-10), python-support (>= 0.3)
 Standards-Version: 3.7.2
+XS-Python-Version: all, >= 2.4
 
 Package: python-turbojson
 Architecture: all
-Depends: python (>= 2.4) | python2.4, python (<< 2.5) | python2.4, python-support, python2.4-simplejson, python-dispatch, python2.4-sqlobject
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, python-simplejson (>= 1.1-1.1), python-dispatch, python-sqlobject (>= 0.7.0-3)
 Description: TurboGears template plugin that supports Json templates
  This package enables the use of json templates in the TurboGears
  megaframework.

Added: packages/turbojson/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/turbojson/trunk/debian/pycompat?rev=1011&op=file
==============================================================================
--- packages/turbojson/trunk/debian/pycompat (added)
+++ packages/turbojson/trunk/debian/pycompat Fri Jun 23 19:26:44 2006
@@ -1,0 +1,1 @@
+2

Added: packages/turbojson/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/turbojson/trunk/debian/pyversions?rev=1011&op=file
==============================================================================
--- packages/turbojson/trunk/debian/pyversions (added)
+++ packages/turbojson/trunk/debian/pyversions Fri Jun 23 19:26:44 2006
@@ -1,0 +1,1 @@
+2.4-

Modified: packages/turbojson/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/turbojson/trunk/debian/rules?rev=1011&op=diff
==============================================================================
--- packages/turbojson/trunk/debian/rules (original)
+++ packages/turbojson/trunk/debian/rules Fri Jun 23 19:26:44 2006
@@ -1,18 +1,10 @@
 #!/usr/bin/make -f
 
+DEB_PYTHON_SYSTEM := pysupport
+
 include /usr/share/cdbs/1/rules/buildcore.mk
-# 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
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-DEB_PYTHON_INSTALL_ARGS_ALL = --single-version-externally-managed --no-compile -O0 --install-lib usr/share/python-support/python-turbojson --install-data usr/share/doc/python-turbojson
-
-binary-post-install/python-turbojson::
-	install -D -o root -g root -m 644 debian/python-support.version \
-		debian/python-turbojson/usr/share/python-support/python-turbojson/.version
-
-clean::
-	# hack (CDBS bug -- see #300149)
-	-rm -rf build
+DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/python-support/python-turbojson --install-data usr/share/doc/python-turbojson




More information about the Python-modules-commits mailing list