diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-04 10:56:15 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-04 10:56:15 +0200 |
| commit | fcd8b493d488afa542ffba3bdde0dada9f488352 (patch) | |
| tree | 496dbbec0d98787b141d2e8d4ac954ec09c37901 /debian/rules | |
| parent | 28233cb715fafbd460cf55a79e4625123e65a702 (diff) | |
| download | python-apt-fcd8b493d488afa542ffba3bdde0dada9f488352.tar.gz | |
Merge not-uploaded NMU diff by 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
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 9 |
1 files changed, 9 insertions, 0 deletions
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; \ |
