Bug#373512: diff for 0.6.18 NMU
tag 373512 + patch
thanks
Hi,
Attached is the diff for my python-apt 0.6.18 NMU. It has been
uploaded to sid.
Cheers,
--
Raphaël Hertzog
Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/
diff -Nru /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/changelog /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/changelog
--- /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/changelog 2006-05-08 22:34:58.000000000 +0200
+++ /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/changelog 2006-06-17 15:10:22.000000000 +0200
@@ -1,3 +1,10 @@
+python-apt (0.6.18) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update for the new Python policy. Closes: #373512
+
+ -- Raphael Hertzog <hertzog@debian.org> Sat, 17 Jun 2006 15:09:28 +0200
+
python-apt (0.6.17) unstable; urgency=low
* apt/progress.py:
diff -Nru /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/control /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/control
--- /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/control 2006-04-29 21:43:15.000000000 +0200
+++ /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/control 2006-06-17 15:18:26.000000000 +0200
@@ -4,42 +4,17 @@
Maintainer: APT Development Team <deity@lists.debian.org>
Uploaders: Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
Standards-Version: 3.6.2.0
-Build-Depends: debhelper (>= 5.0), libapt-pkg-dev (>= 0.6.40), apt-utils, python-dev, python2.4-dev, python2.3-dev
+XS-Python-Version: all
+Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.40), apt-utils, python-all-dev, python-central
Package: python-apt
-Architecture: all
-Depends: ${python:Depends}
-Priority: optional
-Description: Python interface to libapt-pkg
- The apt-pkg Python interface will provide full access to the internal
- libapt-pkg structures allowing Python programs to easily perform a
- variety of functions, such as:
- .
- - Access to the APT configuration system
- - Access to the APT package information database
- - Parsing of Debian package control files, and other files with a
- similar structure
-
-Package: python2.3-apt
Architecture: any
-Depends: python2.3, ${shlibs:Depends}
-Replaces: python-apt (<< 0.6.11)
-Priority: optional
-Description: Python interface to libapt-pkg
- The apt-pkg Python interface will provide full access to the internal
- libapt-pkg structures allowing Python programs to easily perform a
- variety of functions, such as:
- .
- - Access to the APT configuration system
- - Access to the APT package information database
- - Parsing of Debian package control files, and other files with a
- similar structure
-
-Package: python2.4-apt
-Architecture: any
-Depends: python2.4, ${shlibs:Depends}
-Replaces: python-apt (<< 0.6.11)
+Depends: ${python:Depends}
Priority: optional
+Replaces: python2.3-apt (<< 0.6.18), python-2.4-apt (<< 0.6.18)
+Conflicts: python2.3-apt (<< 0.6.18), python-2.4-apt (<< 0.6.18)
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
Description: Python interface to libapt-pkg
The apt-pkg Python interface will provide full access to the internal
libapt-pkg structures allowing Python programs to easily perform a
diff -Nru /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/rules /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/rules
--- /tmp/Wlcxj2hH09/python-apt-0.6.17/debian/rules 2006-04-29 21:43:16.000000000 +0200
+++ /tmp/5KoIhlQbS7/python-apt-0.6.18/debian/rules 2006-06-17 15:21:32.000000000 +0200
@@ -12,7 +12,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-PYTHON=python2.3 python2.4
+PYTHON=$(shell pyversions -r debian/control)
build: build-stamp
build-stamp:
@@ -38,18 +38,6 @@
# Build architecture-independent files here.
binary-indep: DH_OPTIONS=-i
binary-indep: build
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples doc/examples/*.py
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_python
- dh_gencontrol
- dh_md5sums
- dh_builddeb
# Build architecture-dependent files here.
binary-arch: DH_OPTIONS=-a
@@ -57,11 +45,11 @@
dh_testdir
dh_testroot
dh_clean -k
-
+
for PY in $(PYTHON); do \
- /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/$${PY}-apt/usr; \
+ /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/python-apt/usr; \
done
-
+
dh_installdocs
dh_installchangelogs
dh_strip
@@ -69,6 +57,7 @@
dh_fixperms
dh_installdeb
dh_shlibdeps
+ dh_pycentral
dh_python
dh_gencontrol
dh_md5sums
Reply to: