summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/control2
-rw-r--r--debian/python3-apt.install2
-rwxr-xr-xdebian/rules9
4 files changed, 16 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 34f126b8..857a3a7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,12 @@ python-apt (0.7.100.3) UNRELEASED; urgency=low
* tests/test_apt_cache.py:
- Package records 'Package' field now corresponds to shortname
+ [ Scott Kitterman ]
+ * Override override_dh_auto_install to install python3 extensions in the
+ correct locations (Closes: #619528)
+ - Drop .so files from python3-apt.install
+ * Removed ${python:Breaks} - No longer used in dh_python2
+
-- Julian Andres Klode <jak@debian.org> Mon, 04 Apr 2011 09:48:10 +0200
python-apt (0.7.100.2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c434e35b..9985a685 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Package: python-apt
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-apt-common
Recommends: lsb-release, iso-codes, python2.6
-Breaks: debdelta (<< 0.28~), packagekit-backend-apt (<= 0.4.8-0ubuntu4), ${python:Breaks}
+Breaks: debdelta (<< 0.28~), packagekit-backend-apt (<= 0.4.8-0ubuntu4)
Provides: ${python:Provides}
Suggests: python-apt-dbg, python-gtk2, python-vte, python-apt-doc
XB-Python-Version: ${python:Versions}
diff --git a/debian/python3-apt.install b/debian/python3-apt.install
index 352d102b..6335f751 100644
--- a/debian/python3-apt.install
+++ b/debian/python3-apt.install
@@ -1,4 +1,2 @@
-usr/lib/python3*/*/apt_pkg*.so
-usr/lib/python3*/*/apt_inst*.so
usr/lib/python3*/*/*/
usr/lib/python3*/*/*.egg-info
diff --git a/debian/rules b/debian/rules
index a38b4605..d020e901 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,15 @@ export SHELL = env PATH=$(PATH) sh
override_dh_auto_build:
dh_auto_build
+override_dh_auto_install:
+ for i in $(shell py3versions -r); do \
+ $$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-apt; \
+ done
+ for i in $(shell py3versions -r); do \
+ $$i-dbg ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-apt-dbg; \
+ done
+ dh_auto_install
+
override_dh_installdocs:
set -e; if [ -z $(filter -a,$(DH_INTERNAL_OPTIONS)) ]; then \
python setup.py build_sphinx; \