diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2013-12-01 09:06:41 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2013-12-01 09:06:41 +0000 |
commit | 27dfa125d214895e704a66ea9f670368ff213318 (patch) | |
tree | 73e342791f0bcf4caefd2d64da9b992e62bf0929 /dev-java/httpcomponents-client | |
parent | Version bump of httpcomponents-core for httpcomponents-client (diff) | |
download | gentoo-2-27dfa125d214895e704a66ea9f670368ff213318.tar.gz gentoo-2-27dfa125d214895e704a66ea9f670368ff213318.tar.bz2 gentoo-2-27dfa125d214895e704a66ea9f670368ff213318.zip |
Added ebuild for httpcomponents-client-4.3.1
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java/httpcomponents-client')
-rw-r--r-- | dev-java/httpcomponents-client/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/httpcomponents-client/Manifest | 5 | ||||
-rw-r--r-- | dev-java/httpcomponents-client/httpcomponents-client-4.3.1.ebuild | 66 | ||||
-rw-r--r-- | dev-java/httpcomponents-client/metadata.xml | 6 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-java/httpcomponents-client/ChangeLog b/dev-java/httpcomponents-client/ChangeLog new file mode 100644 index 000000000000..cfaee3dd4695 --- /dev/null +++ b/dev-java/httpcomponents-client/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/httpcomponents-client +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-client/ChangeLog,v 1.1 2013/12/01 09:06:41 ercpe Exp $ + +*httpcomponents-client-4.3.1 (01 Dec 2013) + + 01 Dec 2013; Johann Schmitz <ercpe@gentoo.org> + +httpcomponents-client-4.3.1.ebuild, +metadata.xml: + Added ebuild for httpcomponents-client-4.3.1 diff --git a/dev-java/httpcomponents-client/Manifest b/dev-java/httpcomponents-client/Manifest new file mode 100644 index 000000000000..b97fbf640472 --- /dev/null +++ b/dev-java/httpcomponents-client/Manifest @@ -0,0 +1,5 @@ +DIST httpcomponents-client-4.3.1-build.tar.bz2 3372 SHA256 77838bce12d52943db110a37de73e8803e0adf4136be182a649674fe1c723d7e SHA512 c4b5278cb19c5ed21665bcdb8885854d3ef0a87c3e61c462e52bd74da22e17a2a8ba6e9c86c08db3e7aea071c4364df9ff605991a37ba315d47a81770d96bde0 WHIRLPOOL eca01701d90a07cfd664fe5ef5f1a44d63821a8602a6d2377afad9241ba04247b7efe117a051db60c0ac07e44ce114fd061bf2e56274bd9640233ec37ec3efbf +DIST httpcomponents-client-4.3.1-src.tar.gz 738783 SHA256 43b3f14eff5785369492c00a5712760377177c03f8eb23ccf911a3e4f0c91cd9 SHA512 601e3c8043786ac9e2633cddc76e30aae31fa254e698e6abdce24e803c45516e116bb41fa8af40178abfa68c36805a108b132958ba0d91f14d3dac2efd4e62d0 WHIRLPOOL 764c89feaf191ed8ff49ae0759d542f7c6a9e348b7c86ada547cc854d0e8dc616bca6705c31f58636a93d620c8d90b70f2623af1da37cf6feee62a17a6d9014a +EBUILD httpcomponents-client-4.3.1.ebuild 2184 SHA256 db36d2d5eab75219810e001c49d88497126032c2f974c8fb75f0d0f33b1d6c1c SHA512 03d7e6ecc1c9a84971b0ab4733a65ea715e1ec3ab8b73de8c65b29b0f5c20387495a91604d900ed0daacb7ba57e30c756d71ecd832a2b0aab17dbcafa83439e7 WHIRLPOOL d4c4647551e59b2b38cebc43b5600e06d133b450a26e9134e01276ab262a91bc2be4fdc9f73eddc01d45f319d94d824afcf256f4473423a61e911286e266f344 +MISC ChangeLog 325 SHA256 973b320c8cc97397f54119a191ea9e69975337717427250a17532dc78db14f0f SHA512 dfec6c3286492b84d90f9093a8d1b36e00865eb15f320a1df604582968d83aed029993b41232d2e35e7bee18729bc7702e1c5b70be3f239c3a63acb913477c58 WHIRLPOOL e0e4e636e7a92870dc4a36bac6d312e84bb922900d2485e088ab27e1e726f6e0f051fd5307d5f97e8b5af1a1e93ad9b6d009b2e090052fc7e26f3c86a5591c18 +MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51 diff --git a/dev-java/httpcomponents-client/httpcomponents-client-4.3.1.ebuild b/dev-java/httpcomponents-client/httpcomponents-client-4.3.1.ebuild new file mode 100644 index 000000000000..69eb8553c911 --- /dev/null +++ b/dev-java/httpcomponents-client/httpcomponents-client-4.3.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-client/httpcomponents-client-4.3.1.ebuild,v 1.1 2013/12/01 09:06:41 ercpe Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="source examples doc test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A low level toolset of Java components focused on HTTP and associated protocols" +HOMEPAGE="http://hc.apache.org/index.html" +SRC_URI="mirror://apache/${PN/-//http}/source/${P}-src.tar.gz + http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}-build.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="4.3" +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-java/commons-codec:0 + dev-java/commons-logging:0 + dev-java/httpcomponents-core:${SLOT}[deprecated] + dev-java/ehcache:1.2 + dev-java/spymemcached:0 + dev-java/easymock-classextension:3.2 +" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.5 + test? ( + dev-java/junit:4 + dev-java/mockito:0 + ) + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="commons-codec,commons-logging,httpcomponents-core-${SLOT},ehcache-1.2,spymemcached" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4,mockito,easymock-classextension-3.2" +EANT_TEST_ANT_TASKS="ant-junit" + +java_prepare() { + # The Ehcache cache storage depends on a version of Ehcache + # (with a .replace(Element, Element) method) >= 2.2.0 which can only be built + # with the proprietary terracotta library + rm "${S}"/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/ehcache/EhcacheHttpCacheStorage.java \ + "${S}"/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/ehcache/TestEhcacheHttpCacheStorage.java \ + "${S}"/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/ehcache/TestEhcacheProtocolRequirements.java || die +} + +src_install() { + java-pkg_dojar httpclient/target/httpclient.jar \ + httpclient-cache/target/httpclient-cache.jar \ + httpmime/target/httpmime.jar \ + fluent-hc/target/fluent-hc.jar + + use source && java-pkg_dosrc {httpclient,httpclient-cache,httpmime,fluent-hc}/src/main/java/org + use examples && java-pkg_doexamples $(find "${S}" -mindepth 3 -maxdepth 3 -name "examples" -type d -print) + use doc && java-pkg_dojavadoc apidocs/ +} + +src_test() { + java-pkg-2_src_test +} diff --git a/dev-java/httpcomponents-client/metadata.xml b/dev-java/httpcomponents-client/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/httpcomponents-client/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |