public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-03-15 17:23 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2022-03-15 17:23 UTC (permalink / raw
  To: gentoo-commits

commit:     9e07e463081a24499f110ffc82ae90b7560e5113
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Feb 28 16:29:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 17:22:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e07e463

dev-java/rhino: Add changelog to metadata.xml

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24365
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/rhino/metadata.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-java/rhino/metadata.xml b/dev-java/rhino/metadata.xml
index 603129d072cc..8ba5d74b80e6 100644
--- a/dev-java/rhino/metadata.xml
+++ b/dev-java/rhino/metadata.xml
@@ -12,5 +12,7 @@
 	</longdescription>
 	<upstream>
 		<remote-id type="github">mozilla/rhino</remote-id>
+		<changelog>https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md</changelog>
+		<bugs-to>https://github.com/mozilla/rhino/issues</bugs-to>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2024-04-15 10:26 Miroslav Šulc
  0 siblings, 0 replies; 16+ messages in thread
From: Miroslav Šulc @ 2024-04-15 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     a105b5200dbc61fbaa58761944b261d9670bcdee
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Mar 12 20:44:22 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 10:25:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a105b520

dev-java/rhino: switch to dev-java/ant

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/35723/commits/df4f15a1c8372f666592634d37922efe010dc8c9
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/rhino/{rhino-1.7.14.ebuild => rhino-1.7.14-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14-r1.ebuild
similarity index 95%
rename from dev-java/rhino/rhino-1.7.14.ebuild
rename to dev-java/rhino/rhino-1.7.14-r1.ebuild
index 0826d783bf62..8676a8e192ab 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,7 +30,7 @@ RESTRICT="test"
 
 DEPEND=">=virtual/jdk-1.8:*
 	test? (
-		dev-java/ant-junit:0
+		>=dev-java/ant-1.10.14-r3:0[junit]
 		dev-java/emma:0
 		dev-java/jakarta-xml-soap-api:1
 		dev-java/jmh-core:0
@@ -50,7 +50,7 @@ JAVA_SRC_DIR=( "src" "toolsrc" "xmlimplsrc" )
 JAVA_RESOURCE_DIRS="res"
 JAVA_MAIN_CLASS="org.mozilla.javascript.tools.shell.Main"
 
-JAVA_TEST_GENTOO_CLASSPATH="ant-junit,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml"
+JAVA_TEST_GENTOO_CLASSPATH="ant,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml"
 JAVA_TEST_SRC_DIRS="testsrc"
 JAVA_TEST_RESOURCE_DIRS="testres"
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-04-08 14:31 Arthur Zamarin
  0 siblings, 0 replies; 16+ messages in thread
From: Arthur Zamarin @ 2022-04-08 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     2af0356cf79db626924f88788a2816233d28424d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 14:31:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 14:31:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af0356c

dev-java/rhino: Stabilize 1.7.14 ppc64, #835644

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index 46feeadf4fe3..0826d783bf62 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-04-08 14:31 Arthur Zamarin
  0 siblings, 0 replies; 16+ messages in thread
From: Arthur Zamarin @ 2022-04-08 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     b36ded7eaec77fb5521dad3cc84327bbf73bd2a5
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 14:31:01 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 14:31:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36ded7e

dev-java/rhino: Stabilize 1.7.14 arm64, #835644

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index 607e89943e24..46feeadf4fe3 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-04-07 20:58 Jakov Smolić
  0 siblings, 0 replies; 16+ messages in thread
From: Jakov Smolić @ 2022-04-07 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     e375038f3d2c671ff329a28c8cef570f9da22e83
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 20:55:11 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 20:57:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e375038f

dev-java/rhino: Stabilize 1.7.14 amd64, #835644

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index f73aed7eae8d..3b8aa915941e 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-04-07 20:58 Jakov Smolić
  0 siblings, 0 replies; 16+ messages in thread
From: Jakov Smolić @ 2022-04-07 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     d6462273af7436a806828681afe1de9c803a50aa
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 20:55:44 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 20:57:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6462273

dev-java/rhino: Stabilize 1.7.14 x86, #835644

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index 3b8aa915941e..607e89943e24 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-03-18  8:12 Arthur Zamarin
  0 siblings, 0 replies; 16+ messages in thread
From: Arthur Zamarin @ 2022-03-18  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     690ea2107a2cf63e474657946ede38b69aff0149
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 08:12:13 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 08:12:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=690ea210

dev-java/rhino: Keyword 1.7.14 arm64, #835347

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index b63bd8a8a466..f73aed7eae8d 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-03-18  8:06 Arthur Zamarin
  0 siblings, 0 replies; 16+ messages in thread
From: Arthur Zamarin @ 2022-03-18  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     fc1311ba0799057af55ef45223028c53b9606f66
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 08:06:42 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 08:06:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1311ba

dev-java/rhino: Keyword 1.7.14 arm, #835347

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index 8ffc6baa20d3..b63bd8a8a466 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-03-18  8:02 Arthur Zamarin
  0 siblings, 0 replies; 16+ messages in thread
From: Arthur Zamarin @ 2022-03-18  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     4a45dc31fb2b70b4b5588339ac5844875eab1e77
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 08:02:29 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 08:02:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a45dc31

dev-java/rhino: Keyword 1.7.14 ppc64, #835347

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
index e2d55459ce0f..8ffc6baa20d3 100644
--- a/dev-java/rhino/rhino-1.7.14.ebuild
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino"
 SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 SLOT="1.6"
 
 # There are too many test failures:


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-03-15 17:23 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2022-03-15 17:23 UTC (permalink / raw
  To: gentoo-commits

commit:     3e16b3ba49d912597b978a901b0d111331f29061
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Feb  2 20:58:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 17:22:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e16b3ba

dev-java/rhino: Bump to 1.7.14

Closes: https://bugs.gentoo.org/575590
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/rhino/Manifest            |   1 +
 dev-java/rhino/rhino-1.7.14.ebuild | 113 +++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest
index c66f7621da10..569bb6a5f328 100644
--- a/dev-java/rhino/Manifest
+++ b/dev-java/rhino/Manifest
@@ -1 +1,2 @@
 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/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild
new file mode 100644
index 000000000000..e2d55459ce0f
--- /dev/null
+++ b/dev-java/rhino/rhino-1.7.14.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.mozilla:rhino:1.7.14"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="An open-source implementation of JavaScript written in Java"
+HOMEPAGE="https://github.com/mozilla/rhino"
+SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MPL-1.1 GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="1.6"
+
+# There are too many test failures:
+# FAILURES!!!
+# Tests run: 10504,  Failures: 613
+# With openjdk-11 tests even fail to compile:
+# ./testsrc/tests/src/com/netscape/javascript/qa/liveconnect/LiveConnectTest.java:104: error: cannot find symbol
+#         global  = JSObject.getWindow( this );
+#                           ^
+#   symbol:   method getWindow(LiveConnectTest)
+#   location: class JSObject
+RESTRICT="test"
+
+DEPEND=">=virtual/jdk-1.8:*
+	test? (
+		dev-java/ant-junit:0
+		dev-java/emma:0
+		dev-java/jakarta-xml-soap-api:1
+		dev-java/jmh-core:0
+		dev-java/hamcrest-core:1.3
+		dev-java/snakeyaml:0
+	)
+	${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.8:*
+	${CDEPEND}"
+
+DOCS=( {CODE_OF_CONDUCT,README,RELEASE-NOTES,RELEASE-STEPS}.md {NOTICE-tools,NOTICE}.txt )
+
+S="${WORKDIR}/rhino-Rhino${PV//./_}_Release"
+
+JAVA_SRC_DIR=( "src" "toolsrc" "xmlimplsrc" )
+JAVA_RESOURCE_DIRS="res"
+JAVA_MAIN_CLASS="org.mozilla.javascript.tools.shell.Main"
+
+JAVA_TEST_GENTOO_CLASSPATH="ant-junit,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml"
+JAVA_TEST_SRC_DIRS="testsrc"
+JAVA_TEST_RESOURCE_DIRS="testres"
+
+# https://github.com/mozilla/rhino/blob/Rhino1_7_14_Release/build.gradle#L81-L87
+JAVA_TEST_EXTRA_ARGS=(
+	-Djava.awt.headless=true
+	-Dmozilla.js.tests=testsrc/tests
+	-Dmozilla.js.tests.timeout=60000
+	-Duser.language=en
+	-Duser.country=US
+	-Duser.timezone=America/Los_Angeles
+	-Dfile.encoding=UTF-8
+)
+
+src_prepare() {
+	default
+	java-pkg_clean
+
+	mkdir -p res/org/mozilla/javascript/tools/{resources,debugger} || die
+
+	cp -r "src/org" "res" || die
+	find "res" -type f -name '*.java' -exec rm -rf {} + || die
+
+	cp {toolsrc,res}/org/mozilla/javascript/tools/resources/Messages.properties || die
+	cp {toolsrc,res}/org/mozilla/javascript/tools/debugger/test.js || die
+
+	mv {src,testsrc}/org/mozilla/javascript/engine || die
+	cp -r "testsrc" "testres" || die
+	find "testres" -type f -name '*.java' -exec rm -rf {} + || die
+
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveConnectDrv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveConnectEnv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveNavDrv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveNavEnv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/MacRefEnv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/NavDrv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/NavEnv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/ObservedTask.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/RefDrv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/RefEnv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/RhinoDrv.java || die
+	rm testsrc/tests/src/com/netscape/javascript/qa/drivers/RhinoEnv.java || die
+}
+
+src_test() {
+	# https://github.com/mozilla/rhino/blob/Rhino1_7_14_Release/build.gradle#L71-L77
+	rm -r testsrc/benchmarks || die
+
+	local vm_version="$(java-config -g PROVIDES_VERSION)"
+	if ver_test "${vm_version}" -gt "1.8" ; then
+		JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.desktop/javax.swing.table=ALL-UNNAMED )
+	fi
+
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	default # https://bugs.gentoo.org/789582
+	java-pkg-simple_src_install
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2022-01-14  8:43 Miroslav Šulc
  0 siblings, 0 replies; 16+ messages in thread
From: Miroslav Šulc @ 2022-01-14  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     40b7b112486b573cfbea9502ecc4bf16e2dac228
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jan 12 10:27:22 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 08:43:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b7b112

dev-java/rhino: MAVEN_ID

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.7-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
index 0ed1121c184c..656ddd97e01f 100644
--- a/dev-java/rhino/rhino-1.7.7-r1.ebuild
+++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# 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


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2017-07-12 18:40 Alexis Ballier
  0 siblings, 0 replies; 16+ messages in thread
From: Alexis Ballier @ 2017-07-12 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     d62a9e1efaa7d0f7e60d381289e867a8231d9a37
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 12 17:09:38 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Jul 12 18:40:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62a9e1e

dev-java/rhino: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-java/rhino/rhino-1.7.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
index 134b07cdd7c..6183419c40e 100644
--- a/dev-java/rhino/rhino-1.7.7-r1.ebuild
+++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -23,7 +23,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/"
 
 LICENSE="MPL-1.1 GPL-2"
 SLOT="1.6"
-KEYWORDS="amd64 ~arm ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 IUSE=""
 
 # ../rhino-Rhino1_7_7_RELEASE


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2015-10-28 23:27 James Le Cuirot
  0 siblings, 0 replies; 16+ messages in thread
From: James Le Cuirot @ 2015-10-28 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     346168e31149bce833b378fe16c6f46163fd0aec
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 23:23:22 2015 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 23:23:22 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346168e3

dev-java/rhino: Add ~arm keyword to unbreak the tree

The test flag has been temporarily masked on arm until the jflex
sub-dependency is sorted out. This should happen shortly.

Package-Manager: portage-2.2.20.1

 dev-java/rhino/rhino-1.7.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
index ebdf486..753aa18 100644
--- a/dev-java/rhino/rhino-1.7.7-r1.ebuild
+++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/"
 
 LICENSE="MPL-1.1 GPL-2"
 SLOT="1.6"
-KEYWORDS="amd64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
 IUSE=""
 
 # ../rhino-Rhino1_7_7_RELEASE


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2015-10-28 21:10 Patrice Clement
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice Clement @ 2015-10-28 21:10 UTC (permalink / raw
  To: gentoo-commits

commit:     8ab02abd6848d300382e6849e2fff5d65685659f
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 20:59:36 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 21:08:38 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab02abd

dev-java/rhino: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCHES policy.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.7-r1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
index 1d9411c..ebdf486 100644
--- a/dev-java/rhino/rhino-1.7.7-r1.ebuild
+++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/"
 
 LICENSE="MPL-1.1 GPL-2"
 SLOT="1.6"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE=""
 
 # ../rhino-Rhino1_7_7_RELEASE
@@ -56,13 +56,9 @@ EANT_TEST_TARGET="junit"
 RESTRICT="test"
 
 java_prepare() {
-	find . \
-		-type f \
-		-name \*.jar \
-		-print \
-		-exec rm -v {} \; || die "Couldn't delete bundled jar files."
+	java-pkg_clean
 
-	epatch ${PATCHES[@]}
+	epatch "${PATCHES[@]}"
 
 	if use test; then
 		mkdir lib || die


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2015-08-12 15:07 Patrice Clement
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice Clement @ 2015-08-12 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     4fe789cd4ef2ca50c156056c6c93fbb7e8faa51e
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 16:04:13 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 16:05:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe789cd

dev-java/rhino: reduce SLOT back to 1.6.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/rhino/rhino-1.7.7-r1.ebuild | 98 ++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild
new file mode 100644
index 0000000..1d9411c
--- /dev/null
+++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+JAVA_PKG_IUSE="doc examples source test"
+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 ~ppc ~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() {
+	find . \
+		-type f \
+		-name \*.jar \
+		-print \
+		-exec rm -v {} \; || die "Couldn't delete bundled jar files."
+
+	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
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
@ 2015-08-09 12:30 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-08-09 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     4ca49ac6cbee203d87c682c8a6170bb591dcce5e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 12:00:36 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Aug  9 12:29:01 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca49ac6

dev-java/rhino: Updating remote-id in metadata.xml

Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-java/rhino/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-java/rhino/metadata.xml b/dev-java/rhino/metadata.xml
index edd5474..47f3275 100644
--- a/dev-java/rhino/metadata.xml
+++ b/dev-java/rhino/metadata.xml
@@ -7,4 +7,7 @@
 		It is typically embedded into Java applications to provide scripting
 		to end users.
 	</longdescription>
+	<upstream>
+		<remote-id type="github">mozilla/rhino</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-04-15 10:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-15 17:23 [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-04-15 10:26 Miroslav Šulc
2022-04-08 14:31 Arthur Zamarin
2022-04-08 14:31 Arthur Zamarin
2022-04-07 20:58 Jakov Smolić
2022-04-07 20:58 Jakov Smolić
2022-03-18  8:12 Arthur Zamarin
2022-03-18  8:06 Arthur Zamarin
2022-03-18  8:02 Arthur Zamarin
2022-03-15 17:23 Sam James
2022-01-14  8:43 Miroslav Šulc
2017-07-12 18:40 Alexis Ballier
2015-10-28 23:27 James Le Cuirot
2015-10-28 21:10 Patrice Clement
2015-08-12 15:07 Patrice Clement
2015-08-09 12:30 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox