From 89a58f39d07f07483ceff350fb065f29654fae1c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 16 Jan 2013 08:17:19 -0400 Subject: debian: add python 3 bindings This patch is due to Jakub Wilk . It does add a build depend on python3 for people using the "make debian-snapshot" target. --- debian/rules | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 8e303538..c4e3930d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,9 @@ #!/usr/bin/make -f +python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {} + %: - dh $@ --with python2 + dh $@ --with python2,python3 override_dh_auto_configure: dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch @@ -9,13 +11,16 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build dh_auto_build --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py build $(MAKE) -C contrib/notmuch-mutt override_dh_auto_clean: dh_auto_clean dh_auto_clean --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py clean -a $(MAKE) -C contrib/notmuch-mutt clean override_dh_auto_install: dh_auto_install dh_auto_install --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp -- cgit v1.2.3