diff options
Diffstat (limited to 'dev-java/commons-configuration')
4 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/commons-configuration/Manifest b/dev-java/commons-configuration/Manifest new file mode 100644 index 000000000000..8166734fcd1f --- /dev/null +++ b/dev-java/commons-configuration/Manifest @@ -0,0 +1,6 @@ +AUX commons-configuration-1.6-gentoo.patch 979 SHA256 b412760dd9ab98266f3ae3776bad7b2a1975f2abea79ad5767fcb64b704dccd7 SHA512 6e0e3e69a77b31a39ad2f160a80ff08b9cdac2b0788b58b06e09f9a07a90a36bc1a4171e6bd739495b8e4c6271cc49ffbfe221dda73756f3407cf268dafec5a7 WHIRLPOOL d8a94c45a47755a960bf4a5f0b4dfeeb3a42494cc46ed118c092ad6aafceb2b8ccd5d0c1b4a2b6546656a76021c5721e62964094eefecc5676929a384668ba6c +DIST commons-configuration-1.6-src.tar.gz 559621 SHA256 3874f0c7227874474e538c41f28e2d11584eff3c14323985a1f92da97841cf5b SHA512 5d82b844cf39162976820d030d05afeeec1151aa33bf4353f9ca844e552c55ea26daa1b74158baa31d0677e311e9dd83a1d9721c8d5f4e23d21068c4ca2eeb01 WHIRLPOOL 5ae3d17fbd32d3445e04a8f8eb3ad91e59ae3220cee0f17bb27176a18d2c1ff79e2099b90d828268b8bc3ddeeaacb4fed57df722ad7b0cca97dbe4d5a45d30f6 +EBUILD commons-configuration-1.6-r2.ebuild 1686 SHA256 6a7f76e164e898a2ad537e860b99f9f570d85e71e81a39ec2c09f237f6d9e0b3 SHA512 73bd9b24c738b0942547cb2df6c78dbab264faa7333955b2aa55a665660bc57bb3398fa64c4ced2b05f44ca50d7828d8882c0988f2420c716031b764ce500ca4 WHIRLPOOL d3ff3ab150e13f2c4c46cc5dc72217a57f10d6dcca0fcdb7cb0e93dd9e9fbb5e05641611ddf79fe1198b283ed2ff80cf07012b069248ee2ee1e9fb9696203158 +MISC ChangeLog 3368 SHA256 aaab1b28d3252197c55c7f9e9d6b43fee55717eda1ab1d642d3c5b15af6b189a SHA512 fc303f1b941c7499ddf9c37347b74f4724b00adac573e1967f38bbc417ca5825d08ec94688d636c8203efc57e6dbd71d3dad59e3e49a3a871a000d3c101f36d8 WHIRLPOOL 666545829e54c1fc2bf20cb8dc28da9db1536e318cb51a1a363411dd0dfb2271746a6e0e4c7f7b636a91710c1613ca87806df0b7f1559460f9835b9f8d862aab +MISC ChangeLog-2015 2383 SHA256 8b4e49e45f887b89ec685c52c143e0f83fccab3e72322c22ed3f3dd31c08e834 SHA512 16edad8da4903099744a28289203530894a4219073c03cee0fd7b5c42bccd754a1c41ec7f4a8c7b7f7ddc72d28d79437f11216ca9ec1cc421cdc5c85a4c2c73b WHIRLPOOL 1fa4f29815315f9c40f6e7daac9a3414fef6cf1130fc562b9e3b5b0fcc100b9d48956d00458bfa8e8bcda0d5cbf6fee6fefa35c11c09c73caf91d60159929915 +MISC metadata.xml 429 SHA256 d41ba006fd9c5982b97fc3d34acbf1a452b171c71c08a7bf9e8445b1f60b311a SHA512 eda224d5bad6200ce652d798d7ddd2f5f7de3652419728d05068c2bde19caa2486b1060b8d98d9dc5adca2d00014e868b93dac646ee129d57c7239a6917a260e WHIRLPOOL d0a2d5556cb675be84e42204bf344b7c65da2225a385b98b01fa478664f08ea0d4ad470a20213377b88513ba7ed21e8db0d6ea7cc3da51872330536ba10c8dcd diff --git a/dev-java/commons-configuration/commons-configuration-1.6-r2.ebuild b/dev-java/commons-configuration/commons-configuration-1.6-r2.ebuild new file mode 100644 index 000000000000..811493b46bd9 --- /dev/null +++ b/dev-java/commons-configuration/commons-configuration-1.6-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Generic interface for reading configuration data from a variety of sources" +HOMEPAGE="http://commons.apache.org/configuration/" +SRC_URI="mirror://apache/commons/configuration/source/${P}-src.tar.gz" + +# it needs functionality from ant-core, although not providing an ant task +# the functionality is apparently needed only for 1.4 jdk +# but I don't feel like adding virtual for this +CDEPEND=" + >=dev-java/commons-beanutils-1.7.0:1.7 + >=dev-java/commons-codec-1.3:0 + >=dev-java/commons-collections-3.1:0 + >=dev-java/commons-digester-1.8:0 + >=dev-java/commons-jxpath-1.2:0 + >=dev-java/commons-lang-2.4:2.1 + >=dev-java/commons-logging-1.1.1:0 + java-virtuals/servlet-api:3.0 + dev-java/ant-core:0" + +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +S="${WORKDIR}/${P}-src" + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +java_prepare() { + # Tweak build classpath and don't automatically run tests + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +EANT_GENTOO_CLASSPATH=" + commons-beanutils-1.7 + commons-codec + commons-collections + commons-digester + commons-jxpath + commons-lang-2.1 + commons-logging + servlet-api-3.0 + ant-core" + +# Would need mockobjects with j2ee support which we don't have +# Check overlay for ebuild with test support +RESTRICT="test" + +src_install() { + java-pkg_newjar target/${P}.jar + dodoc RELEASE-NOTES.txt || die + use doc && java-pkg_dohtml -r dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/commons-configuration/files/commons-configuration-1.6-gentoo.patch b/dev-java/commons-configuration/files/commons-configuration-1.6-gentoo.patch new file mode 100644 index 000000000000..0cfa8f6511e7 --- /dev/null +++ b/dev-java/commons-configuration/files/commons-configuration-1.6-gentoo.patch @@ -0,0 +1,19 @@ +--- build.xml.orig 2006-10-13 00:00:17.000000000 +0200 ++++ build.xml 2006-10-13 00:02:37.000000000 +0200 +@@ -97,13 +97,13 @@ + </copy>
+ </target>
+
+- <target name="jar" description="o Create the jar" depends="compile,test">
++ <target name="jar" description="o Create the jar" depends="compile">
+ <mkdir dir="${classesdir}/META-INF"/>
+ <copy file="LICENSE.txt" todir="${metadir}"/>
+ <copy file="NOTICE.txt" todir="${metadir}"/>
+- <copy file="${conf.home}/manifest.mf" todir="${defaulttargetdir}" filtering="on"/>
++ <copy file="${conf.home}/MANIFEST.MF" todir="${defaulttargetdir}" filtering="on"/>
+ <jar jarfile="${defaulttargetdir}/${final.name}.jar" basedir="${classesdir}"
+- manifest="${defaulttargetdir}/manifest.mf" excludes="**/package.html">
++ manifest="${defaulttargetdir}/MANIFEST.MF" excludes="**/package.html">
+ </jar>
+ </target>
+ <target name="clean" description="o Clean up the generated directories">
diff --git a/dev-java/commons-configuration/metadata.xml b/dev-java/commons-configuration/metadata.xml new file mode 100644 index 000000000000..a4125a7186f5 --- /dev/null +++ b/dev-java/commons-configuration/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + Commons Configuration provides a generic configuration interface + which enables an application to read configuration data from + a variety of sources. + </longdescription> +</pkgmetadata> |