From 02d5de423c2b7f8d7c873bcc7a1a222b1847149d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Jan 2024 10:47:12 +0000 Subject: gentoo auto-resync : 23:01:2024 - 10:47:12 --- dev-java/commons-httpclient/Manifest | 2 + .../commons-httpclient-3.1-r3.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild (limited to 'dev-java/commons-httpclient') diff --git a/dev-java/commons-httpclient/Manifest b/dev-java/commons-httpclient/Manifest index ee312efdd1e4..10802d8f66d1 100644 --- a/dev-java/commons-httpclient/Manifest +++ b/dev-java/commons-httpclient/Manifest @@ -1,4 +1,6 @@ AUX commons-httpclient-3.1-SSLProtocolSocketFactory.java.patch 12404 BLAKE2B 294ef11924310e2e63865018843faf199521f619e0859cc2c857d8a9fb038fbc44d88b06cf2df44b05cc6891c9e9d1bba5898071a873fc0dd774427afb0a2de2 SHA512 af18eeb48d8da55fc63526a528b88f626d9fad2369a6a8f570fe2dfee76384a5d86a9bab4883e557a1acd0a866859c4bd075476f9cfaff8e8465de6db0f2848d DIST commons-httpclient-3.1-src.tar.gz 1882664 BLAKE2B ccf96bedad09011ee20eae38aae1fdfdd6fea5a8226f4b4d156762080c286c71b34c149035abfd61e70c55a1de84ab3cd38d73c3228f591dd8e16c0a7e79c3a5 SHA512 e73ceeba3f34a35c30b24a3c6cb8dfc2102ff21079a5ff9270935908cb2f707d366c2f31a53fbdafa99673cc2b82e05470a2bf40d96767c72b2ab037c0f55490 +DIST commons-httpclient-3.1-src.tar.gz.asc 189 BLAKE2B 44661748db96429682a82d8dba5ad71d0d1fc2aaf03e2f1dda059985757547a78ab04dff38863ca421e65d13100a68c8cb909ed4c34e0a66a837b6fdb91baf63 SHA512 3832c90048de4db1f96efecd2f467153f0bdce1ebd533b848b8fc78a92da0bba3ba8bb3447e6c8d34f4c1c731a5b41ab941754a1509728ff4ea96e238927ab09 EBUILD commons-httpclient-3.1-r2.ebuild 1709 BLAKE2B 73b08779a549b7f3ba8e5961e9db672aa69ebdd89e7998f389763fe8c70a57f40ec8bd83b343f17670e1934038a4699ae443451071b4b24f21ff6b33118dbbc5 SHA512 9b5a9f39c2e2856e1778cb04db68d12211d1d0bd789f94d7ac3dfb5eeec1803d5ede3b93087a0af092824fea3e916aad5d05b3e606c02e2994318cdac615d4a0 +EBUILD commons-httpclient-3.1-r3.ebuild 1401 BLAKE2B 0fdeb5ba8856a29cdfd849473ce025963ce923be397f9d9f78c6ea79db3e3fba51d54d79535e3d995b45e95918ddd0dc2374628cd410b0beab345cf3b7e56c9c SHA512 f29a578422e337702e6aa7a54387b1a09ca76a965ef7dc4210bd778655f71c913767d8756c5713ce09c79ad118b516d1a3e523765148460cb64654e798a1898d MISC metadata.xml 457 BLAKE2B aa9b78ee94c6ac0cd435c142183612524e588138764dcf4ea6b2474925f5238983ebbcf75ba32d78e42b62f3751e042785291f00cd9a6453c9711b4110ce04a5 SHA512 46da6fef35f122be653de8ff6f87048475dae83e8853a05210e403f239ce3823caafca0e26aa503377ccfd9c5616f4f69d4d3b483b9adb7b512351d85be5f531 diff --git a/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild b/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild new file mode 100644 index 000000000000..57e0fcc103ec --- /dev/null +++ b/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="commons-httpclient:commons-httpclient:3.1" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="The Jakarta Commons HttpClient library" +HOMEPAGE="https://hc.apache.org/httpclient-legacy/" +SRC_URI="mirror://apache/httpcomponents/${PN}/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/httpcomponents/commons-httpclient/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64" + +# Tests run: 2036, Failures: 91 +RESTRICT="test" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/httpclient.commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons-httpclient )" +DEPEND=" + dev-java/commons-logging:0 + dev-java/commons-codec:0 + >=virtual/jdk-1.8:* + test? ( >=dev-java/ant-1.10.14:0[junit] ) +" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( NOTICE README RELEASE_NOTES ) + +JAVA_ENCODING="ISO-8859-1" +JAVA_CLASSPATH_EXTRA=" + commons-logging + commons-codec +" +JAVA_SRC_DIR="src/java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test" + +src_prepare() { + java-pkg-2_src_prepare + rm -r docs/apidocs || die "clean apidocs" +} + +src_install() { + java-pkg-simple_src_install + use doc && docinto html dodoc -r docs +} -- cgit v1.2.3