Package: debhelper
Severity: wishlist
Please add support to build python3-* packages; in #597099 you'll see what is
currently necessary to add building a python3-* package. It would be nice if
the overrides don't explicitly need to be added. The various python3-* packages
are currently in experimental.
Debhelper currently uses `pversions' to iterate over the requested python
versions. Maybe it is just enough to iterate over the output of py3versions too,
if dh is called --with python3?
diff -Nru pyxdg-0.19/debian/rules pyxdg-0.19/debian/rules
--- pyxdg-0.19/debian/rules 2009-12-09 21:11:54.000000000 +0100
+++ pyxdg-0.19/debian/rules 2010-09-16 16:57:45.000000000 +0200
@@ -1,4 +1,20 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with python3
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py build; \
+ done
+
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py install --root=$(CURDIR)/debian/tmp
--install-layout=deb; \
+ done
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]