diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-08-13 11:50:51 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-09-07 16:19:23 +0200 |
commit | fb0b0a2f175f19e71e474bc36d22cc290377b7b1 (patch) | |
tree | a0d04a12a281193141682ac8f9b7e88c5d1ccffd /dev-java/objenesis | |
parent | dev-lang/python: Bump 3.8.14 (diff) | |
download | gentoo-fb0b0a2f175f19e71e474bc36d22cc290377b7b1.tar.gz gentoo-fb0b0a2f175f19e71e474bc36d22cc290377b7b1.tar.bz2 gentoo-fb0b0a2f175f19e71e474bc36d22cc290377b7b1.zip |
dev-java/objenesis: add 3.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26845
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/objenesis')
-rw-r--r-- | dev-java/objenesis/Manifest | 1 | ||||
-rw-r--r-- | dev-java/objenesis/objenesis-3.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest index b705a57d89bb..f67c00dcae30 100644 --- a/dev-java/objenesis/Manifest +++ b/dev-java/objenesis/Manifest @@ -1 +1,2 @@ DIST objenesis-3.2.tar.gz 123629 BLAKE2B d875224d7a9fcf6173787edaca35f58f72d6c85ee443831be8050170ba826e8a155c7983c62ef5d01a1bb8331943dd6da5cb50eefb87cc0c7d3db540b01fcac3 SHA512 8f0bf9449191bce1823be0cbae85438edf595bde0483bb2fb4415a880b6715ae60826473bd5ee15789a7d0638932878dbdaaf7b42a6d582aa7bbf09124e97e3b +DIST objenesis-3.3.tar.gz 125400 BLAKE2B 36cff7cb5a2dca9a81f3ca07d56995f68d9c61c9d2b7caeac5f87bb13da02b0494053927e2221c776edef0bafb862f5c97dfc0e79cf991c6c970b5b9206a5aa3 SHA512 786fe0d2d1dba0f006d5218101578d8fd23616765f5cdb4df190d138fd10dd675b9189887c27a40b63f09ed5e1dac1324b2936c7ac24a655e6f63d53b9cd7c01 diff --git a/dev-java/objenesis/objenesis-3.3.ebuild b/dev-java/objenesis/objenesis-3.3.ebuild new file mode 100644 index 000000000000..496200c3d857 --- /dev/null +++ b/dev-java/objenesis/objenesis-3.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# No tests since we don't have junit-jupiter +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.objenesis:objenesis:3.3" +# JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A library for instantiating Java objects" +HOMEPAGE="http://objenesis.org/" +SRC_URI="https://github.com/easymock/objenesis/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +S="${WORKDIR}/${P}" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +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 +} |