summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/objenesis/Manifest1
-rw-r--r--dev-java/objenesis/metadata.xml3
-rw-r--r--dev-java/objenesis/objenesis-3.2.ebuild44
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest
index b16e217593f4..6798eae5ebae 100644
--- a/dev-java/objenesis/Manifest
+++ b/dev-java/objenesis/Manifest
@@ -1 +1,2 @@
DIST objenesis-1.3-bin.zip 287452 BLAKE2B d3f6cce9ad46d8578e24077df8a19fcdf2f9456ef732f73fe234ae688c9ceca7277e5376657efcdaba1a7b5a80ddf106aff52f291a6b2f698a010a288e961e33 SHA512 48f838e00cfe0d12c6c73fb3d1d8482ccd8de71742a86c3afbba832c6b73e1f7b1604f8c209386e00f7751cd568e9ef4d61b543db66c927f3d61f9e6ee0a4193
+DIST objenesis-3.2.tar.gz 123629 BLAKE2B d875224d7a9fcf6173787edaca35f58f72d6c85ee443831be8050170ba826e8a155c7983c62ef5d01a1bb8331943dd6da5cb50eefb87cc0c7d3db540b01fcac3 SHA512 8f0bf9449191bce1823be0cbae85438edf595bde0483bb2fb4415a880b6715ae60826473bd5ee15789a7d0638932878dbdaaf7b42a6d582aa7bbf09124e97e3b
diff --git a/dev-java/objenesis/metadata.xml b/dev-java/objenesis/metadata.xml
index 5edcde2bc350..36a0882f4080 100644
--- a/dev-java/objenesis/metadata.xml
+++ b/dev-java/objenesis/metadata.xml
@@ -6,6 +6,7 @@
<name>Java</name>
</maintainer>
<upstream>
- <remote-id type="google-code">objenesis</remote-id>
+ <remote-id type="github">easymock/objenesis</remote-id>
+ <bugs-to>https://github.com/easymock/objenesis/issues</bugs-to>
</upstream>
</pkgmetadata>
diff --git a/dev-java/objenesis/objenesis-3.2.ebuild b/dev-java/objenesis/objenesis-3.2.ebuild
new file mode 100644
index 000000000000..ce6d04ce8dc8
--- /dev/null
+++ b/dev-java/objenesis/objenesis-3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom objenesis-3.2/main/pom.xml --download-uri https://github.com/easymock/objenesis/archive/refs/tags/3.2.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild objenesis-3.2.ebuild
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.objenesis:objenesis:3.2"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A library for instantiating Java objects"
+HOMEPAGE="http://objenesis.org/objenesis"
+SRC_URI="https://github.com/easymock/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+# Compile dependencies
+# POM: ${P}/main/pom.xml
+# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
+# test? org.objenesis:objenesis-test:3.2 -> >=dev-java/objenesis-test-3.2:0
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? (
+ >=dev-java/objenesis-test-3.2:0
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}"
+
+JAVA_SRC_DIR="${P}/main/src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,objenesis-test"
+JAVA_TEST_SRC_DIR="${P}/main/src/test/java"