From 6b6a724b0c67990cb2949f567bdd51a528628d1a Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Mon, 20 Apr 2015 23:52:32 +0000 Subject: [PATCH] Clean up. Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA --- dev-libs/xapian-bindings/ChangeLog | 7 +- dev-libs/xapian-bindings/Manifest | 36 ++-- .../xapian-bindings-1.2.14.ebuild | 180 ------------------ .../xapian-bindings-1.2.17.ebuild | 170 ----------------- .../xapian-bindings-1.2.18.ebuild | 170 ----------------- .../xapian-bindings-1.3.1.ebuild | 176 ----------------- 6 files changed, 20 insertions(+), 719 deletions(-) delete mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.14.ebuild delete mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.17.ebuild delete mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.18.ebuild delete mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.3.1.ebuild diff --git a/dev-libs/xapian-bindings/ChangeLog b/dev-libs/xapian-bindings/ChangeLog index 9ad876e9d38b..eb35dbf61d79 100644 --- a/dev-libs/xapian-bindings/ChangeLog +++ b/dev-libs/xapian-bindings/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/xapian-bindings # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/ChangeLog,v 1.100 2015/04/20 23:05:51 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/ChangeLog,v 1.101 2015/04/20 23:52:19 blueness Exp $ + + 20 Apr 2015; Anthony G. Basile + -xapian-bindings-1.2.14.ebuild, -xapian-bindings-1.2.17.ebuild, + -xapian-bindings-1.2.18.ebuild, -xapian-bindings-1.3.1.ebuild: + Clean up. *xapian-bindings-1.2.20 (20 Apr 2015) *xapian-bindings-1.3.2 (20 Apr 2015) diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest index 45fa02ab2a06..f520d33200f9 100644 --- a/dev-libs/xapian-bindings/Manifest +++ b/dev-libs/xapian-bindings/Manifest @@ -1,36 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST xapian-bindings-1.2.14.tar.gz 1483276 SHA256 a55815ddff0bd5f79814b5964cc94299ecf8f7ebafea11523aa0787f6082e3d7 SHA512 943a99ed19cb0f14435321de25b28ace5c7ad60be819f54fdf86bf161f92b2d2153d92506873b2af5b514403a4b98815db7f6c14a14b37fbd60c765460eb48f0 WHIRLPOOL 845b4f60f0787eaaf039c4f583ab233fd5ac0e1ba8b2cbcdc5bc20c11038f871717da9e8abf381c5bf9b472cbbb7451d08fb74bebf6e8d4999003c020202e6e9 -DIST xapian-bindings-1.2.17.tar.xz 827160 SHA256 54ad5d818fa7d6558acbf517a04c78db9fb4c90103eda0a0f9fe9a864683f80a SHA512 4c8348ece62b57c4442e8cb16282b7da2a8ebecaf99eefbb263795c1451f1395c2073ea311df0159e74a4d52029682034926526b17554627cf8e286f328f36a7 WHIRLPOOL dac2c3ff137cb778a2942009f45013cc5eff8d8564b1ed582f4ac6d6e596550853fe5e9362e75dfcf5acda61f71879d9ebfd0f787fd761cb1e065b86e48232a7 -DIST xapian-bindings-1.2.18.tar.xz 828232 SHA256 e0c13d4a15d310c309f03dc8a8edfb9f99c0876ea5c1b1261c38988126cfecf7 SHA512 c0c417130bfaa3f059a003cacaa129662b216704d2f4bdfd997e1d2c0d74a77385f9f79b6ed5e3fb63b5217f78ebd43826fbee9c00f81264089728a02cffbd30 WHIRLPOOL a2a0f7312a40c5225c34eda85ce4194f69080f453f2b369ce24e154656692dff0af4022aded93b57bfe2ca1fb5b4ad3dd24f6baf60d3fe19e99a9ea1594d07a5 DIST xapian-bindings-1.2.19.tar.xz 828904 SHA256 3b9434c6144cc347783175c92829f304e86919bbbd44f51b7b4a7148960cde17 SHA512 ac72ec35ae3b767e04e848a9782b41d74e99b6b1f795d5096373911ff549b3bf2e602a91ed0e5f7dce2e43e1dd308af710719e5a80c6a179393aac4af316de30 WHIRLPOOL 33770203390fea6f6048ebdc63cb7031f53a30be3568e3f3f6f8a25f8aa30a284347b402e360c0c2182069e3f6dab067fc5f6cd2b950f45e196afe057e4d80e3 DIST xapian-bindings-1.2.20.tar.xz 828864 SHA256 98594534697642dee563c0e7fede43fde256f7e03488ea4922800f56baadc401 SHA512 4797431974442b210bb637e1d307a8c7eafb5f60093aee9d86223bacec7f828bd3d30c2d159d34cc160208cd016be3822acd19f1be9159af8f8871d83e7ec688 WHIRLPOOL 9ebeec220142865b6f983f065cef568623d2fb26e5393c2e8a74fc12c3dbb0fefd5541991beb494179ec4bff402164c9a5edafb520013b89ee3ae8fa73f06686 -DIST xapian-bindings-1.3.1.tar.gz 1562988 SHA256 5c18ce77b08d2fcc738dadbf85448239d714aad27a0833436e32a82c2ff622c4 SHA512 e295ab93fe61e038bb5f95786f80ff36bc9cbc486c4d03e457fabc6efa97e7119411afa3aafd29786ab9237505b03c27fdb5d524fdb43db2c2f3550cd41c7396 WHIRLPOOL f76dcced799116569f5d4f6ba9245045a5fb3c8f7d64672997408fe0c11b72ef7d7ed24a1901d96777ac763d910be6bd378859dd952290bbbcae9dbe6452a2dd DIST xapian-bindings-1.3.2.tar.xz 1177620 SHA256 bcf9948cd6e51c4e80ed5c1284b3349e667162dcbd048a4136c380adfe570f92 SHA512 65b8cb9a27b19c04179c6b8147110bcac118b5c41308ad87fef7db2b3b16d2032645f5d010492ebd772cb6bc673228b68837159764cb6d8fc09dde11e81174a7 WHIRLPOOL ffb4709a95d4139b4d9863195ec8ffc23a4936a055424b154e0e1f8c6d00bc81e919246e58fe68b76738bee05941a868b38e87ba1302ac3e392152b4592a1d1a -EBUILD xapian-bindings-1.2.14.ebuild 4571 SHA256 5bb27813db2235a8f1f6f16ba705d115dbdfaa1227a036951ca20e2df9d85484 SHA512 48551284fc05a23d0d18725799f941026bc8ed8460f0b88cb034ba475ddfb6aba8f266d9878bbd75daa0c08fa3a73b91da0d5e44f85974ae565923ef5e901861 WHIRLPOOL 5e7732c828217a569de7ee8ab8b70e343326ae2c4dd34ca445a4d29057e757106411090bbf8b84eeef8096a6e3fd30456ac5a2486c5426c152e67ebcf24cbee2 -EBUILD xapian-bindings-1.2.17.ebuild 4320 SHA256 0cd2491d1e3fb01a6857a257708bea2d4faabed23e25c05d83e9b0118f6cfb77 SHA512 e2bc9cc283598158e8545d78684cbbebeab3f1ef700b5abe08177a9b4e62ca7b841f847ebe7ab084618da557074dc5d6c822f03326baa7966f0a6e3443a2eb47 WHIRLPOOL 9267f5159c497c54255e59831e1b35e5f1a075655e0e2238e0477e895d1e7ec93f303c7a1d8295859da198018f3966920046580e9df206ee8481d37a3c7b4866 -EBUILD xapian-bindings-1.2.18.ebuild 4313 SHA256 fb482b3c15d7c09030b5ccbaf0771429099f78e2a05f325b3618dd391d611241 SHA512 368c73eb71ebb3fe8d73ae59404ca8af2c99c758261ef4612d6a77e1b06e8b0d190abd0debbc4b0f473781e7f59d9e331cc65956bf1b6c06424e04216d9a1ddd WHIRLPOOL 06d4d504c36694330c241b540ef4b32255fb3d170d82aa1aeaea22eb8f5909b0237d9b3c2256cf363e812453ab3a04334f935ce129468e822988ed09bcb558e8 EBUILD xapian-bindings-1.2.19.ebuild 5580 SHA256 dd0c3703dc7c6df189936799833f8a4eec8da3f6ce69482b66466929b3deb9e9 SHA512 3326da277a59f5397fd75e73088598dee629b1d5e0c9eb5d07e5545fc2e2f108b466bd5c709bd5166f542d9aab9c0d6350d2d60518b315fdceacb84be212b922 WHIRLPOOL 770d8f46f9be2ce213cb0dd006a63af0e9005d7c77a91ab6e29f9168a80bde7380596b9d71fce1c991cdf354e2e997493fd7fc612bd9e792051cd12a3b33ea2a EBUILD xapian-bindings-1.2.20.ebuild 5588 SHA256 d636d578b3d4b6dd7e3a4389e9a1a4e2bbd1826ee9d87f59476907bba4377377 SHA512 6ed30c5eeb6eb92fcbc70500f63d0a974fe708314922466f2915fb45eb388b199e6b1cbfd11be379ffe214ab5c1b5733980c7af0fd6810cdf2c956278fa016e7 WHIRLPOOL 8df26a62d59842015467a258e32b2fb0de5950179c010b8cef993939fc7417524d8019f8a2866db185545436ad77477954a9bc47ef27423d73d1f08f5f455f5b -EBUILD xapian-bindings-1.3.1.ebuild 4447 SHA256 b34e5aa289616251f4f39ef33daddfe81888cb5e8d3cfb3b7457ca95c6b9e3fd SHA512 647085c3e0f6d4d8ddb8d1478f822b1d076a365ebea720bc76ad388fd3e9912dfdadd2f6ee7c6548e34f855abb4dcbd80311774d290cd4eb61c35539465c014e WHIRLPOOL 2e6cba51d5008b6385d272bc02ea5727143eb95f2e722f84369b63dbcd10ba6f255bdcb2eeb3506f76af319999100552f5035a41d34498ecbe96f2c381f20578 EBUILD xapian-bindings-1.3.2.ebuild 4449 SHA256 83ab50ea4403d3c072180c8e892f2c66e8fc37e95af1e2db533b86cb30715888 SHA512 cc96a85143621e8f9ea36ec56ddb9b1e72a9f8f9b406ff7a6c33123879d23da7f5ee7bce68b78f7d41acc4709c8d1d4586faa2ded6273b719fc9bd85a815a4d3 WHIRLPOOL 9bd13c2c192d0575232f93d95ee4599052bf81ba71857b8d98af2d4e5035b2aca607d24046769be26a6f249c4eb3e3ef2ec16e5cbde5f773365007d9e423fdea -MISC ChangeLog 15825 SHA256 b614e85b18274086f5fc0fc9afb516aa4d83f351c982b626196b511ac53479e2 SHA512 d0bfe8eec744f4a44d2baac61bfd4f2774b7d431bb4665c46e433c6dfec902320a9d8a7e439501a29aeafa68abf86f2f22aed64f770331bfb40664f02f971c1b WHIRLPOOL 09ade1fee5e006ef84fa97d60d0ce43bf9fa6caca9572485eb9b64aa81970c5d5824e125cecc57d62f3ee5d2679b5b75bc8ceb73e65fc03fd1c13dd9f2560a6a +MISC ChangeLog 16024 SHA256 bb577f84b67e9d60e118fe966a2188a98508cf05a53502fcb8ba093371dd0059 SHA512 c9f6408a098902bad169274b1b58d99ddbd13a7bad0293f516e6ea419f44c27a7170b41e78c5a44ab9130977f331bcd870e9b2fadcab00ccac8460adeb6c9f6c WHIRLPOOL 343f9a1e500e3b59f5d73dbf7f692b2794bfa5463c1bcf96fe67cf3cc16274361ed97094e095d469abed94efb41b41d693c2749b1119df2048a41fef681cec7a MISC metadata.xml 367 SHA256 e757cf120c1188c0010caaf7449e89deee52d8aa275f4f0c3b9cc0c097d28596 SHA512 e562b4dfbdcf62a3f860cd185dcd5fb2cf4067cb9b6c11c94669027c9cbae94bc437fa63e68b3b982a6bdda624087a60b24a269031fae2f3f975efb3d8e85d44 WHIRLPOOL 1314776082f07f5fdf74d15ad6b5093276b58f47e4dce35c0377e6a7baef0941bf567e43047e4ff80a726e2078d506c9029cd033cba8aeba9110b75cbbffa036 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVNYbuAAoJEJOE+m71LUu63U4P/1P7h2PuTJ2ChBv4c7Ilpp47 -ycxIVDUFkiMNBxX/iI0RUXmfb4sgcCbBoH7ET2+kiyYlulb07euihQbXp0tUHH2K -zRvF0hR5u/meZY4OUIcy5UxkiMbLxIKXLQFz7+KjqDmW2UtyZkDaatt3FZE+Iiv7 -/YhWBeyB8j9rDDTWFSvzHeG+eUS6BzWl3R2hLyMe+IHBik6xsYBvfMbz7Dl2SrSt -S5KsZWD0HI9j9CSgNsg4XK3ExuZhEWyYhsn7RmWNS6yVozEvZWSeVEXCMR8By6sv -BkitDi/nH0cw9GsblrC0X7bdZ9eTXnQx1pEdaCPkZ4Q+wgk4P01mpzDD7zc4rAlL -u0WNwK3Y3ZpfKRB1U1hlCpJcn0pCb8uaOM1jvBSMIPuSDL8hxomxKnwh6g7Rdqe3 -9TFBKoTi36pFx44/pA+DjBmjq3UsbOPkDN14LtIrq6wGF0aAxszAIAACuYUyLP8y -sDyaxn3EdcNWsDpTB0hycj/RepzTSSf3i5QoIgNpZ0xePNwdnHxp+z6umfCUojrO -fzpDxGBMRuINqcXoXlYih6NWa5jxgCPI5FQstYTgKxmerom3w5Y6Q3xqfmJJvatF -8rQbFYSXBmzeWX63AQBa5SM3bS9P0eMRmNFPXeliqHRSJSjpYmT6PMKY/csME+zU -AvqELdxy0rXTlejvJ6dx -=pfkq +iQIcBAEBCAAGBQJVNZHSAAoJEJOE+m71LUu6t0sP/2G9CnJqjfsOCUmsAAiBzvs/ +gLogwFqo5AXjE/Tsx/UTBtMOvO3ArBPXxq4+d1RJMsIphVhKsnFqJPxDpA2l8QQa +I+m1+82ceRhYmAmLeQQNVJzdTyf/Umfc2JMcaDGtxuq1qmxPX4AREied7/UnjpXj +F5k1dHWlawtEca63oMnqmb7NaTCaiSpUWCUzCfxBabaajANjd5RIb/gZWx0eOvPm +WKhkFjO6PCkITJ9JUVk88b9Iag+S+d0IIeRWAupUWJq9B5moj+4we+Qid71vKzdm +Xe9qsKJCvVAlZpSiqHXRHnQCyeuZLDqgcBbnr7UValkrmvTfw3mNbcOsrVNGrIgj +LrUzllgvQeTJjj8gibAbYiOvv0Ius8GUcjMhxldOYJeDpe+FuK+JPzmjaVf9orP4 +zywNczIgPdrmNecLrOiv1gGRGZunvyr+mPsFCWdujWc+UTmfdSB5dVuzOKAxTzhd +xNdyZzyjWvxn47b3P3hM3dFbN0w2Qma/6jEM94ODvVCiTQzU3vPQmXJTsksgddTa +91Y4Mn2TsT+nhjBCUnXUYorxT0F7Ohr1fE26M8eSVBwVFUGjq/lbx+hGPIdqeTUM +Xx+XFSnAU6Gmvkpks56k1PaDgdmshsTLiGBebQ8wfHoczRhMH98zH2fLtuV9b1eG +pdaGrGWq/BgBq4xpRgAo +=gCP1 -----END PGP SIGNATURE----- diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.14.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.14.ebuild deleted file mode 100644 index 36cdfc202548..000000000000 --- a/dev-libs/xapian-bindings/xapian-bindings-1.2.14.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2015 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.14.ebuild,v 1.12 2015/03/20 10:16:32 jlec Exp $ - -EAPI="5" - -PYTHON_DEPEND="python? 2" -PYTHON_USE_WITH="threads" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" - -USE_PHP="php5-4" - -PHP_EXT_NAME="xapian" -PHP_EXT_INI="yes" -PHP_EXT_OPTIONAL_USE="php" - -inherit java-pkg-opt-2 mono php-ext-source-r2 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="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86" -IUSE="java lua mono perl php python ruby tcl" -REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )" - -COMMONDEPEND="=dev-libs/xapian-${PV}* - lua? ( >=dev-lang/lua-5.1 ) - mono? ( >=dev-lang/mono-1.0.8 ) - perl? ( dev-lang/perl:= ) - ruby? ( dev-lang/ruby ) - tcl? ( >=dev-lang/tcl-8.1:0= )" -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.3 )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.3 )" - -pkg_setup() { - java-pkg-opt-2_pkg_setup - - if use python; then - python_pkg_setup - fi -} - -src_prepare() { - java-pkg-opt-2_src_prepare - if use java; then - sed \ - -e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \ - -i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed" - fi - - if use python; then - 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.in || die "sed failed" - fi -} - -src_configure() { - if use java; then - CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" - fi - - if use perl; then - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" - fi - - if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" - fi - - econf \ - $(use_with java) \ - $(use_with lua) \ - $(use_with mono csharp) \ - $(use_with perl) \ - $(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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - 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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - 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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - install - } - python_execute_function -s --source-dir python installation - fi - - if use php; then - php-ext-source-r2_createinifiles - 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 - - if use php_targets_php5-4; then - ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4" - fi -} - -pkg_postrm() { - if use python; then - python_mod_cleanup xapian - fi -} diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.17.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.17.ebuild deleted file mode 100644 index 89cf0246ff8b..000000000000 --- a/dev-libs/xapian-bindings/xapian-bindings-1.2.17.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2015 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.17.ebuild,v 1.5 2015/04/08 17:51:56 mgorny Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads" -USE_PYTHON='2.6 2.7' - -USE_PHP="php5-4" - -PHP_EXT_NAME="xapian" -PHP_EXT_INI="yes" -PHP_EXT_OPTIONAL_USE="php" - -#mono violates sandbox, we disable it until we figure this out -#inherit java-pkg-opt-2 mono-env php-ext-source-r2 python -inherit java-pkg-opt-2 php-ext-source-r2 python-r1 - -DESCRIPTION="SWIG and JNI bindings for Xapian" -HOMEPAGE="http://www.xapian.org/" -SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -#IUSE="java lua mono perl php python ruby tcl" -#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )" -IUSE="java lua perl php python ruby tcl" -REQUIRED_USE="|| ( java lua perl php python ruby tcl )" - -COMMONDEPEND="=dev-libs/xapian-${PV}* - lua? ( >=dev-lang/lua-5.1 ) - perl? ( dev-lang/perl:= ) - ruby? ( dev-lang/ruby ) - tcl? ( >=dev-lang/tcl-8.1:0= )" -# mono? ( >=dev-lang/mono-1.0.8 ) -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.3 )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.3 )" - -pkg_setup() { - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - java-pkg-opt-2_src_prepare - if use java; then - sed \ - -e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \ - -i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed" - fi - - if use python; then - sed \ - -e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \ - -e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian.so|' \ - -i python/Makefile.in || die "sed failed" - fi -} - -src_configure() { - if use java; then - CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" - fi - - if use perl; then - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" - fi - - if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" - fi - - econf \ - $(use_with java) \ - $(use_with lua) \ - $(use_with perl) \ - $(use_with php) \ - $(use_with python) \ - $(use_with ruby) \ - $(use_with tcl) -# $(use_with mono csharp) \ - - # 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 -# building() { -# emake -C python \ -# PYTHON="$(PYTHON)" \ -# PYTHON_INC="$(python_get_includedir)" \ -# PYTHON_LIB="$(python_get_libdir)" \ -# PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ -# pkgpylibdir="$(python_get_sitedir)/xapian" -# } - building() { - emake -C python \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" - VERBOSE="1" - } - python_foreach_impl building - fi -} - -src_test() { - default - - if use python; then - testing() { - emake -C python \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - check - } - python_foreach_impl 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 -C python \ - DESTDIR="${D}" \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - install - } - python_foreach_impl installation - fi - - if use php; then - php-ext-source-r2_createinifiles - 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 php_targets_php5-4; then - ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4" - fi -} diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.18.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.18.ebuild deleted file mode 100644 index 6cd74d102701..000000000000 --- a/dev-libs/xapian-bindings/xapian-bindings-1.2.18.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2015 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.18.ebuild,v 1.13 2015/04/08 17:51:56 mgorny Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads" -USE_PYTHON='2.6 2.7' - -USE_PHP="php5-4" - -PHP_EXT_NAME="xapian" -PHP_EXT_INI="yes" -PHP_EXT_OPTIONAL_USE="php" - -#mono violates sandbox, we disable it until we figure this out -#inherit java-pkg-opt-2 mono-env php-ext-source-r2 python -inherit java-pkg-opt-2 php-ext-source-r2 python-r1 - -DESCRIPTION="SWIG and JNI bindings for Xapian" -HOMEPAGE="http://www.xapian.org/" -SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86" -#IUSE="java lua mono perl php python ruby tcl" -#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )" -IUSE="java lua perl php python ruby tcl" -REQUIRED_USE="|| ( java lua perl php python ruby tcl )" - -COMMONDEPEND="=dev-libs/xapian-${PV}* - lua? ( >=dev-lang/lua-5.1 ) - perl? ( dev-lang/perl:= ) - ruby? ( dev-lang/ruby ) - tcl? ( >=dev-lang/tcl-8.1:0= )" -# mono? ( >=dev-lang/mono-1.0.8 ) -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.3 )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.3 )" - -pkg_setup() { - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - java-pkg-opt-2_src_prepare - if use java; then - sed \ - -e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \ - -i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed" - fi - - if use python; then - sed \ - -e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \ - -e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian.so|' \ - -i python/Makefile.in || die "sed failed" - fi -} - -src_configure() { - if use java; then - CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" - fi - - if use perl; then - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" - fi - - if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" - fi - - econf \ - $(use_with java) \ - $(use_with lua) \ - $(use_with perl) \ - $(use_with php) \ - $(use_with python) \ - $(use_with ruby) \ - $(use_with tcl) -# $(use_with mono csharp) \ - - # 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 -# building() { -# emake -C python \ -# PYTHON="$(PYTHON)" \ -# PYTHON_INC="$(python_get_includedir)" \ -# PYTHON_LIB="$(python_get_libdir)" \ -# PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ -# pkgpylibdir="$(python_get_sitedir)/xapian" -# } - building() { - emake -C python \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" - VERBOSE="1" - } - python_foreach_impl building - fi -} - -src_test() { - default - - if use python; then - testing() { - emake -C python \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - check - } - python_foreach_impl 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 -C python \ - DESTDIR="${D}" \ - PYTHON_INC="$(python_get_includedir)" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - install - } - python_foreach_impl installation - fi - - if use php; then - php-ext-source-r2_createinifiles - 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 php_targets_php5-4; then - ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4" - fi -} diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.3.1.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.3.1.ebuild deleted file mode 100644 index b01ccc3e7019..000000000000 --- a/dev-libs/xapian-bindings/xapian-bindings-1.3.1.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2015 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.3.1.ebuild,v 1.6 2015/03/20 10:16:32 jlec Exp $ - -EAPI="5" - -PYTHON_DEPEND="python? 2" -PYTHON_USE_WITH="threads" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" - -USE_PHP="php5-4" - -PHP_EXT_NAME="xapian" -PHP_EXT_INI="yes" -PHP_EXT_OPTIONAL_USE="php" - -inherit java-pkg-opt-2 mono-env php-ext-source-r2 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="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="java lua mono perl php python ruby tcl" -REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )" - -COMMONDEPEND="=dev-libs/xapian-${PV}* - lua? ( >=dev-lang/lua-5.1 ) - mono? ( >=dev-lang/mono-1.0.8 ) - perl? ( dev-lang/perl:= ) - ruby? ( dev-lang/ruby ) - tcl? ( >=dev-lang/tcl-8.1:0= )" -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.3 )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.3 )" - -pkg_setup() { - mono-env_pkg_setup - java-pkg-opt-2_pkg_setup - - if use python; then - python_pkg_setup - fi -} - -src_prepare() { - java-pkg-opt-2_src_prepare - - if use python; then - 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.in || die "sed failed" - fi -} - -src_configure() { - if use java; then - CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" - fi - - if use perl; then - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" - fi - - if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" - fi - - econf \ - $(use_with java) \ - $(use_with lua) \ - $(use_with mono csharp) \ - $(use_with perl) \ - $(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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - 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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - VERBOSE="1" \ - 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)" \ - PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ - pkgpylibdir="$(python_get_sitedir)/xapian" \ - install - } - python_execute_function -s --source-dir python installation - fi - - if use php; then - php-ext-source-r2_createinifiles - 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 - - if use php_targets_php5-4; then - ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4" - fi -} - -pkg_postrm() { - if use python; then - python_mod_cleanup xapian - fi -} -- 2.26.2