mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
debian: add python 3 bindings
This patch is due to Jakub Wilk <jwilk@debian.org>. It does add a build depend on python3 for people using the "make debian-snapshot" target.
This commit is contained in:
parent
ae773ad6aa
commit
89a58f39d0
4 changed files with 24 additions and 3 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -4,8 +4,10 @@ notmuch (0.15~rc1-1) experimental; urgency=low
|
||||||
* Change priority to optional (Closes: #687217).
|
* Change priority to optional (Closes: #687217).
|
||||||
* Remove Dm-Upload-Allowed field, as this is no longer used by
|
* Remove Dm-Upload-Allowed field, as this is no longer used by
|
||||||
Debian.
|
Debian.
|
||||||
|
* Add python3 bindings, thanks to Jakub Wilk (Closes:
|
||||||
|
#683515).
|
||||||
|
|
||||||
-- David Bremner <bremner@debian.org> Mon, 07 Jan 2013 21:40:52 -0400
|
-- David Bremner <bremner@debian.org> Wed, 16 Jan 2013 08:25:02 -0400
|
||||||
|
|
||||||
notmuch (0.14-1) experimental; urgency=low
|
notmuch (0.14-1) experimental; urgency=low
|
||||||
|
|
||||||
|
|
14
debian/control
vendored
14
debian/control
vendored
|
@ -14,6 +14,7 @@ Build-Depends:
|
||||||
libtalloc-dev,
|
libtalloc-dev,
|
||||||
libz-dev,
|
libz-dev,
|
||||||
python-all (>= 2.6.6-3~),
|
python-all (>= 2.6.6-3~),
|
||||||
|
python3-all (>= 3.1.2-7~),
|
||||||
emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~) |
|
emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~) |
|
||||||
emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~),
|
emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~),
|
||||||
gdb,
|
gdb,
|
||||||
|
@ -75,6 +76,19 @@ Description: python interface to the notmuch mail search and index library
|
||||||
This package provides a Python interface to the notmuch
|
This package provides a Python interface to the notmuch
|
||||||
functionality, directly interfacing with a shared notmuch library.
|
functionality, directly interfacing with a shared notmuch library.
|
||||||
|
|
||||||
|
Package: python3-notmuch
|
||||||
|
Architecture: all
|
||||||
|
Section: python
|
||||||
|
Depends: ${misc:Depends}, ${python3:Depends}, libnotmuch3
|
||||||
|
Description: Python 3 interface to the notmuch mail search and index library
|
||||||
|
Notmuch is a system for indexing, searching, reading, and tagging
|
||||||
|
large collections of email messages in maildir or mh format. It uses
|
||||||
|
the Xapian library to provide fast, full-text search with a very
|
||||||
|
convenient search syntax.
|
||||||
|
.
|
||||||
|
This package provides a Python 3 interface to the notmuch
|
||||||
|
functionality, directly interfacing with a shared notmuch library.
|
||||||
|
|
||||||
Package: notmuch-emacs
|
Package: notmuch-emacs
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Section: mail
|
Section: mail
|
||||||
|
|
2
debian/python-notmuch.install
vendored
2
debian/python-notmuch.install
vendored
|
@ -1 +1 @@
|
||||||
usr/lib/python*
|
usr/lib/python2*
|
||||||
|
|
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -1,7 +1,9 @@
|
||||||
#!/usr/bin/make -f
|
#!/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:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
||||||
|
@ -9,13 +11,16 @@ override_dh_auto_configure:
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
dh_auto_build
|
dh_auto_build
|
||||||
dh_auto_build --sourcedirectory bindings/python
|
dh_auto_build --sourcedirectory bindings/python
|
||||||
|
cd bindings/python && $(python3_all) setup.py build
|
||||||
$(MAKE) -C contrib/notmuch-mutt
|
$(MAKE) -C contrib/notmuch-mutt
|
||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
dh_auto_clean
|
dh_auto_clean
|
||||||
dh_auto_clean --sourcedirectory bindings/python
|
dh_auto_clean --sourcedirectory bindings/python
|
||||||
|
cd bindings/python && $(python3_all) setup.py clean -a
|
||||||
$(MAKE) -C contrib/notmuch-mutt clean
|
$(MAKE) -C contrib/notmuch-mutt clean
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install
|
dh_auto_install
|
||||||
dh_auto_install --sourcedirectory bindings/python
|
dh_auto_install --sourcedirectory bindings/python
|
||||||
|
cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
|
||||||
|
|
Loading…
Reference in a new issue