public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/tapestry-json/
Date: Thu, 03 Apr 2025 07:41:10 +0000 (UTC)	[thread overview]
Message-ID: <1743665898.23abddea813b442a92d0b92d0c50ce39dbb2afce.flow@gentoo> (raw)

commit:     23abddea813b442a92d0b92d0c50ce39dbb2afce
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jan  8 18:22:37 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Apr  3 07:38:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23abddea

dev-java/tapestry-json: new package, add 5.8.7

Needed for json-path which is a test dependency of dev-java/json

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/tapestry-json/Manifest                   |  1 +
 dev-java/tapestry-json/metadata.xml               | 10 +++++
 dev-java/tapestry-json/tapestry-json-5.8.7.ebuild | 49 +++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-java/tapestry-json/Manifest b/dev-java/tapestry-json/Manifest
new file mode 100644
index 000000000000..f2ee9eb60c82
--- /dev/null
+++ b/dev-java/tapestry-json/Manifest
@@ -0,0 +1 @@
+DIST apache-tapestry-5.8.7-sources.zip 12050565 BLAKE2B 5f44d9d37ce0702148da4b8e38f8dacdecacaa4cccdf025a145f521aa2a120d7d2f2d8939987e06717edf3db8e467e456e2feeb96a712229a777d7e1da87558d SHA512 d397bfffa56fa8f7ad3687d0e0ec919cd278b8d9c8aa0cd6f59f98377de367e93d3672e876d24ccc1b8bef55db71fe8a8aa7ae7f089356a30bc2cae588d940c1

diff --git a/dev-java/tapestry-json/metadata.xml b/dev-java/tapestry-json/metadata.xml
new file mode 100644
index 000000000000..a1f3f05cedd3
--- /dev/null
+++ b/dev-java/tapestry-json/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">apache/tapestry-5</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild b/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild
new file mode 100644
index 000000000000..933ec78d9f20
--- /dev/null
+++ b/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apache.tapestry:tapestry-json:${PV}"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Tapestry JSON"
+HOMEPAGE="https://tapestry.apache.org/"
+SRC_URI="https://downloads.apache.org/tapestry/apache-tapestry-${PV}-sources.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-arch/unzip"
+
+#	dev-java/asm:0	# seems bundled in plastic/src/external/
+
+DEPEND="
+	dev-java/slf4j-api:0
+	>=virtual/jdk-1.8:*
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.tapestry.json"
+JAVA_CLASSPATH_EXTRA="slf4j-api"
+JAVA_GENTOO_CLASSPATH_EXTRA="target/deps"
+JAVA_SRC_DIR="tapestry-json/src/main/java"
+
+src_compile() {
+	# build classes needed for compilation
+	ejavac -d target/deps \
+		-cp "$(java-pkg_getjars slf4j-api)" \
+		$(find \
+			commons/src/main/java \
+			plastic-asm/src/main/java \
+			plastic/src/external/java \
+			plastic/src/main/java \
+			tapestry5-annotations/src/main/java \
+			tapestry-func/src/main/java \
+			-name "*.java") || die
+
+	java-pkg-simple_src_compile
+}


             reply	other threads:[~2025-04-03  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-03  7:41 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-28 17:50 [gentoo-commits] repo/gentoo:master commit in: dev-java/tapestry-json/ Miroslav Šulc
2025-05-05  6:18 Arthur Zamarin
2025-05-17 18:39 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1743665898.23abddea813b442a92d0b92d0c50ce39dbb2afce.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox