From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/commons-configuration/Manifest | 4 ++ .../commons-configuration-1.6-r2.ebuild | 67 ++++++++++++++++++++++ .../files/commons-configuration-1.6-gentoo.patch | 19 ++++++ dev-java/commons-configuration/metadata.xml | 13 +++++ 4 files changed, 103 insertions(+) create mode 100644 dev-java/commons-configuration/Manifest create mode 100644 dev-java/commons-configuration/commons-configuration-1.6-r2.ebuild create mode 100644 dev-java/commons-configuration/files/commons-configuration-1.6-gentoo.patch create mode 100644 dev-java/commons-configuration/metadata.xml (limited to 'dev-java/commons-configuration') diff --git a/dev-java/commons-configuration/Manifest b/dev-java/commons-configuration/Manifest new file mode 100644 index 000000000000..7bfdc5f593f4 --- /dev/null +++ b/dev-java/commons-configuration/Manifest @@ -0,0 +1,4 @@ +AUX commons-configuration-1.6-gentoo.patch 979 BLAKE2B 37076bf72f33c69dd00a0b1715cdff1746c0ccdf6d59dfe11a40960b0c317c280a30ee2a70d5d3534d5eb22edba0d489c186e7a813c455918cde6f81ce32d906 SHA512 6e0e3e69a77b31a39ad2f160a80ff08b9cdac2b0788b58b06e09f9a07a90a36bc1a4171e6bd739495b8e4c6271cc49ffbfe221dda73756f3407cf268dafec5a7 +DIST commons-configuration-1.6-src.tar.gz 559621 BLAKE2B ce6ca821c03b4948796c46fe796684dbcc8eafbc6004e2abace573f8fa316f638056c03684d10d29c0f3126554bc8cf2c9195228044a2db7203f847d2b71b22e SHA512 5d82b844cf39162976820d030d05afeeec1151aa33bf4353f9ca844e552c55ea26daa1b74158baa31d0677e311e9dd83a1d9721c8d5f4e23d21068c4ca2eeb01 +EBUILD commons-configuration-1.6-r2.ebuild 1686 BLAKE2B 693bdb25d448691d9d9e491f94ab0df1b2bbdf864bb34d4fb7847d6bb6609b1e0e6cc038c2df7653900eeb21fe4f9b84c866b354ef9cd83963f91e3fd574ee53 SHA512 73bd9b24c738b0942547cb2df6c78dbab264faa7333955b2aa55a665660bc57bb3398fa64c4ced2b05f44ca50d7828d8882c0988f2420c716031b764ce500ca4 +MISC metadata.xml 429 BLAKE2B 5a7d59e205a26abfec76c9391d4c8b66710b082ba4a9362e70c4b40775d8d448ed531185dd4f65a04fc19643764364e3a885a4215e883127a781c8af39752cf0 SHA512 eda224d5bad6200ce652d798d7ddd2f5f7de3652419728d05068c2bde19caa2486b1060b8d98d9dc5adca2d00014e868b93dac646ee129d57c7239a6917a260e 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 @@ + + + +- ++ + + + +- ++ + ++ manifest="${defaulttargetdir}/MANIFEST.MF" excludes="**/package.html"> + + + 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 @@ + + + + + java@gentoo.org + Java + + + Commons Configuration provides a generic configuration interface + which enables an application to read configuration data from + a variety of sources. + + -- cgit v1.2.3