Hello,
I forgot the attachment. Sorry.
Regards,
Arnaud Fontaine
diff -urN python-adns-1.0.0.old/debian/changelog
python-adns-1.0.0/debian/changelog
--- python-adns-1.0.0.old/debian/changelog 2006-07-03 22:49:33.000000000
+0200
+++ python-adns-1.0.0/debian/changelog 2006-07-03 22:51:38.000000000 +0200
@@ -1,3 +1,11 @@
+python-adns (1.0.0-6.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Switching to the new python policy. Closes: #330625.
+ * Update Standards-Version. No changes needed.
+
+ -- Arnaud Fontaine <[EMAIL PROTECTED]> Mon, 3 Jul 2006 22:14:05 +0200
+
python-adns (1.0.0-6.1) unstable; urgency=low
* Non-maintainer upload.
diff -urN python-adns-1.0.0.old/debian/control python-adns-1.0.0/debian/control
--- python-adns-1.0.0.old/debian/control 2006-07-03 22:49:33.000000000
+0200
+++ python-adns-1.0.0/debian/control 2006-07-04 01:10:10.000000000 +0200
@@ -2,29 +2,16 @@
Section: net
Priority: optional
Maintainer: Peter Hawkins <[EMAIL PROTECTED]>
-Build-Depends: python, python2.3, python2.4, python2.3-dev, python2.4-dev,
libadns1-dev, debhelper (>= 4.1.67)
-Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
python-support (>= 0.3.2), libadns1-dev
+Standards-Version: 3.7.2
Package: python-adns
-Architecture: all
-Depends: ${python:Depends}
-Description: Python bindings to the asynchronous DNS resolver library
- This module provides a python binding to the adns asynchronous DNS resolver
- library.
- .
- This is a dummy package which depends on the version of python-adns for the
- default python version.
-
-Package: python2.3-adns
Architecture: any
-Depends: ${shlibs:Depends}, python2.3
-Description: A Python 2.3 interface to the asynchronous DNS resolver library
- This module provides a python binding to the adns asynchronous DNS resolver
- library.
-
-Package: python2.4-adns
-Architecture: any
-Depends: ${shlibs:Depends}, python2.4
-Description: A Python 2.4 interface to the asynchronous DNS resolver library
+Depends: ${python:Depends}, ${shlibs:Depends}
+Conflicts: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
+Replaces: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to the asynchronous DNS resolver library
This module provides a python binding to the adns asynchronous DNS resolver
library.
diff -urN python-adns-1.0.0.old/debian/pycompat
python-adns-1.0.0/debian/pycompat
--- python-adns-1.0.0.old/debian/pycompat 1970-01-01 01:00:00.000000000
+0100
+++ python-adns-1.0.0/debian/pycompat 2006-07-03 22:18:10.000000000 +0200
@@ -0,0 +1 @@
+2
diff -urN python-adns-1.0.0.old/debian/rules python-adns-1.0.0/debian/rules
--- python-adns-1.0.0.old/debian/rules 2006-07-03 22:49:33.000000000 +0200
+++ python-adns-1.0.0/debian/rules 2006-07-04 01:29:40.000000000 +0200
@@ -6,9 +6,7 @@
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
-
+export DH_COMPAT=5
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
@@ -17,24 +15,24 @@
INSTALL_PROGRAM += -s
endif
+PYVERS=$(shell pyversions -r)
+
build: build-stamp
build-stamp:
dh_testdir
-
- /usr/bin/python2.3 setup.py build --build-lib build2.3
- /usr/bin/python2.4 setup.py build --build-lib build2.4
-
+ for python in $(PYVERS); \
+ do $$python setup.py build; \
+ done
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
- rm -f *.pyc
- /usr/bin/python2.3 setup.py clean --all --build-lib build2.3
- /usr/bin/python2.4 setup.py clean --all --build-lib build2.4
- -rm -fr build
+ for python in $(PYVERS); \
+ do $$python setup.py clean; \
+ done
+ -rm -fr build build-stamp *.pyc
dh_clean
@@ -45,12 +43,12 @@
# dh_installdirs
# Add here commands to install the package into debian/tmp
- /usr/bin/python2.3 setup.py install
--prefix=$(CURDIR)/debian/python2.3-adns/usr
- /usr/bin/python2.4 setup.py install
--prefix=$(CURDIR)/debian/python2.4-adns/usr
-
+ for python in $(PYVERS); \
+ do $$python setup.py install --root=debian/python-adns; \
+ done
# Build architecture-independent files here.
-#binary-indep: build install
+binary-indep:
# Build architecture-dependent files here.
binary-arch: build install
@@ -77,6 +75,7 @@
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
+ dh_pysupport -a
dh_python -a
dh_installdeb
# dh_perl -a