diff options
Diffstat (limited to 'dev-java/commons-codec')
| -rw-r--r-- | dev-java/commons-codec/Manifest | 2 | ||||
| -rw-r--r-- | dev-java/commons-codec/commons-codec-1.21.0.ebuild | 45 | ||||
| -rw-r--r-- | dev-java/commons-codec/metadata.xml | 29 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest new file mode 100644 index 000000000000..e0bb2fc6f1df --- /dev/null +++ b/dev-java/commons-codec/Manifest @@ -0,0 +1,2 @@ +DIST commons-codec-1.21.0-src.tar.gz 572343 BLAKE2B 21a5f04a93e2d31ffbd171994ac18df814f39a0150e3a117247b7c33df204531b25c400d75f5614550a97c9cee446ce7ae5ccf20b90958b93e8f02f94279f530 SHA512 62521f0e0a35729d37cf8e297ea3ff14badfcd002497b57a2ce39ec11aa3f729a6f3357b8233a9162c2ff4e612072c6a0216549a74dd7d27ded4b844541f3e8e +DIST commons-codec-1.21.0-src.tar.gz.asc 228 BLAKE2B 90715e610eec6c8b144c7ead7788dc173a3c9ef85cfe26f71dae62fb77924475758798265dcbad12a0e777e4069493b0f1fd59510e690377f38814f8068376aa SHA512 d73b9a9d0da9b416b9b36519965dc69dd459478737f46d9709e13c886f20d79dd5d6424cfe380437f47f2cc79f676610c83dc8264d62104bf3840eca21afa0ea diff --git a/dev-java/commons-codec/commons-codec-1.21.0.ebuild b/dev-java/commons-codec/commons-codec-1.21.0.ebuild new file mode 100644 index 000000000000..49c59f45a19e --- /dev/null +++ b/dev-java/commons-codec/commons-codec-1.21.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-jupiter" + +inherit java-pkg-2 java-pkg-simple junit5 verify-sig + +DESCRIPTION="Implementations of common encoders and decoders in Java" +HOMEPAGE="https://commons.apache.org/proper/commons-codec/" +SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/codec/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" + +# [-vintage] because, if junit:5 compiled with 'USE=vintage': +# Error: Module junit not found, required by org.junit.vintage.engine +DEPEND=" + >=virtual/jdk-11:* + test? ( + >=dev-java/commons-io-2.21.0:0 + >=dev-java/commons-lang-3.20.0:0 + >=dev-java/hamcrest-3.0:0 + dev-java/junit:5[-vintage] + >=dev-java/opentest4j-1.3.0-r1:0 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_INTERMEDIATE_JAR_NAME="org.apache.${PN/-/.}" +JAVA_MODULE_INFO_OUT="src/main" +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_GENTOO_CLASSPATH="commons-io commons-lang hamcrest junit-5 opentest4j" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" diff --git a/dev-java/commons-codec/metadata.xml b/dev-java/commons-codec/metadata.xml new file mode 100644 index 000000000000..5a65d13a6e89 --- /dev/null +++ b/dev-java/commons-codec/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> +Codec was formed as an attempt to focus development effort on one +definitive implementation of the Base64 encoder. At the time of Codec's +proposal, there were approximately 34 different Java classes that dealt +with Base64 encoding spread over the Foundation's CVS repository. +Developers in the Jakarta Tomcat project had implemented an original +version of the Base64 codec which had been copied by the Commons +HttpClient and Apache XML project's XML-RPC subproject. After almost one +year, the two forked versions of Base64 had significantly diverged from +one another. XML-RPC had applied numerous fixes and patches which were +not applied to the Commons HttpClient Base64. Different subprojects had +differing implementations at various levels of compliance with the RFC +2045. + +Out of that confusing duplication of effort sprang this simple attempt +to encourage code reuse among various projects. While this package +contains a abstract framework for the creation of encoders and decoders, +Codec itself is primarily focused on providing functional utilities for +working with common encodings. +</longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
