public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/
@ 2015-10-08  7:58 Patrice Clement
  0 siblings, 0 replies; 5+ messages in thread
From: Patrice Clement @ 2015-10-08  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     a580f82a71b86cfbb35caa6c26e0d155526bd225
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  8 07:04:50 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Oct  8 07:56:18 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a580f82a

dev-java/jrobin: Stable for amd64. Stable for x86 using the ALLARCHES policy.

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

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

diff --git a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild b/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
index 2257f1c..6ea32d6 100644
--- a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
+++ b/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND=">=virtual/jre-1.6"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/
@ 2022-03-16 22:29 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-03-16 22:29 UTC (permalink / raw
  To: gentoo-commits

commit:     903c1ced5d23764ecdf88f680ccab15da76d7d48
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Feb 18 15:35:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 16 22:28:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903c1ced

dev-java/jrobin: EAPI 8, min java 1.8:*

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/24251
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/jrobin/jrobin-1.6.0-r2.ebuild | 74 ++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/dev-java/jrobin/jrobin-1.6.0-r2.ebuild b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
new file mode 100644
index 000000000000..427e2dc13d7b
--- /dev/null
+++ b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/OpenNMS/jrobin/archive/jrobin-1.6.0-1.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild jrobin-1.6.0-r2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.jrobin:jrobin:1.6.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JRobin is a 100% pure Java alternative to RRDTool"
+HOMEPAGE="https://github.com/OpenNMS/jrobin"
+SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Common dependencies
+# POM: pom.xml
+# junit:junit:4.11 -> >=dev-java/junit-4.13.2:4
+
+# Compile dependencies
+# POM: pom.xml
+# test? org.easymock:easymock:3.1 -> >=dev-java/easymock-3.3.1:3.2
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+	test? (
+		dev-java/easymock:3.2
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*"
+
+DOCS=( LICENSE.txt README.osgi )
+
+S="${WORKDIR}/${PN}-${P}-1"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_MAIN_CLASS="org.jrobin.cmd.RrdCommander"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+# Workaround for https://github.com/OpenNMS/jrobin/issues/7
+JAVADOC_ARGS="-source 8"
+
+JAVA_TEST_GENTOO_CLASSPATH="easymock-3.2,junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+	default
+	java-pkg_clean
+}
+
+src_test() {
+	export LANG="C" LC_ALL="C"
+
+	local vm_version="$(java-config -g PROVIDES_VERSION)"
+	if [[ "${vm_version}" -ge "17" ]] ; then
+		JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=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] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/
@ 2022-04-23 21:37 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-04-23 21:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a0fa2f3e3828b9544ad2fd29e103474fff1f0724
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 21:37:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 21:37:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fa2f3e

dev-java/jrobin: Stabilize 1.6.0-r2 amd64, #840275

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/jrobin/jrobin-1.6.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/jrobin/jrobin-1.6.0-r2.ebuild b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
index 427e2dc13d7b..e69f1ec612e2 100644
--- a/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
+++ b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # Common dependencies
 # POM: pom.xml


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/
@ 2022-04-24 11:08 Jakov Smolić
  0 siblings, 0 replies; 5+ messages in thread
From: Jakov Smolić @ 2022-04-24 11:08 UTC (permalink / raw
  To: gentoo-commits

commit:     f24784650836e1fd02a411e98477f74ae4abdf1b
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 24 11:07:45 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 11:07:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2478465

dev-java/jrobin: Stabilize 1.6.0-r2 x86, #840275

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

 dev-java/jrobin/jrobin-1.6.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/jrobin/jrobin-1.6.0-r2.ebuild b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
index e69f1ec612e2..591a820c6055 100644
--- a/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
+++ b/dev-java/jrobin/jrobin-1.6.0-r2.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # Common dependencies
 # POM: pom.xml


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/
@ 2022-04-24 11:28 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2022-04-24 11:28 UTC (permalink / raw
  To: gentoo-commits

commit:     117529df80c2ee6d93caf642ac1c1d055d00a224
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 24 11:28:01 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 11:28:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117529df

dev-java/jrobin: removed obsolete 1.6.0-r1

Bug: https://bugs.gentoo.org/840275
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/jrobin/jrobin-1.6.0-r1.ebuild | 65 ----------------------------------
 1 file changed, 65 deletions(-)

diff --git a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild b/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
deleted file mode 100644
index 3b819e8ef465..000000000000
--- a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="JRobin is a 100% pure Java alternative to RRDTool"
-HOMEPAGE="http://www.jrobin.org/"
-SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=virtual/jre-1.6"
-DEPEND=">=virtual/jdk-1.6
-	test? (	dev-java/asm:4
-		>=dev-java/cglib-3.1:3
-		dev-java/easymock:3.2
-		dev-java/junit:4
-		dev-java/objenesis:0 )"
-
-S="${WORKDIR}/${PN}-${P}-1/src"
-JAVA_SRC_DIR="main/java"
-
-java_prepare() {
-	find "${WORKDIR}" -name "*.jar" -delete || die
-
-	# The tests need the resources in this directory for some reason.
-	mkdir -p test/java/target/classes || die
-	cd test/java/target/classes || die
-	ln -snf ../../../../main/resources/* . || die
-}
-
-src_compile() {
-	java-pkg-simple_src_compile
-	jar uf "${PN}.jar" -C main/resources . || die
-}
-
-src_install() {
-	java-pkg-simple_src_install
-	java-pkg_dolauncher "${PN}-rrdtool" --main org.jrobin.cmd.RrdCommander
-}
-
-src_test() {
-	cd test/java || die
-
-	local CP=".:${S}/${PN}.jar:$(java-pkg_getjars asm-4,cglib-3,easymock-3.2,junit-4,objenesis)"
-	local TESTS=$(find * -name "*Test.java")
-	TESTS="${TESTS//.java}"
-	TESTS="${TESTS//\//.}"
-
-	ejavac -cp "${CP}" -d . $(find * -name "*.java")
-	ejunit4 -classpath "${CP}" ${TESTS}
-}
-
-pkg_postinst() {
-	elog "The rrdtool executable has been installed as ${PN}-rrdtool to"
-	elog "avoid conflicting with net-analyzer/rrdtool."
-}


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

end of thread, other threads:[~2022-04-24 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24 11:28 [gentoo-commits] repo/gentoo:master commit in: dev-java/jrobin/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2022-04-24 11:08 Jakov Smolić
2022-04-23 21:37 Sam James
2022-03-16 22:29 Sam James
2015-10-08  7:58 Patrice Clement

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