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

kov at users.alioth.debian.org kov at users.alioth.debian.org
Sat Jun 24 20:18:27 UTC 2006


Author: kov
Date: Sat Jun 24 20:18:24 2006
New Revision: 1054

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1054
Log:
  * debian/{control,rules,pycompat,pyversions}:
  - use new Python Policy, using python-support 0.3
  * debian/python-dispatch.{postinst,prerm}, debian/python-support.version:
  - removed; handled by dh_pysupport

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

Modified: packages/ruledispatch/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/ruledispatch/trunk/debian/changelog?rev=1054&op=diff
==============================================================================
--- packages/ruledispatch/trunk/debian/changelog (original)
+++ packages/ruledispatch/trunk/debian/changelog Sat Jun 24 20:18:24 2006
@@ -1,3 +1,12 @@
+ruledispatch (0.5adev-2) UNRELEASED; urgency=low
+
+  * debian/{control,rules,pycompat,pyversions}:
+  - use new Python Policy, using python-support 0.3
+  * debian/python-dispatch.{postinst,prerm}, debian/python-support.version:
+  - removed; handled by dh_pysupport
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Sat, 24 Jun 2006 17:17:57 -0300
+
 ruledispatch (0.5adev-1) unstable; urgency=low
 
   * Initial release (Closes: #338698)

Modified: packages/ruledispatch/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/ruledispatch/trunk/debian/control?rev=1054&op=diff
==============================================================================
--- packages/ruledispatch/trunk/debian/control (original)
+++ packages/ruledispatch/trunk/debian/control Sat Jun 24 20:18:24 2006
@@ -2,13 +2,14 @@
 Section: python
 Priority: optional
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
-Build-Depends: debhelper (>= 4.1.0), cdbs, python, python-setuptools (>= 0.6a7)
-Build-Depends-Indep: python-dev, python-protocols (>> 1.0)
+Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.2), python, python-setuptools (>= 0.6a9-1), python-all-dev, python-support (>= 0.3), python-protocols (>> 1.0)
 Standards-Version: 3.7.2
+XS-Python-Version: all, >= 2.3
 
 Package: python-dispatch
-Architecture: all
-Depends: python (>= 2.3), python (<< 2.5), python-support, python-protocols (>> 1.0)
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-protocols (>> 1.0)
+XB-Python-Version: ${python:Versions}
 Description: Rule-based Dispatching and Generic Functions
  The dispatch module allows Python programmers to write generic
  functions to handle various problems based on rules for the arguments

Added: packages/ruledispatch/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/ruledispatch/trunk/debian/pycompat?rev=1054&op=file
==============================================================================
--- packages/ruledispatch/trunk/debian/pycompat (added)
+++ packages/ruledispatch/trunk/debian/pycompat Sat Jun 24 20:18:24 2006
@@ -1,0 +1,1 @@
+2

Added: packages/ruledispatch/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/ruledispatch/trunk/debian/pyversions?rev=1054&op=file
==============================================================================
--- packages/ruledispatch/trunk/debian/pyversions (added)
+++ packages/ruledispatch/trunk/debian/pyversions Sat Jun 24 20:18:24 2006
@@ -1,0 +1,1 @@
+2.3-

Modified: packages/ruledispatch/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/ruledispatch/trunk/debian/rules?rev=1054&op=diff
==============================================================================
--- packages/ruledispatch/trunk/debian/rules (original)
+++ packages/ruledispatch/trunk/debian/rules Sat Jun 24 20:18:24 2006
@@ -1,15 +1,15 @@
 #! /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
 
-DEB_PYTHON_SETUP_CMD += --without-speedups
-DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/python-support/python-dispatch
+DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+PYVER=$(shell pyversions -vr 'current')
+UPSTREAM_VERSION=$(shell echo ${DEB_UPSTREAM_VERSION} | sed s,dev,0,g)
 
-clean::
-	# hack (CDBS bug -- see #300149)
-	-rm -rf build
+binary-post-install/python-dispatch::
+	mv debian/python-dispatch/usr/share/python-support/python-dispatch/RuleDispatch-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
+		debian/python-dispatch/usr/share/python-support/python-dispatch/RuleDispatch-${UPSTREAM_VERSION}.egg-info
 
-common-binary-post-install-indep::
-	install -D -o root -g root -m 644 debian/python-support.version \
-		debian/python-dispatch/usr/share/python-support/python-dispatch/.version




More information about the Python-modules-commits mailing list