summaryrefslogtreecommitdiff
path: root/dev-java/objenesis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-07 16:36:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-07 16:36:21 +0100
commit4f49fc7caa0253a7ab164331f55bd4c70bba1bf7 (patch)
treea54fc9fe9ce5d43bee554b0c4ef7c26fb45e72d6 /dev-java/objenesis
parenta0e773d57146b0a0ec25567af504a10e6f187811 (diff)
gentoo auto-resync : 07:09:2022 - 16:36:21
Diffstat (limited to 'dev-java/objenesis')
-rw-r--r--dev-java/objenesis/Manifest2
-rw-r--r--dev-java/objenesis/objenesis-3.3.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest
index 2449301b7351..e583ab5d53f8 100644
--- a/dev-java/objenesis/Manifest
+++ b/dev-java/objenesis/Manifest
@@ -1,3 +1,5 @@
DIST objenesis-3.2.tar.gz 123629 BLAKE2B d875224d7a9fcf6173787edaca35f58f72d6c85ee443831be8050170ba826e8a155c7983c62ef5d01a1bb8331943dd6da5cb50eefb87cc0c7d3db540b01fcac3 SHA512 8f0bf9449191bce1823be0cbae85438edf595bde0483bb2fb4415a880b6715ae60826473bd5ee15789a7d0638932878dbdaaf7b42a6d582aa7bbf09124e97e3b
+DIST objenesis-3.3.tar.gz 125400 BLAKE2B 36cff7cb5a2dca9a81f3ca07d56995f68d9c61c9d2b7caeac5f87bb13da02b0494053927e2221c776edef0bafb862f5c97dfc0e79cf991c6c970b5b9206a5aa3 SHA512 786fe0d2d1dba0f006d5218101578d8fd23616765f5cdb4df190d138fd10dd675b9189887c27a40b63f09ed5e1dac1324b2936c7ac24a655e6f63d53b9cd7c01
EBUILD objenesis-3.2.ebuild 1209 BLAKE2B 5dd9a097b3bdf8b84af29c6f5944ddd9b338eb9138fe9f3f4605fb6acc33d1ba7553bf47d6a82b02ca75fb682c1079c8a62a2e3a3e11de6b196ed44347b89139 SHA512 30892a8275f87b6a2c3101d1391da7c1991f1e5110e427a519521af57d287ad632c0879c6ca869d54b00de643350443984da3352a932b21c7983e352b2cab614
+EBUILD objenesis-3.3.ebuild 1191 BLAKE2B f7ff321880f1bee7e0e6658371cfe6ac5377fc49d64ae819f656dcaeceb0d41bc01a53d7440e2f6e0f7cdb78a42f5dbf6a62f27e0c982543094c710e7a991e73 SHA512 fc4c86aefd480f1c68210033d2e17e11faa178b05a87dab126a1d529113170db00a6f4202d31d55afb5f77584ef583d0b5a97694e23f268ec4a3d68b42aed639
MISC metadata.xml 386 BLAKE2B 1015a40cbff1c5726a54996b8e0387b287ad70fbe45f732f399f4ef90c1839f0bfd0531139d9a304232fd6a49decd4bf287f746993ee7a1258b8bd3b920f2483 SHA512 e293fd7928f753745c69bb0357cc8140574c632d9a35e353df7dbbbc524855db423ac0cfc505b7bef2f98875cf5c05ed1144251702a0b932b6e1630d4be7ec95
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
+}