diff options
| author | David Bremner <david@tethera.net> | 2019-11-02 17:33:20 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-11-02 18:21:25 -0300 |
| commit | 2a003f0f503b1e7a15b01664cf8217a4762d95cc (patch) | |
| tree | 871c7044595b2991494756ba10d3c1e9e173c90c /debian/rules | |
| parent | 1c8d9e172e57bad26ebb94a8cb22a959ebedb9a3 (diff) | |
debian upload 0.29.2-2: goodbye python2 supportdebian/0.29.2-2archive/debian/0.29.2-2
Convert to pybuild while we are at it.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index d056edb6..5a378f6e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,9 @@ #!/usr/bin/make -f -python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {} +export PYBUILD_NAME=notmuch %: - dh $@ --with python2,python3,elpa + dh $@ --with python3,elpa override_dh_auto_configure: BASHCMD=/bin/bash ./configure --prefix=/usr \ @@ -17,20 +17,17 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build -- V=1 - dh_auto_build --sourcedirectory bindings/python - cd bindings/python && $(python3_all) setup.py build + dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python $(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 + dh_auto_clean --buildsystem=pybuild --sourcedirectory bindings/python dh_auto_clean --sourcedirectory bindings/ruby $(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 + dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python $(MAKE) -C contrib/notmuch-mutt DESTDIR=$(CURDIR)/debian/tmp install dh_auto_install --sourcedirectory bindings/ruby |
