From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0344F138206 for ; Wed, 3 Jan 2018 10:08:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DC63E0907; Wed, 3 Jan 2018 10:08:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0A5CE0907 for ; Wed, 3 Jan 2018 10:08:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C82DA335C09 for ; Wed, 3 Jan 2018 10:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E59C1A4 for ; Wed, 3 Jan 2018 10:08:49 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1514974119.47f231718ad4c15c4c5616287321760790b0d828.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/lucene/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/lucene/lucene-3.6.2-r1.ebuild X-VCS-Directories: dev-java/lucene/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 47f231718ad4c15c4c5616287321760790b0d828 X-VCS-Branch: master Date: Wed, 3 Jan 2018 10:08:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: db18f9c0-db26-41d8-b1be-0df28b3ed41a X-Archives-Hash: 37ee5a3adb2427b3201b27eb7a858be9 commit: 47f231718ad4c15c4c5616287321760790b0d828 Author: Patrice Clement gentoo org> AuthorDate: Wed Jan 3 10:07:13 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Jan 3 10:08:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47f23171 dev-java/lucene: EAPI 6 bump. Bug: https://bugs.gentoo.org/642302 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --force dev-java/lucene/lucene-3.6.2-r1.ebuild | 189 +++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) diff --git a/dev-java/lucene/lucene-3.6.2-r1.ebuild b/dev-java/lucene/lucene-3.6.2-r1.ebuild new file mode 100644 index 00000000000..4dcb812a206 --- /dev/null +++ b/dev-java/lucene/lucene-3.6.2-r1.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="https://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" + +LICENSE="Apache-2.0" +SLOT="3.6" +KEYWORDS="amd64 x86" + +CDEPEND=" + dev-java/ant-ivy:2 + dev-java/ant-junit:0 + dev-java/ant-nodeps:0 + dev-java/hamcrest-core:0 + contrib? ( + dev-java/jakarta-regexp:1.4 + dev-java/commons-compress:0 + dev-java/commons-collections:0 + dev-java/commons-digester:0 + dev-java/commons-logging:0 + dev-java/commons-beanutils:1.7 + )" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6 + test? ( + dev-java/junit:4 + )" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DOCS=( + CHANGES.txt README.txt + NOTICE.txt CHANGES.txt + JRE_VERSION_MIGRATION.txt +) + +# All tests fail with the following error: +# junit.framework.AssertionFailedError: ensure your setUp() calls super.setUp()!!! +RESTRICT="test" + +src_prepare() { + default + java-pkg_clean + sed -i \ + -e '/-Xmax/ d' \ + common-build.xml || die + + # FIXME: contrib builds do not work if junit not included + #java-pkg_jar-from --build-only --into lib \ + # junit-4 junit.jar junit-4.7.jar + java-pkg_jar-from --build-only --into lib \ + ant-core ant.jar ant-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-junit ant-junit.jar ant-junit-1.7.1.jar + + if use contrib; then + cd contrib/ || die + java-pkg_jar-from --build-only --into queries/lib \ + jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-compress commons-compress.jar commons-compress-1.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-collections commons-collections.jar commons-collections-3.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-digester commons-digester.jar commons-digester-1.7.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-logging commons-logging.jar commons-logging-1.0.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar + fi +} + +src_prepare() { + default + java-pkg_clean + sed -i \ + -e '/-Xmax/ d' \ + -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ + -e '/