From a03b2fe2d845ae950995bf1c5255da420cbd92d2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Feb 2024 11:42:16 +0000 Subject: gentoo auto-resync : 06:02:2024 - 11:42:15 --- dev-java/commons-imaging/Manifest | 4 +- .../commons-imaging/commons-imaging-0.97.ebuild | 45 ++++++++++++++++++++++ .../commons-imaging-1.0_alpha3-r1.ebuild | 36 ----------------- .../commons-imaging-1.0_alpha3-r2.ebuild | 36 +++++++++++++++++ 4 files changed, 84 insertions(+), 37 deletions(-) create mode 100644 dev-java/commons-imaging/commons-imaging-0.97.ebuild delete mode 100644 dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild create mode 100644 dev-java/commons-imaging/commons-imaging-1.0_alpha3-r2.ebuild (limited to 'dev-java/commons-imaging') diff --git a/dev-java/commons-imaging/Manifest b/dev-java/commons-imaging/Manifest index c73c769cb441..d86e75f1deda 100644 --- a/dev-java/commons-imaging/Manifest +++ b/dev-java/commons-imaging/Manifest @@ -1,5 +1,7 @@ AUX commons-imaging-1.0_alpha3-PngChunk.javadoc.patch 734 BLAKE2B 8ea3c987688bef6537ca329514b638dfd0fc1322a2e4e3700537412fbbdc74d72e1e95dee4a7131587035e8e79485a08b6d7ba6ee79c95b27b3a40f5ba614632 SHA512 604cb85bac45a3b3882f283f1172c4d48578826e4f99e7d6e11bb2311c997248ca37003bfd9730c9e982ea8940ada0ed3ad1fd767984210fd18a7c72dffa1dd9 +DIST apache-sanselan-incubating-0.97-src.tar.gz 33317875 BLAKE2B c9db6c30accc308d2c5d5977b84da118ab50b010b3728665a75dab13f9fecb70075e2d2208a62fabc57af7396f7c39b1ec498e0840e5a2c9c8de9b95d2dd597a SHA512 b7e8af01f4b4ca812313bbf573758d9c0e1355266bfb83898336b14c4b492a8979f2a593f00d53c076e83cf807a049df624491a26623cfbceb00560b748f05f2 DIST commons-imaging-1.0-alpha3-src.tar.gz 39966281 BLAKE2B f0fbb6d7ae0c12be19fe13d3ff4e1cced5acfe7ea72326528c67b57fade73c0acee3eb8eaa62b3d40c473c0c2faf7f60ec190bc0954c5159405358bfac4efd42 SHA512 16300adb5873fef464bedfdce7e1368f52add8d33087f059667840880b8666024feeecdb278a53d5c3d8e76d01ab921ea146d41ca688757f0cf0c2f2b32b0d53 DIST commons-imaging-1.0-alpha3-src.tar.gz.asc 833 BLAKE2B b28631badf344fa476a99db78e26a9453d033d21dba8484b2621a4cb0295ea262f58d2df4f8afd6d8090ecd0ea98ec2dca0168e2b401d662c335ad1ef9518b98 SHA512 b7e6691d5eac6f81657dc42aa69184da7fd1bf364da391ac4e1a27991d9a8bbba23296d58b874b4c69a20d39c3c1e821ca19c312f3e71b3acd8903156a2a0a1d -EBUILD commons-imaging-1.0_alpha3-r1.ebuild 1148 BLAKE2B 87c54db705c40c7a102485922d1ca305088cc108457cf03ddf34428bb212d1929fc874dfc92a8c9e2051a965379c3b20b152ec0b3efde95c99030d4985b94b00 SHA512 590b7ef85f1ffb20303ca30476788489f7bb8ae0e93c766f19b086a4a0989c0dcab25218bd1cfc24b225d075cea83ac9f2527bc3a216683306f343aaea2bfeca +EBUILD commons-imaging-0.97.ebuild 1268 BLAKE2B 98eaeedb90c2d97801d70c2f691b5ca5fb56f93c642484d9dbf87f8caa440c9306113a28fe04b9b7806ba83c3c8086585cb589d05057b9cedd63a641746a2826 SHA512 a570235727e09958ce776c3b39b6b18f63742263f6123b2b8b68b4c6a5fe98072091c0b9349b61352882af86fe09f67f91b9aef402c0908e3c6ffdea79c1573f +EBUILD commons-imaging-1.0_alpha3-r2.ebuild 1148 BLAKE2B 1cb2c19470dc0adb09508d98610de629161324e23821bb93f6975b7cdaa0bc062ea2cd6e0281aaa4bd244cd7c82e23634ebc5458b4bef61a955cc62ed3c9cf4a SHA512 fb2cc2a29daf3466e032e77b43742872c140c62bce9c391ba5e8e73e592aebef6e1687c0401e006344c16913068f9a97e22a22cc2ae64b407dfd875ca5e616d4 MISC metadata.xml 1078 BLAKE2B e2b1574082b656f2025228403463c5111b3d8174d72f9f4d9e31de9c9f72682b6cdd534d4aee455c30f222ae29fddf516395484a7b7fd5811cbd1f82382f4865 SHA512 812966e93eaea83f94ad0957d2421e73bafceff6c354b822d6936cbea9cd058e7dd0400d8d21e88eaa37a1cf1db625f2d5300317ea9817fc705558092c579cf3 diff --git a/dev-java/commons-imaging/commons-imaging-0.97.ebuild b/dev-java/commons-imaging/commons-imaging-0.97.ebuild new file mode 100644 index 000000000000..6017ef9c71e8 --- /dev/null +++ b/dev-java/commons-imaging/commons-imaging-0.97.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A minimalistic realtime charting library for Java" +HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" +SRC_URI="https://archive.apache.org/dist/commons/sanselan/source/apache-sanselan-incubating-${PV}-src.tar.gz" +S="${WORKDIR}/sanselan-${PV}-incubator" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # 5/48 failures, dunno why :( + +DEPEND=">=virtual/jdk-1.8:* + test? ( dev-java/junit:4 )" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_ENCODING="ISO-8859-1" +JAVA_SRC_DIR="src/main/java" + +src_prepare() { + java-pkg-2_src_prepare + # Tsk, Windows developers… + find src/test/java -name "*.java" -exec sed -i 's:\\:/:g' {} + || die +} + +src_test() { + local DIR="src/test/java" + local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4)" + + local TESTS=$(find "${DIR}" -name "*Test.java" \ + ! -name "*BaseTest.java" ! -name SanselanTest.java ! -name ByteSourceTest.java) + TESTS="${TESTS//src\/test\/java\/}" + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild deleted file mode 100644 index dc75db349433..000000000000 --- a/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.commons:commons-imaging:${PV/_/-}" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library." -HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" -SRC_URI="mirror://apache/commons/imaging/source/${P/_/-}-src.tar.gz - verify-sig? ( https://downloads.apache.org/commons/imaging/source/${P/_/-}-src.tar.gz.asc )" -S="${WORKDIR}/${P/_/-}-src" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( {NOTICE,RELEASE-NOTES}.txt README.md ) -PATCHES=( "${FILESDIR}/commons-imaging-1.0_alpha3-PngChunk.javadoc.patch" ) - -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.imaging" - -src_prepare() { - default #780585 - java-pkg-2_src_prepare -} diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r2.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r2.ebuild new file mode 100644 index 000000000000..73382ff1998c --- /dev/null +++ b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.commons:commons-imaging:${PV/_/-}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library." +HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" +SRC_URI="mirror://apache/commons/imaging/source/${P/_/-}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/imaging/source/${P/_/-}-src.tar.gz.asc )" +S="${WORKDIR}/${P/_/-}-src" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64 ~x86" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {NOTICE,RELEASE-NOTES}.txt README.md ) +PATCHES=( "${FILESDIR}/commons-imaging-1.0_alpha3-PngChunk.javadoc.patch" ) + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.imaging" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} -- cgit v1.2.3