public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jtwig-reflection/
@ 2023-11-30 10:08 Miroslav Šulc
  0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2023-11-30 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     61a35184b24adb0b422a7e9c53840fe21fa84b27
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon May 22 12:22:29 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 10:07:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a35184

dev-java/jtwig-reflection: new package, add 5.87.0

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

 dev-java/jtwig-reflection/Manifest                 |  1 +
 .../jtwig-reflection-5.87.0.ebuild                 | 67 ++++++++++++++++++++++
 dev-java/jtwig-reflection/metadata.xml             | 10 ++++
 3 files changed, 78 insertions(+)

diff --git a/dev-java/jtwig-reflection/Manifest b/dev-java/jtwig-reflection/Manifest
new file mode 100644
index 000000000000..abbce93fde11
--- /dev/null
+++ b/dev-java/jtwig-reflection/Manifest
@@ -0,0 +1 @@
+DIST jtwig-reflection-5.87.0.tar.gz 70500 BLAKE2B 526e009bfabd3ed5d9034285f28980a52fafeee635e07446f32533ea7f6e4546d164ddc577fa25aabdcd80f64b953752a8c48405858534739d52c19474273fcf SHA512 87e4129833951c5c2903d574a9c4986219c7eb61d7ca2c657ecdeb9890d79149ff610ad7ad0002119ba5db0953f342d648eb46d9553185794d7bb7cb0a79e3ab

diff --git a/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
new file mode 100644
index 000000000000..4ce9372091fa
--- /dev/null
+++ b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.jtwig:jtwig-reflection:${PV}.RELEASE"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Jtwig Reflection Library"
+HOMEPAGE="https://github.com/jtwig/jtwig-reflection"
+SRC_URI="https://github.com/jtwig/jtwig-reflection/archive/${PV}.RELEASE.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}.RELEASE"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	dev-java/commons-lang:3.6
+	dev-java/guava:0
+	dev-java/slf4j-api:0
+	>=virtual/jdk-1.8:*
+	test? (
+		dev-java/commons-io:1
+		dev-java/hamcrest:0
+		dev-java/mockito:0
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+JAVA_CLASSPATH_EXTRA="
+	commons-lang-3.6
+	guava
+	slf4j-api
+"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_EXCLUDES=(
+	# Invalid test class; No runnable methods
+	org.jtwig.reflection.integration.example.TestArgumentValueResolver
+	org.jtwig.reflection.integration.example.TestArgumentResolver
+	org.jtwig.reflection.integration.example.TestArgument
+)
+JAVA_TEST_GENTOO_CLASSPATH="
+	commons-io-1
+	hamcrest
+	junit-4
+	mockito
+"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+	# Unable to make field private final byte[] java.lang.String.value accessible:
+	# module java.base does not "opens java.lang" to unnamed module @3bc9f433
+	local vm_version="$(java-config -g PROVIDES_VERSION)"
+	if ver_test "${vm_version}" -ge 17; then
+		JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED )
+	fi
+	java-pkg-simple_src_test
+}

diff --git a/dev-java/jtwig-reflection/metadata.xml b/dev-java/jtwig-reflection/metadata.xml
new file mode 100644
index 000000000000..488c6bf7458e
--- /dev/null
+++ b/dev-java/jtwig-reflection/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">jtwig/jtwig</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jtwig-reflection/
@ 2023-12-30  4:10 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-12-30  4:10 UTC (permalink / raw
  To: gentoo-commits

commit:     bed061840e201b153233005244e4e3049641fd1e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 04:09:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 04:09:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed06184

dev-java/jtwig-reflection: Stabilize 5.87.0 amd64, #920877

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

 dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
index 4ce9372091fa..5ef4ef633b90 100644
--- a/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
+++ b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${P}.RELEASE"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DEPEND="
 	dev-java/commons-lang:3.6


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/jtwig-reflection/
@ 2024-05-06  1:51 Ionen Wolkens
  0 siblings, 0 replies; 3+ messages in thread
From: Ionen Wolkens @ 2024-05-06  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     fe7594e4d07c2ae8faa0991bc644cc621453c6dd
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu May  2 17:28:47 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May  6 01:50:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7594e4

dev-java/jtwig-reflection: Keyword 5.87.0 x86, #927348

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
index aaac0c8e5c2c..46276ea49c1f 100644
--- a/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
+++ b/dev-java/jtwig-reflection/jtwig-reflection-5.87.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${P}.RELEASE"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 
 DEPEND="
 	dev-java/commons-lang:3.6


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

end of thread, other threads:[~2024-05-06  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30  4:10 [gentoo-commits] repo/gentoo:master commit in: dev-java/jtwig-reflection/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-05-06  1:51 Ionen Wolkens
2023-11-30 10:08 Miroslav Šulc

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