Hi, Attached is the diff for my python-kinterbasdb 3.1.2-0.2 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u python-kinterbasdb-3.1.2/debian/control python-kinterbasdb-3.1.2/debian/control --- python-kinterbasdb-3.1.2/debian/control +++ python-kinterbasdb-3.1.2/debian/control @@ -5,24 +5,14 @@ -Build-Depends: debhelper (>> 4.1.67), firebird2-dev, python2.3-dev, python2.4-dev, python-egenix-mx-base-dev, python -Standards-Version: 3.6.2.1 +Build-Depends: debhelper (>= 5.0.37.2), firebird2-dev, python-all-dev (>= 2.3.5-11), python-egenix-mx-base-dev, python-support (>= 0.3) +Standards-Version: 3.7.2 Package: python-kinterbasdb -Architecture: all +Architecture: any Depends: ${python:Depends} +Provides: ${python:Provides} +Replaces: python2.3-kinterbasdb (<< 3.1.2-0.1), python2.4-kinterbasdb (<< 3.1.2-0.1) +Conflicts: python2.3-kinterbasdb (<< 3.1.2-0.1), python2.4-kinterbasdb (<< 3.1.2-0.1) +XB-Python-Version: ${python:Versions} Description: InterBase/Firebird support for Python This package allows access to InterBase and/or Firebird databases from Python via the standard Python Database API version 2.0. -Package: python2.3-kinterbasdb -Architecture: any -Depends: libc6 (>= 2.3.2.ds1-4), python2.3, python2.3-egenix-mxdatetime, libfirebird2 -Description: InterBase/Firebird support for Python - This package allows access to InterBase and/or Firebird databases from - Python via the standard Python Database API version 2.0. - -Package: python2.4-kinterbasdb -Architecture: any -Depends: libc6 (>= 2.3.2.ds1-4), python2.4, python2.4-egenix-mxdatetime, libfirebird2 -Description: InterBase/Firebird support for Python - This package allows access to InterBase and/or Firebird databases from - Python via the standard Python Database API version 2.0. - diff -u python-kinterbasdb-3.1.2/debian/rules python-kinterbasdb-3.1.2/debian/rules --- python-kinterbasdb-3.1.2/debian/rules +++ python-kinterbasdb-3.1.2/debian/rules @@ -6,8 +6,8 @@ #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. -export DH_COMPAT=3 - +export DH_COMPAT=5 +export DH_PYCOMPAT=2 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) @@ -17,13 +17,14 @@ INSTALL_PROGRAM += -s endif +PYVERS=$(shell pyversions -r) + build: build-stamp build-stamp: dh_testdir - # Add here commands to compile the package. - python2.3 setup.py build - python2.4 setup.py build + set-e; \ + for py in $(PYVERS); do $$py setup.py build; done touch build-stamp @@ -32,9 +33,7 @@ dh_testroot rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. - -python2.3 setup.py clean - -python2.4 setup.py clean + -for py in $(PYVERS); do $$py setup.py clean; done rm -rf build/* dh_clean -A @@ -44,14 +43,14 @@ dh_clean -k dh_installdirs - python2.3 setup.py install --root=debian/python2.3-kinterbasdb - python2.4 setup.py install --root=debian/python2.4-kinterbasdb + set -e; \ + for py in $(PYVERS); do \ + $$py setup.py install --root=debian/python-kinterbasdb; \ + done -find debian -name '*.py[co]' | xargs rm -f : # these are wrongly installed by the script above: - rm -rf debian/python2.3-kinterbasdb/usr/lib/python2.3/site-packages/kinterbasdb/docs - rm -rf debian/python2.4-kinterbasdb/usr/lib/python2.4/site-packages/kinterbasdb/docs - + rm -rf debian/python-kinterbasdb/usr/lib/python*/site-packages/kinterbasdb/docs docs_to_install = \ docs/*.html docs/*.css @@ -69,6 +68,7 @@ dh_link -i dh_compress -i dh_fixperms -i + dh_pysupport -i dh_python -i dh_installdeb -i dh_gencontrol -i @@ -90,6 +90,7 @@ dh_strip -a dh_compress -a dh_fixperms -a + dh_pysupport -a dh_python -a dh_installdeb -a # Any form of libfirebird2 should work -- manually override this diff -u python-kinterbasdb-3.1.2/debian/changelog python-kinterbasdb-3.1.2/debian/changelog --- python-kinterbasdb-3.1.2/debian/changelog +++ python-kinterbasdb-3.1.2/debian/changelog @@ -1,3 +1,10 @@ +python-kinterbasdb (3.1.2-0.2) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the new Python policy (closes: #373323). + + -- Pierre Habouzit <[EMAIL PROTECTED]> Thu, 29 Jun 2006 10:36:08 +0200 + python-kinterbasdb (3.1.2-0.1) unstable; urgency=low * Non-maintainer upload with approval by maintainer
signature.asc
Description: Digital signature