public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/objenesis/
Date: Sun, 20 Oct 2024 10:18:02 +0000 (UTC)	[thread overview]
Message-ID: <1729419411.7ffac0be200f7eaca629feae93bf50fbe8947117.fordfrog@gentoo> (raw)

commit:     7ffac0be200f7eaca629feae93bf50fbe8947117
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Oct  3 08:38:42 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 10:16:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ffac0be

dev-java/objenesis: add 3.4

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

 dev-java/objenesis/Manifest             |  1 +
 dev-java/objenesis/objenesis-3.4.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest
index 955ff2825c1c..b106bf82c6ef 100644
--- a/dev-java/objenesis/Manifest
+++ b/dev-java/objenesis/Manifest
@@ -1 +1,2 @@
 DIST objenesis-3.3.tar.gz 125400 BLAKE2B 36cff7cb5a2dca9a81f3ca07d56995f68d9c61c9d2b7caeac5f87bb13da02b0494053927e2221c776edef0bafb862f5c97dfc0e79cf991c6c970b5b9206a5aa3 SHA512 786fe0d2d1dba0f006d5218101578d8fd23616765f5cdb4df190d138fd10dd675b9189887c27a40b63f09ed5e1dac1324b2936c7ac24a655e6f63d53b9cd7c01
+DIST objenesis-3.4.tar.gz 128447 BLAKE2B 220694fb496b4a29ad50c92741477e08475a6bdbd4f6ff647a03995a86945d9474672ee1be4f60f1fc07f0b05a4f1e59110977fccf9fd063dbd57750a66e2a26 SHA512 e4b106ae71e5f62e6057dba749ac56c42030a2a1aca5c2ec5c95c934a7fe1af99e6c62ca9c50e76fa67610bfbf075e46a0c9f37d4e6c35ea6047175189ab686e

diff --git a/dev-java/objenesis/objenesis-3.4.ebuild b/dev-java/objenesis/objenesis-3.4.ebuild
new file mode 100644
index 000000000000..61b9dc73a2eb
--- /dev/null
+++ b/dev-java/objenesis/objenesis-3.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.objenesis:objenesis:3.4"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A library for instantiating Java objects"
+HOMEPAGE="https://objenesis.org/"
+SRC_URI="https://github.com/easymock/objenesis/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+RESTRICT="test" #839681
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_TEST_GENTOO_CLASSPATH="
+	junit-4
+	junit-5
+"
+
+JAVA_TEST_SRC_DIR="main/src/test/java"
+
+src_compile() {
+	if use test; then
+		einfo "Compiling objenesis-test"
+		JAVA_AUTOMATIC_MODULE_NAME="org.objenesis.test"
+		JAVA_SRC_DIR="test/src/main/java"
+		JAVA_JAR_FILENAME="objenesis-test.jar"
+		java-pkg-simple_src_compile
+		JAVA_GENTOO_CLASSPATH_EXTRA+=":objenesis-test.jar"
+		rm -r target || die
+	fi
+
+	einfo "Compiling objenesis"
+	JAVA_SRC_DIR="main/src/main/java"
+	JAVA_JAR_FILENAME="objenesis.jar"
+	JAVA_AUTOMATIC_MODULE_NAME="org.objenesis"
+	java-pkg-simple_src_compile
+}


             reply	other threads:[~2024-10-20 10:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-20 10:18 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-22  7:48 [gentoo-commits] repo/gentoo:master commit in: dev-java/objenesis/ Miroslav Šulc
2024-11-21 21:08 Arthur Zamarin
2024-11-21 15:50 Jakov Smolić
2024-11-19  1:37 Sam James
2022-10-11  5:38 Miroslav Šulc
2022-10-10 11:49 Sam James
2022-10-07 20:19 Sam James
2022-10-07 20:19 Sam James
2022-10-07 11:32 Arthur Zamarin
2022-09-07 14:23 Florian Schmaus
2022-01-09  8:55 Florian Schmaus
2021-05-16 18:58 Sam James
2021-05-06 16:39 Miroslav Šulc
2021-05-06 10:06 Sam James
2021-05-06  7:22 Sergei Trofimovich
2021-04-05 11:13 Miroslav Šulc
2020-08-25 13:40 Miroslav Šulc
2017-07-13 18:32 Alexis Ballier

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=1729419411.7ffac0be200f7eaca629feae93bf50fbe8947117.fordfrog@gentoo \
    --to=fordfrog@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