From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/slf4j-nop/Manifest | 6 ++ dev-java/slf4j-nop/files/1.7.7-build.xml | 93 +++++++++++++++++++++++++++++++ dev-java/slf4j-nop/metadata.xml | 8 +++ dev-java/slf4j-nop/slf4j-nop-1.7.7.ebuild | 51 +++++++++++++++++ 4 files changed, 158 insertions(+) create mode 100644 dev-java/slf4j-nop/Manifest create mode 100644 dev-java/slf4j-nop/files/1.7.7-build.xml create mode 100644 dev-java/slf4j-nop/metadata.xml create mode 100644 dev-java/slf4j-nop/slf4j-nop-1.7.7.ebuild (limited to 'dev-java/slf4j-nop') diff --git a/dev-java/slf4j-nop/Manifest b/dev-java/slf4j-nop/Manifest new file mode 100644 index 000000000000..5ffa2077ee1c --- /dev/null +++ b/dev-java/slf4j-nop/Manifest @@ -0,0 +1,6 @@ +AUX 1.7.7-build.xml 4261 SHA256 edae0f478143823af89da515d450afc84821e8e559aaf3d85ced91638826ab3a SHA512 dc29b7acbc159eb592417a9457875d9f7c33ac21df87885f6a3faa8047f68550f16f2b8a24f5b8efaa123b1c8507ec6cd9d61ed154aff0406bdb008d62132120 WHIRLPOOL c6320db995428ee294356ba99cd0bdd51d5f3765db06dc0bf6127e7dc1fe8935e32caecc7751b8c103617a3361a3893119f64ec78051170b763aacfec455ffed +DIST slf4j-1.7.7.tar.gz 3031017 SHA256 97717f30f263dfbfe853a00b218e3f929acb022d9b13a4723c75c31846351cf1 SHA512 aefefe049ed36e8ec938469067be8d73d2c7a28189f54cf434606fecab1d380f00fdf8349a23ed99d574067d9a613b0aec48b913705cd27524af5a4a5d887418 WHIRLPOOL a20cbc94b940f23bf61645b7ab09600651df17fedc103660996dc800af4dd7b0d82e25c7eac65aa2d7981bf4acbfdd14a8bf2885270d2b06627889129d23373f +EBUILD slf4j-nop-1.7.7.ebuild 1080 SHA256 aa83198474a41a237fa9229d20e5958753b72d79e35d148dc158f1bc7f271ca8 SHA512 d2436dcb4b5118743c425445d56a16073d0c68322fdf57262643119e84592ab9f0a2439a6308f3e6edd6d521284fb4722cf39f2678b2d877fb57048152b32b75 WHIRLPOOL 8b94965ffea77c623f8c8fbf341dac5360a7f83a669a1a9dcc54cabad55e266248a547558b75889590c74f19f9cefe1a2a2b0d36d96cb788ebebb71bbf94eedb +MISC ChangeLog 3375 SHA256 5c7378b13968d7cd22d7e62dca9cfb105b4d20c0ac43cbcf8f30b0ce9e93b73a SHA512 ecbab44c527ccfe30c0a77cec562a6167448c27e609fdd5d60da78bde4b552ad357b54e498a764a5ca643e62ed52ed49329d66b8ccb994ac8e26b8e7358a47a7 WHIRLPOOL 0fa8f92f16002c072aa9a4bd886556989051f723899b958ce5ca3881b690be5b4fc5140cac1e84fbb7fe38113da2418dfd09efe232e05ef8cc7d22ee08c4e312 +MISC ChangeLog-2015 1960 SHA256 95267ad1ac964d02ca40fec64049d5cca4abb4c9e84c146fc1b5c4577535e04a SHA512 9caf8c24b1cecaaa6bd8cc1cb20511e14736c8bf161e37e532bb8801c3b79a73eefd4438ef0345ed7f3f5f09792f6a1ceba20d133aac75c20df8176891014ca2 WHIRLPOOL e4b9da0adf0be913e72e8f1324f56099b00b305516f77dfd187f137d4c531279c14f8b42acfa48c12da0f5e9c86a9b056fa13c144fafc67b9ca3bc63a0f3295e +MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705 diff --git a/dev-java/slf4j-nop/files/1.7.7-build.xml b/dev-java/slf4j-nop/files/1.7.7-build.xml new file mode 100644 index 000000000000..9d898d340d34 --- /dev/null +++ b/dev-java/slf4j-nop/files/1.7.7-build.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/slf4j-nop/metadata.xml b/dev-java/slf4j-nop/metadata.xml new file mode 100644 index 000000000000..37998bf40746 --- /dev/null +++ b/dev-java/slf4j-nop/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + diff --git a/dev-java/slf4j-nop/slf4j-nop-1.7.7.ebuild b/dev-java/slf4j-nop/slf4j-nop-1.7.7.ebuild new file mode 100644 index 000000000000..417575df7e97 --- /dev/null +++ b/dev-java/slf4j-nop/slf4j-nop-1.7.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Simple Logging Facade for Java" +HOMEPAGE="http://www.slf4j.org/" +SRC_URI="http://www.slf4j.org/dist/${P/-nop/}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +CDEPEND="dev-java/slf4j-api:0" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + test? ( + dev-java/ant-junit:0 + dev-java/junit:4 + ) + ${CDEPEND}" + +S="${WORKDIR}/${P/-nop/}/${PN}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_GENTOO_CLASSPATH="slf4j-api" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" +EANT_TEST_ANT_TASKS="ant-junit" + +java_prepare() { + cp -v "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die + find "${S}" -name "*.jar" -delete || die +} + +src_install() { + java-pkg_dojar "${S}"/target/${PN}.jar + + use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs + use source && java-pkg_dosrc "${S}"/src/main/java/org +} + +src_test() { + java-pkg-2_src_test +} -- cgit v1.2.3