diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-21 04:04:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-21 04:04:33 +0100 |
commit | 3dc4de6331223493015f198dc61854af604da86c (patch) | |
tree | 626add8c88d96adf9429cdb19226d9de60e6dafd /dev-java/objenesis | |
parent | d895362f98ae63a6ed12cd16d3b3df95d6967f25 (diff) |
gentoo auto-resync : 21:10:2024 - 04:04:33
Diffstat (limited to 'dev-java/objenesis')
-rw-r--r-- | dev-java/objenesis/Manifest | 2 | ||||
-rw-r--r-- | dev-java/objenesis/objenesis-3.4.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest index 39a9c00c0243..a4b4f24bbe61 100644 --- a/dev-java/objenesis/Manifest +++ b/dev-java/objenesis/Manifest @@ -1,3 +1,5 @@ DIST objenesis-3.3.tar.gz 125400 BLAKE2B 36cff7cb5a2dca9a81f3ca07d56995f68d9c61c9d2b7caeac5f87bb13da02b0494053927e2221c776edef0bafb862f5c97dfc0e79cf991c6c970b5b9206a5aa3 SHA512 786fe0d2d1dba0f006d5218101578d8fd23616765f5cdb4df190d138fd10dd675b9189887c27a40b63f09ed5e1dac1324b2936c7ac24a655e6f63d53b9cd7c01 +DIST objenesis-3.4.tar.gz 128447 BLAKE2B 220694fb496b4a29ad50c92741477e08475a6bdbd4f6ff647a03995a86945d9474672ee1be4f60f1fc07f0b05a4f1e59110977fccf9fd063dbd57750a66e2a26 SHA512 e4b106ae71e5f62e6057dba749ac56c42030a2a1aca5c2ec5c95c934a7fe1af99e6c62ca9c50e76fa67610bfbf075e46a0c9f37d4e6c35ea6047175189ab686e EBUILD objenesis-3.3.ebuild 1178 BLAKE2B e77f8ddd1697bb46659c22ff6e23e6aeb4605b0e5a1fd13b8ec2043423534d84ae47f72f19777b9da13289544a79d3f0caf0c726d9373f96980e98f970a59af9 SHA512 a7890025d4aa0a73e1738dbaea98dfaa5f8575e27ad2802ee81efa2312e60398bef4745f2ae038548ae3dddf2ee6159d89d8a9809d9ac97be1b2108009e9d623 +EBUILD objenesis-3.4.ebuild 1167 BLAKE2B 85838ba88cadb1a19a267e2a30ad415991c82a7bef5a0ccc3b6042ae3e5afd91419b25d60b5633f3851ed3ebd9bb62bf28476ecd46a639eb9b6e074030df729b SHA512 4475ab447d4c0af93a431579a5ea6682a4ae0f82de724223c71619fa036c4c503e5f149c6d595c5a3a8733426b9f923352e2c304263a57dc9da1498482fdc177 MISC metadata.xml 386 BLAKE2B 1015a40cbff1c5726a54996b8e0387b287ad70fbe45f732f399f4ef90c1839f0bfd0531139d9a304232fd6a49decd4bf287f746993ee7a1258b8bd3b920f2483 SHA512 e293fd7928f753745c69bb0357cc8140574c632d9a35e353df7dbbbc524855db423ac0cfc505b7bef2f98875cf5c05ed1144251702a0b932b6e1630d4be7ec95 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 +} |