summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-04-02 17:24:11 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-05 13:03:24 +0200
commit9bf5e745fe0c81704769111e36ebf980aa7972d7 (patch)
tree5dda9bbb709661826ae9edf3289f4437247b3c91 /dev-java
parentdev-java/objenesis-test: new package v 3.2 (diff)
downloadgentoo-9bf5e745fe0c81704769111e36ebf980aa7972d7.tar.gz
gentoo-9bf5e745fe0c81704769111e36ebf980aa7972d7.tar.bz2
gentoo-9bf5e745fe0c81704769111e36ebf980aa7972d7.zip
dev-java/objenesis: bump to 3.2
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20220/commits/497b707eb0e8d2170ae348d44014f6a2d320e9de Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-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"