diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2013-12-01 08:59:21 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2013-12-01 08:59:21 +0000 |
commit | 6c41c0cedc2af8a886643b03a3f9ea9527c6344f (patch) | |
tree | 63fe5df11ed76abaade2e5f7e279e3ec1474e655 /dev-java/httpcomponents-core | |
parent | Version bump. Ebuild by Peter Wilmott in the ruby overlay. Fixes bug 350723. ... (diff) | |
download | gentoo-2-6c41c0cedc2af8a886643b03a3f9ea9527c6344f.tar.gz gentoo-2-6c41c0cedc2af8a886643b03a3f9ea9527c6344f.tar.bz2 gentoo-2-6c41c0cedc2af8a886643b03a3f9ea9527c6344f.zip |
Version bump of httpcomponents-core for httpcomponents-client
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java/httpcomponents-core')
-rw-r--r-- | dev-java/httpcomponents-core/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/httpcomponents-core/httpcomponents-core-4.3.ebuild | 56 | ||||
-rw-r--r-- | dev-java/httpcomponents-core/metadata.xml | 5 |
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-java/httpcomponents-core/ChangeLog b/dev-java/httpcomponents-core/ChangeLog index 457c48043505..74ad0e6cec22 100644 --- a/dev-java/httpcomponents-core/ChangeLog +++ b/dev-java/httpcomponents-core/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/httpcomponents-core # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/ChangeLog,v 1.1 2013/07/13 13:38:27 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/ChangeLog,v 1.2 2013/12/01 08:59:21 ercpe Exp $ + +*httpcomponents-core-4.3 (01 Dec 2013) + + 01 Dec 2013; Johann Schmitz <ercpe@gentoo.org> + +httpcomponents-core-4.3.ebuild, metadata.xml: + Version bump of httpcomponents-core for httpcomponents-client *httpcomponents-core-4.2.4 (13 Jul 2013) diff --git a/dev-java/httpcomponents-core/httpcomponents-core-4.3.ebuild b/dev-java/httpcomponents-core/httpcomponents-core-4.3.ebuild new file mode 100644 index 000000000000..cdb514f50cc1 --- /dev/null +++ b/dev-java/httpcomponents-core/httpcomponents-core-4.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/httpcomponents-core/httpcomponents-core-4.3.ebuild,v 1.1 2013/12/01 08:59:21 ercpe Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="source examples 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" +IUSE="deprecated" + +DEPEND=">=virtual/jdk-1.5 + test? ( + dev-java/commons-logging:0 + dev-java/junit:4 + dev-java/ant-junit4 + dev-java/mockito:0 + )" +RDEPEND=">=virtual/jre-1.5" + +EANT_BUILD_TARGET="package" +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_TEST_GENTOO_CLASSPATH="junit-4,commons-logging,mockito" +EANT_TEST_ANT_TASKS="ant-junit4" + +java_prepare() { + if use deprecated; then + cp -r "${S}"/httpcore/src/main/java-deprecated/* \ + "${S}"/httpcore/src/main/java/* || die + cp -r "${S}"/httpcore-nio/src/main/java-deprecated/* \ + "${S}"/httpcore-nio/src/main/java/* || die + fi +} + +src_install() { + java-pkg_dojar httpcore/target/httpcore.jar \ + httpcore-nio/target/httpcore-nio.jar + + use source && java-pkg_dosrc httpcore{,-nio}/src/main/java + use examples && java-pkg_doexamples httpcore{,-nio}/src/examples + + dodoc {README,RELEASE_NOTES,NOTICE}.txt +} + +src_test() { + java-pkg-2_src_test +} diff --git a/dev-java/httpcomponents-core/metadata.xml b/dev-java/httpcomponents-core/metadata.xml index 838c00a4a448..85dddeaa406d 100644 --- a/dev-java/httpcomponents-core/metadata.xml +++ b/dev-java/httpcomponents-core/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>java</herd> + <herd>java</herd> + <use> + <flag name="deprecated">Build deprecated classes</flag> + </use> </pkgmetadata> |