summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2011-11-24 18:07:59 +0000
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2011-11-24 18:07:59 +0000
commitc9b50be424479b7c2fb87ce9b7925a080089a746 (patch)
tree0bb2786a7ecb0d1576330cc6de86bda86302bbdb /net-mail
parentUnmasked dev-lang/spidermonkey-1.8.5 and non-gnome3 package versions that dep... (diff)
downloadhistorical-c9b50be424479b7c2fb87ce9b7925a080089a746.tar.gz
historical-c9b50be424479b7c2fb87ce9b7925a080089a746.tar.bz2
historical-c9b50be424479b7c2fb87ce9b7925a080089a746.zip
net-mail/notmuch: Version bump to 0.10.
Raised minimum Python version to 2.6 for Python bindings. Package-Manager: portage-2.1.10.37/cvs/Linux x86_64
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/notmuch/ChangeLog7
-rw-r--r--net-mail/notmuch/Manifest18
-rw-r--r--net-mail/notmuch/notmuch-0.10.ebuild154
3 files changed, 170 insertions, 9 deletions
diff --git a/net-mail/notmuch/ChangeLog b/net-mail/notmuch/ChangeLog
index 8f11d11e4132..6c99604c6854 100644
--- a/net-mail/notmuch/ChangeLog
+++ b/net-mail/notmuch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/notmuch
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.13 2011/11/24 14:40:58 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.14 2011/11/24 18:07:59 aidecoe Exp $
+
+*notmuch-0.10 (24 Nov 2011)
+
+ 24 Nov 2011; Amadeusz Żołnowski <aidecoe@gentoo.org> +notmuch-0.10.ebuild:
+ Version bump. Raised minimum Python version to 2.6 for Python bindings.
24 Nov 2011; Amadeusz Żołnowski <aidecoe@gentoo.org> notmuch-0.9-r2.ebuild:
Added app-misc/dtach which is required in test phase. Sphinx (doc builder)
diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index b83a300b50c4..485522293a45 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -4,18 +4,20 @@ Hash: SHA1
AUX 0.9-emacsetcdir.patch 2758 RMD160 68932d9daddc174c073e641fdfca0ea42ecd91e9 SHA1 5070e32a2d3de1869e97b1ec584c1dce7df0f2ea SHA256 93e8822169eaa4f5c95ce462324c9065c64ab20672f3880ad9e9e8d6c2b80762
AUX 0.9-fix-lib-makefile-local.patch 1897 RMD160 b7e1092958b3d0cee7f150eae7bd3541fb103bf5 SHA1 d0bc5aa910d468074bf83bfd5f6d1031603713ad SHA256 15bde8ab8ae75f4fd7b40e56d723373719dfe5511b7ea6113e87d9a8804f80d0
AUX 50notmuch-gentoo.el 291 RMD160 7e036b8700f50cde6c3b27622193ddf08812229b SHA1 cc087fe76f750e84171a6ddef9dc10139b8450cc SHA256 68c0ecfd3d10246fb65ec48b097c1b477ce33f44014f602f903c16b752ba7d3b
+DIST notmuch-0.10.tar.gz 408308 RMD160 c0f6cf77808a2b16716aed159083667c2a55b7c0 SHA1 6dc3d84da53cb16818d06e1825022f3b23e473d5 SHA256 eab0210d92bddc5d9b96c4b2bcc661d300e5c6f55ab5b1882b926d6266530aa6
DIST notmuch-0.9.tar.gz 398868 RMD160 b956ceb629943bfa65c1c6fab6b10dc78639588b SHA1 988e93545880e9465380383f00d591d8a23c61dd SHA256 e6f1046941d2894d143cb7c19d4810f97946f98742f6d9b8a7208ddb858c57e4
+EBUILD notmuch-0.10.ebuild 3300 RMD160 a0784ed7c2e7538535e2babc53fa6d4697773474 SHA1 7954c8088ae341ecb5e122fb73d3125f7a0fe9f8 SHA256 9515263d38538f2ab0f191fd6e436dcf133b5d872fcea45a6893c96aacc4c6a7
EBUILD notmuch-0.9-r2.ebuild 3433 RMD160 987756ceca027cab2d2d10b3a3be3d64bfb0c5d4 SHA1 2f53172cee8288895387aafcc05af62d9b77b359 SHA256 00748abffb4ff5718427671a4f2dceace62418a248e4fd4929c3db4df4ce9f9b
-MISC ChangeLog 3240 RMD160 651b4b8d85c106f289873a4682143e71617b7e2f SHA1 5a4808a6da67605e8422c3333027aa24e382641c SHA256 a4c661d0168305789a2e36f3e807faacc60545a9ea997ed3faa910ee7a52bcdf
+MISC ChangeLog 3423 RMD160 1ecd557ba9285f89883e21e5e2692660f3cf42d9 SHA1 181dd2876ec5c9999acde63c6bdbe7e6fae3753c SHA256 cb7270f7e03d6aec0b5c7f4dff9bb6effa8b8d4e56e48b6c3489eff1718b9f19
MISC metadata.xml 870 RMD160 1ea6d669111c3e30f719c2337bb1fbebe7ab14aa SHA1 49ddae312621716998b7fe205f93536b2c2d20b4 SHA256 37955cc892c0585089e4dfb7ea2a8d1cb819164c4d098ba1be7253929be9890f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJOzleBAAoJEPATRTHh2/q16IgH/ijOJPUK25SoN6Zps+D7MlxW
-DPIvSoE5O4f/IFvZRo9+Fl4tj/d2580rkKCKJfLNfJ7uArNMjUjxTWvA8uGVarbG
-LCinPtJtWeygRL/YkshdDtWEma9h4CVzn+3q6SeRSQQFqWihaHSLZw3MQkyfKiSn
-Ik3m9rgXRxYRZluvw/bm4+ae/usVAkHPgYD1a7y9Qp+xRmAl51qDU24Kr8cVrsM/
-izv9gDZtsA0FW/+ex0af0W0Rh2KSKfnggXpRu6j7HP+VqtsfdXXonhlhZspBSFRx
-ciqY4wGazQ3alVgS/7kNL1vlgKXmzdnj9oEhrYLBu3eDr+bPKEsJICa+mXitkuo=
-=Ia4r
+iQEcBAEBAgAGBQJOzogGAAoJEPATRTHh2/q1zT4H/2e70kFAPl87tJ4gOxv9HzFG
+2FeD/kix+EHV07T93A/zFUlG6yWLZDMEfZfMberid+iDV+DhA7RdUx3oFgJo3DX3
+77s4K37cAIJiChVn0Sw9VW3dogX4c7M0zXLumr6Lw0KXGZIJhH1njvCWQarAl8x1
+SF7/NDHcwz7A0MCfvEYxqvQaIrUIFyvoytPXwv4XpyTfiQlaMNJrFESP5JgFBLEv
+d6uQSeOP47ZPPzWSpeYrabxJ1ngnWmQVwaSnUwsNWUPGsH9jAM2VV6vVKI2ymobH
+K+eIsO9stLs3sFU+2tzid2mf6DcMFDDJZkZlrWds6kl7afykQQU/09N9XGJLCMg=
+=WDz0
-----END PGP SIGNATURE-----
diff --git a/net-mail/notmuch/notmuch-0.10.ebuild b/net-mail/notmuch/notmuch-0.10.ebuild
new file mode 100644
index 000000000000..84f73ac442ae
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.10.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.10.ebuild,v 1.1 2011/11/24 18:07:59 aidecoe Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="python? 2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[45] 3.*"
+RUBY="/usr/bin/ruby18"
+RDOC="/usr/bin/rdoc18"
+
+inherit elisp-common distutils
+inherit autotools-utils
+
+DESCRIPTION="The mail indexer"
+HOMEPAGE="http://notmuchmail.org/"
+SRC_URI="${HOMEPAGE}/releases/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="test? ( crypt emacs )"
+IUSE="bash-completion crypt debug doc emacs python ruby test vim zsh-completion"
+
+CDEPEND="
+ >=dev-libs/glib-2.14
+ dev-libs/gmime:2.4
+ dev-libs/xapian
+ doc? ( python? ( dev-python/sphinx ) )
+ sys-libs/talloc
+ debug? ( dev-util/valgrind )
+ emacs? ( >=virtual/emacs-23 )
+ ruby? ( dev-lang/ruby:1.8 )
+ x86? ( >=dev-libs/xapian-1.2.7-r2 )
+ vim? ( || ( >=app-editors/vim-7.0 >=app-editors/gvim-7.0 ) )
+ "
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ test? ( app-misc/dtach sys-devel/gdb )
+ "
+RDEPEND="${CDEPEND}
+ crypt? ( app-crypt/gnupg )
+ zsh-completion? ( app-shells/zsh )
+ "
+
+DOCS=( AUTHORS NEWS README TODO )
+SITEFILE="50${PN}-gentoo.el"
+
+bindings() {
+ if use $1; then
+ pushd bindings/$1 || die
+ shift
+ $@
+ popd || die
+ fi
+}
+
+pkg_setup() {
+ if use emacs; then
+ elisp-need-emacs 23 || die "Emacs version too low"
+ fi
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ autotools-utils_src_prepare
+ bindings python distutils_src_prepare
+
+ r_fix() {
+ local pattern="\(find_library('notmuch', '[^']*', '\)\([^']*\)\(')\)"
+ local replace="\1${WORKDIR}/${PF}_build/lib\3"
+
+ sed -i "s|$pattern|$replace|" extconf.rb || die
+ }
+ bindings ruby r_fix
+}
+
+src_configure() {
+ local myeconfargs=(
+ --bashcompletiondir="${ROOT}/usr/share/bash-completion"
+ --emacslispdir="${ROOT}/${SITELISP}/${PN}"
+ --emacsetcdir="${ROOT}/${SITEETC}/${PN}"
+ --zshcompletiondir="${ROOT}/usr/share/zsh/site-functions"
+ $(use_with bash-completion)
+ $(use_with emacs)
+ $(use_with zsh-completion)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ bindings python distutils_src_compile
+
+ r_make() {
+ ${RUBY} extconf.rb || die
+ emake
+ }
+ bindings ruby r_make
+
+ if use doc; then
+ pydocs() {
+ pushd docs || die
+ emake html
+ mv html ../python || die
+ popd || die
+ }
+
+ rdocs() {
+ ${RDOC} --main 'Notmuch' --title 'Notmuch Ruby API' --op ruby *.c
+ }
+
+ LD_LIBRARY_PATH="${WORKDIR}/${PF}_build/lib" bindings python pydocs
+ bindings ruby rdocs
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+
+ if use vim; then
+ insinto /usr/share/vim/vimfiles
+ doins -r vim/plugin vim/syntax
+ fi
+
+ DOCS="" bindings python distutils_src_install
+ bindings ruby emake DESTDIR="'${D}'" install
+
+ if use doc; then
+ bindings python dohtml -r python
+ bindings ruby dohtml -r ruby
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+ use python && distutils_pkg_postinst
+
+ if use python; then
+ echo
+ elog "Python API documentation is also online available at:"
+ elog " http://packages.python.org/notmuch/"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+ use python && distutils_pkg_postrm
+}