summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-09-10 09:54:22 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-09-10 21:11:19 +0200
commit27b910c7a7f170919d4abad18de0487b5651efb1 (patch)
treeb390b67e296dc9d11149827bbcabfe0922aeb7cc /dev-java
parentdev-java/lucene: add comment about not using eant for tests (diff)
downloadgentoo-27b910c7a7f170919d4abad18de0487b5651efb1.tar.gz
gentoo-27b910c7a7f170919d4abad18de0487b5651efb1.tar.bz2
gentoo-27b910c7a7f170919d4abad18de0487b5651efb1.zip
dev-java/lucene: drop 2.4.1-r4
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/lucene/lucene-2.4.1-r4.ebuild82
1 files changed, 0 insertions, 82 deletions
diff --git a/dev-java/lucene/lucene-2.4.1-r4.ebuild b/dev-java/lucene/lucene-2.4.1-r4.ebuild
deleted file mode 100644
index c69bb031e695..000000000000
--- a/dev-java/lucene/lucene-2.4.1-r4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2 verify-sig
-
-DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
-HOMEPAGE="https://lucene.apache.org"
-SRC_URI="https://archive.apache.org/dist/${PN}/java/${P}-src.tar.gz
- verify-sig? ( https://archive.apache.org/dist/${PN}/java/${P}-src.tar.gz.asc )"
-
-LICENSE="Apache-2.0"
-SLOT="2.4"
-KEYWORDS="~amd64 ~x86"
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/lucene.apache.org.asc"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-lucene )"
-
-# Restricting to jdk:1.8 since it fails to build with openjdk-17
-# BUILD FAILED
-# /var/tmp/portage/dev-java/lucene-2.4.1-r3/work/lucene-2.4.1/build.xml:52: \
-# rmic does not exist under Java 15 and higher,
-# use rmic of an older JDK and explicitly set the executable attribute
-DEPEND="
- dev-java/javacc:0
- virtual/jdk:1.8
- test? (
- >=dev-java/ant-1.10.14-r3:0[junit]
- dev-java/junit:0
- )"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-PATCHES=(
- "${FILESDIR}/lucene-2.4.1-skipFailingTest.patch"
- "${FILESDIR}/lucene-2.4.1-javacc.home.patch"
-)
-
-src_prepare() {
- default #780585
- java-pkg-2_src_prepare
- java-pkg_clean
-
- cat > build.properties <<-EOF || die
- junit-location.jar=$(java-pkg_getjars --build-only junit)
- javacc.home=${EPREFIX}/usr/share/javacc/lib/
- EOF
- # stop scrambling the build.xml
- touch "${T}/java-ant-2_src_configure-run"
-
- rm docs/skin/images/instruction_arrow.png || die #: broken IDAT window length
- rm docs/images/instruction_arrow.png || die #: broken IDAT window length
-}
-
-src_compile() {
- eant javacc
-
- eant \
- -Dversion=${PV} \
- jar-core \
- jar-demo \
- $(use_doc javadocs-core javadocs-demo)
-}
-
-src_test() {
- eant test-core
-}
-
-src_install() {
- einstalldocs
- java-pkg_newjar "build/${PN}-core-${PV}.jar" "${PN}-core.jar"
- java-pkg_newjar "build/${PN}-demos-${PV}.jar" "${PN}-demos.jar"
-
- if use doc; then
- dodoc -r docs
- java-pkg_dohtml -r build/docs/api
- fi
- use source && java-pkg_dosrc src/java/org
-}