summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-20 16:43:40 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-20 16:43:40 +0000
commit9c50716b67a48253888bce7b56411f5f6ae95e8b (patch)
treeddc93b836c75b7a619bf516fb31776625e57b967 /dev-libs/xapian-bindings
parentRestore previous ChangeLog with a non-broken encoding (diff)
downloadhistorical-9c50716b67a48253888bce7b56411f5f6ae95e8b.tar.gz
historical-9c50716b67a48253888bce7b56411f5f6ae95e8b.tar.bz2
historical-9c50716b67a48253888bce7b56411f5f6ae95e8b.zip
Version bump (bug #338197).
Package-Manager: portage-2.2_rc85_p6/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/xapian-bindings')
-rw-r--r--dev-libs/xapian-bindings/ChangeLog8
-rw-r--r--dev-libs/xapian-bindings/Manifest4
-rw-r--r--dev-libs/xapian-bindings/xapian-bindings-1.2.3.ebuild137
3 files changed, 147 insertions, 2 deletions
diff --git a/dev-libs/xapian-bindings/ChangeLog b/dev-libs/xapian-bindings/ChangeLog
index 57f8a01f2e21..c7bf2794b3a3 100644
--- a/dev-libs/xapian-bindings/ChangeLog
+++ b/dev-libs/xapian-bindings/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/xapian-bindings
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/ChangeLog,v 1.16 2010/07/10 18:26:23 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/ChangeLog,v 1.17 2010/09/20 16:43:40 arfrever Exp $
+
+*xapian-bindings-1.2.3 (20 Sep 2010)
+
+ 20 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +xapian-bindings-1.2.3.ebuild:
+ Version bump (bug #338197).
*xapian-bindings-1.2.2 (10 Jul 2010)
diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest
index c493600f5fa4..2657554e1e83 100644
--- a/dev-libs/xapian-bindings/Manifest
+++ b/dev-libs/xapian-bindings/Manifest
@@ -1,6 +1,8 @@
DIST xapian-bindings-1.0.20.tar.gz 1069595 RMD160 f8f9aefe76cc237407f34c53e3e6be894ee4a45d SHA1 63437d4f310842f9cc9e80aad1b8f7113d489270 SHA256 855a106122202bd90b43c2f09861e9ae4ab2115f7ee1fe6208a6d1e614136548
DIST xapian-bindings-1.2.2.tar.gz 1177296 RMD160 ca59d5f4486f722a1c8d9531d70ccfc945fbc73e SHA1 9b26c1e5f911625bdaee47ac328f7ac626c3df8d SHA256 aa5848db9740b444101831b2891715b3e920076b181fe8ac482fd0d0f8a4e52d
+DIST xapian-bindings-1.2.3.tar.gz 1177525 RMD160 24fd71ab9aab9beaf0194ff58a99c60ab791a998 SHA1 c320a15be7d1dcf5fc22a46b3ada7cbd75de3823 SHA256 3f9d20464893712dc870db9f128ad45e32520cfc2447123caa191ab6c35fefb7
EBUILD xapian-bindings-1.0.20.ebuild 3209 RMD160 76b5fd72e5ab4fe4f2e028356f8b4b33fd5f2eb6 SHA1 bc9d41077141486be5700f432355fb00eed96931 SHA256 f96deb7e80c6893ec68e005a59987724adc4eb693bd0f012f487579598b18994
EBUILD xapian-bindings-1.2.2.ebuild 3261 RMD160 a6dbed539e8a2f67ddfc17598dbe3e0e4b3ca217 SHA1 078c54f6990150eb064dc32c5859af3d1aaa1516 SHA256 fc7f22dc3cea5fa7028085f5ed9c8ca7ccb1597e4e40ae51022ffd21fbca1a4d
-MISC ChangeLog 3843 RMD160 cf213251b75a88e9dfbee7c3c0a6e86d7b4b0b28 SHA1 8e29ddadc60727a002ef18b8ea50caa642365207 SHA256 e8271d80a35298ba4ed841f404261cd9a3cd9368d776673ac7beb6900a3258bc
+EBUILD xapian-bindings-1.2.3.ebuild 3267 RMD160 2961b24f5a1eab33f2e11d1456224296777532eb SHA1 69cec4d1bbb8aba270608a0221c2be0f5a2fae7e SHA256 14e4b36b78712e4ad74989d788b8c393d8cc4204ffb3c630806e56cb1cc47d97
+MISC ChangeLog 4018 RMD160 ed1576317b629deb6111c83e688f3777848f53a8 SHA1 e5310646c6474467e9ad5012692f73da5682335a SHA256 c37dc8f515553d341a445272a90bc4b4a566b92ae162147c972f7ec6cb05207a
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.3.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.3.ebuild
new file mode 100644
index 000000000000..6bd31be2b61d
--- /dev/null
+++ b/dev-libs/xapian-bindings/xapian-bindings-1.2.3.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.2.3.ebuild,v 1.1 2010/09/20 16:43:40 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="python? 2"
+PYTHON_USE_WITH="threads"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit java-pkg-opt-2 mono python
+
+DESCRIPTION="SWIG and JNI bindings for Xapian"
+HOMEPAGE="http://www.xapian.org/"
+SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="java mono php python ruby tcl"
+
+COMMONDEPEND="=dev-libs/xapian-${PV}*
+ mono? ( >=dev-lang/mono-1.0.8 )
+ php? ( >=dev-lang/php-4 )
+ ruby? ( dev-lang/ruby )
+ tcl? ( >=dev-lang/tcl-8.1 )"
+DEPEND="${COMMONDEPEND}
+ python? ( >=dev-lang/swig-1.3.29-r1 )
+ java? ( >=virtual/jdk-1.3 )"
+RDEPEND="${COMMONDEPEND}
+ java? ( >=virtual/jre-1.3 )"
+
+pkg_setup() {
+ if use python; then
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ sed \
+ -e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
+ -e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
+ -i python/Makefile.{am,in} || die "sed failed"
+}
+
+src_configure() {
+ if use java; then
+ CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
+ fi
+ econf \
+ $(use_with java) \
+ $(use_with mono csharp) \
+ $(use_with php) \
+ $(use_with python) \
+ $(use_with ruby) \
+ $(use_with tcl)
+
+ # Python bindings are built/tested/installed manually.
+ sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_copy_sources python
+ building() {
+ emake \
+ PYTHON="$(PYTHON)" \
+ PYTHON_INC="$(python_get_includedir)" \
+ PYTHON_LIB="$(python_get_libdir)" \
+ pkgpylibdir="$(python_get_sitedir)/xapian"
+ }
+ python_execute_function -s --source-dir python building
+ fi
+}
+
+src_test() {
+ default
+
+ if use python; then
+ testing() {
+ emake \
+ PYTHON="$(PYTHON)" \
+ PYTHON_INC="$(python_get_includedir)" \
+ PYTHON_LIB="$(python_get_libdir)" \
+ pkgpylibdir="$(python_get_sitedir)/xapian" \
+ check
+ }
+ python_execute_function -s --source-dir python testing
+ fi
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use java; then
+ java-pkg_dojar java/built/xapian_jni.jar
+ # TODO: make the build system not install this...
+ java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
+ rm "${D}/${S}/java/built/libxapian_jni.so"
+ rmdir -p "${D}/${S}/java/built"
+ rmdir -p "${D}/${S}/java/native"
+ fi
+
+ if use python; then
+ installation() {
+ emake \
+ DESTDIR="${D}" \
+ PYTHON="$(PYTHON)" \
+ PYTHON_INC="$(python_get_includedir)" \
+ PYTHON_LIB="$(python_get_libdir)" \
+ pkgpylibdir="$(python_get_sitedir)/xapian" \
+ install
+ }
+ python_execute_function -s --source-dir python installation
+ fi
+
+ # For some USE combinations this directory is not created
+ if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
+ mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
+ fi
+
+ dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
+}
+
+pkg_postinst() {
+ if use python; then
+ python_mod_optimize xapian
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ python_mod_cleanup xapian
+ fi
+}