summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-04-08 18:01:48 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-04-09 06:58:34 +0200
commit93eb3953f544606e5ff49246533f5d086dd2387b (patch)
treec824651a91fd0f9805d071b2b4d9d8131de96c43 /dev-java/rhino
parentapp-misc/mc: add use-dep on e2fsprogs[tools(+)] (diff)
downloadgentoo-93eb3953f544606e5ff49246533f5d086dd2387b.tar.gz
gentoo-93eb3953f544606e5ff49246533f5d086dd2387b.tar.bz2
gentoo-93eb3953f544606e5ff49246533f5d086dd2387b.zip
dev-java/rhino: drop 1.7.7-r1
Closes: https://bugs.gentoo.org/837302 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24957 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/rhino')
-rw-r--r--dev-java/rhino/Manifest1
-rw-r--r--dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch40
-rw-r--r--dev-java/rhino/rhino-1.7.7-r1.ebuild95
3 files changed, 0 insertions, 136 deletions
diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest
index 569bb6a5f328..df2bb4acf7d4 100644
--- a/dev-java/rhino/Manifest
+++ b/dev-java/rhino/Manifest
@@ -1,2 +1 @@
-DIST Rhino1_7_7_RELEASE.zip 6059127 BLAKE2B 431885bf287da524cfc82e6594802c93e75d48177b4056e9b893d7c852c3c3b30291d616a140981e520fdebacf5cbc8b802a6137f0e29a369f1d01cc771c6b77 SHA512 ce89b6a153d62dd459a86360c67d6db4b05922d8ab49a8d45ccb0deb0f639cd819f0ad75cb4929eda6b7f0fd6ddb5879a4035de6968283317bfd0e93d2bb744e
DIST rhino-1.7.14.tar.gz 4694660 BLAKE2B d6ba958265c4ebf881161d0b61f598ac7e82d7be4e6b0fbd6416e7b0af7835058a2744ab5524b6ff698159898e962cc246ac559e9c5db1b4467b147700e894e0 SHA512 f20e8a8f7c78c88d815c53f89f3f18a53c2e86d92a284cd275aa5556c08962d2905f2d4fc829e5cb61d416cd55b13323d9a110f4f492f588a149b4d2105b21a1
diff --git a/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch b/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch
deleted file mode 100644
index 4760e980245d..000000000000
--- a/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- testsrc/build.xml.orig 2015-08-05 23:41:56.815000000 +0000
-+++ testsrc/build.xml 2015-08-05 23:46:10.026000000 +0000
-@@ -46,15 +46,8 @@
- -->
- <property name="test.vm.mx" value="256m" />
-
-- <target name="get-junit" unless="offline">
-- <mkdir dir="lib"/>
-- <get src="${test.junit.url}" dest="lib/junit.jar" usetimestamp="true"/>
-- <get src="${test.hamcrest.url}" dest="lib/hamcrest.jar" usetimestamp="true"/>
-- </target>
--
- <target name="junit-compile">
- <mkdir dir="${test.classes}" />
-- <antcall target="get-junit"/>
- <javac
- destdir="${test.classes}" debug="true"
- encoding="UTF-8"
-@@ -75,7 +68,6 @@
-
- <target name="compile">
- <mkdir dir="${test.classes}" />
-- <antcall target="get-junit"/>
- <javac
- srcdir="testsrc"
- destdir="${test.classes}" debug="true"
-@@ -105,12 +97,7 @@
- <delete dir="${test.classes}" />
- </target>
-
-- <target name="get-emma" unless="offline">
-- <get src="${test.emma.url}" dest="lib/emma.jar" usetimestamp="true"/>
-- <get src="${test.emma_ant.url}" dest="lib/emma_ant.jar" usetimestamp="true"/>
-- </target>
--
-- <target name="coverage-instrument" depends="get-emma">
-+ <target name="coverage-instrument">
- <property name="coverage.dir" location="${build.dir}/coverage"/>
- <property name="coverage.classes.dir" location="${build.dir}/coverage/classes"/>
- <mkdir dir="${coverage.classes.dir}"/>
diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
deleted file mode 100644
index 656ddd97e01f..000000000000
--- a/dev-java/rhino/rhino-1.7.7-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-JAVA_PKG_IUSE="doc examples source test"
-MAVEN_ID="org.mozilla:rhino:1.7.7"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-# rhino -> Rhino
-MY_PN="${PN^}"
-
-# 1.7.7 -> 1_7_7
-MY_PV="$(replace_all_version_separators _ ${PV})"
-
-# rhino1.7.7
-MY_P="${PN}${PV}"
-
-# Rhino1_7_7_RELEASE
-MY_RELEASE="${MY_PN}${MY_PV}_RELEASE"
-
-DESCRIPTION="An open-source implementation of JavaScript written in Java"
-SRC_URI="https://github.com/mozilla/${PN}/archive/${MY_RELEASE}.zip"
-HOMEPAGE="http://www.mozilla.org/rhino/"
-
-LICENSE="MPL-1.1 GPL-2"
-SLOT="1.6"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-IUSE=""
-
-# ../rhino-Rhino1_7_7_RELEASE
-S="${WORKDIR}/${PN}-${MY_RELEASE}"
-
-CDEPEND=""
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.6
- test? (
- dev-java/emma:0
- dev-java/junit:4
- dev-java/ant-junit:0
- dev-java/hamcrest-core:1.3
- )
- ${CDEPEND}"
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-PATCHES=(
- "${FILESDIR}"/${P}-testsrc-build.xml.patch
-)
-
-EANT_TEST_TARGET="junit"
-
-# StackOverFlow errors arise on some tests.
-# Further, the test suite takes way too much time (> 5 min).
-# Maybe reduce the numbers of tests?
-RESTRICT="test"
-
-java_prepare() {
- java-pkg_clean
-
- epatch "${PATCHES[@]}"
-
- if use test; then
- mkdir lib || die
- java-pkg_jar-from --build-only emma emma.jar lib/emma.jar
- java-pkg_jar-from --build-only emma emma_ant.jar lib/emma_ant.jar
- java-pkg_jar-from --build-only hamcrest-core-1.3 hamcrest-core.jar lib/hamcrest.jar
- java-pkg_jar-from --build-only junit-4 junit.jar lib/junit.jar
- fi
-}
-
-src_compile() {
- java-pkg-2_src_compile
-
- if use source; then
- EANT_BUILD_TARGET="source-zip" \
- java-pkg-2_src_compile
- fi
-}
-
-src_test() {
- java-pkg-2_src_test
-}
-
-src_install() {
- java-pkg_dojar build/${MY_P}/js.jar
-
- java-pkg_dolauncher jsscript-${SLOT} \
- --main org.mozilla.javascript.tools.shell.Main
-
- use doc && java-pkg_dojavadoc "build/${MY_P}/javadoc"
- use examples && java-pkg_doexamples examples
- use source && java-pkg_dosrc {src,toolsrc,xmlimplsrc}/org
-}