summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2013-11-30 09:49:36 +0000
committerJohann Schmitz <ercpe@gentoo.org>2013-11-30 09:49:36 +0000
commit0db09c6c2dbfe6ee7881375fb3225f34d1d43961 (patch)
tree023fd86856d0f547e11a158de65b88a4b992a947 /dev-java/slf4j-simple
parentAdded ebuild for slf4j-simple-1.7.5 (dependency of mucommander) (diff)
downloadhistorical-0db09c6c2dbfe6ee7881375fb3225f34d1d43961.tar.gz
historical-0db09c6c2dbfe6ee7881375fb3225f34d1d43961.tar.bz2
historical-0db09c6c2dbfe6ee7881375fb3225f34d1d43961.zip
Added ebuild for slf4j-simple-1.7.5 (dependency of mucommander)
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-java/slf4j-simple')
-rw-r--r--dev-java/slf4j-simple/Manifest18
-rw-r--r--dev-java/slf4j-simple/files/1.7.5-build.xml93
-rw-r--r--dev-java/slf4j-simple/metadata.xml5
-rw-r--r--dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild48
4 files changed, 162 insertions, 2 deletions
diff --git a/dev-java/slf4j-simple/Manifest b/dev-java/slf4j-simple/Manifest
index cfc20ac42f1e..c024de65f466 100644
--- a/dev-java/slf4j-simple/Manifest
+++ b/dev-java/slf4j-simple/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX 1.7.5-build.xml 4266 SHA256 093b3e88a41315b7d999e7f1c1ee3254a59eb4b2536f8156d3db1f80578bd3ba SHA512 c2037fac1110a915b06568c82f02ec75622d22a00780770b50f9350fcbf640c0dae913e887cfdf2286305c78eb0c588c2803b1896fa3e2199097eaf13a37698c WHIRLPOOL 63cc88a3e8a1447b1d6514f9ace67b6df3a6c2c542ee651345e87443dd0bd423978fcdf4cc2c1c8dc417884c3ef63d9f1101c0f8b37f24f575098256b135e2d4
DIST slf4j-1.7.5.tar.gz 2862186 SHA256 e83f1f22f22dabce0a78bd8191fb2d6fab71dc9dc4c8bfbd7939a87b1237c92e SHA512 2ef078f505b626273bd22fe683b4a2527ce2d97b345ffb8cd9f23e7375cb11588623e67e15de90ceacfa02689e40c59749f22e5e0b44b8a9fd7492d3f120d9d7 WHIRLPOOL 4a396c81b50b186d8e582f30331f7d0a21c85bb2cc293bdc8eff8a8bc49ae7382b6b37e1b3f585d0f14e716b1b889ac17ae1acdc03799b93180539e488170820
-EBUILD slf4j-simple-1.7.5.ebuild 1067 SHA256 9dbeb1ad2244349739b572cb00b134009f2fbdbdddb05c8368f57da6a298ad43 SHA512 373df2ace692016b4fe13edca69ba31f7bace3d0515378310e650c6a7ff67089749c9415b05d96b8cc2e9e0a06a0d087a917971ee67c9159dab9da63e2d13f05 WHIRLPOOL 1f3379104b70b967c7d7cb6b0801fb992b510fca18696f56d7ebda89b64252f5a58c866258b326581fba174d59fed43b6ac83f1db7206ce589d66a2d56e7713b
-MISC ChangeLog 341 SHA256 f36061b578da665e3b01edac22ed11ca23ba7ea3375a943f68d5b1c7f3fb214b SHA512 74d8cd265aba88fb32101b056cde6d72427763afae6fa1f4b5b4f82f1bca1111448c52f760a9e6963dc3d6bd677658169fda1cea0f4de3ea8c659beaa0c23d5a WHIRLPOOL a096c5b533bb23203ecfa5347700c23a9b450c59d21700dd1808fe9361fb7cbfc8ec9143c595a2ecea8ad3a7c0b710a50ee3c5bc5216071a0fd4f5bfa9835205
+EBUILD slf4j-simple-1.7.5.ebuild 1175 SHA256 d77b5f2cd60c3d2c5b62e692f1f19eff729d8072edbc44a01a6430b911e708da SHA512 1d17bd173e69e92388e29ced0934caeee2546abb794be150efcd21d3733c877ddad4ac16990037847c583fb682c82baf2a0b7f5a48b3608c161ce9abec98794d WHIRLPOOL 2e2e18d029fc2cd0f2b2c83776b3f67219147ee57f530a3bb34a7e5d13ae4f5b4596605dd876caaa432a4360c1df7bc6c3dd5a31c4efbfd95995521c76883713
+MISC ChangeLog 433 SHA256 8cd6745e48ff42b5c668e2b863412425d5760a25b6e820df89a4abdd49a5d4f8 SHA512 26b5e3ee74013cad4c619de08d4e70cb8529c903ba2e191d1314182f803001586d926028fb78ea0dd66b9e547ed3f42cfe214c736e746acce5265deb2a6ff3e9 WHIRLPOOL b2aa4944bbe58a68a82a3ecc7cd439ff34635e27e0d8451c96b55fe7f4f4a59d434bc460627dd841e656be94ff510acf40b6356728339ee5da5da382845079a7
MISC metadata.xml 159 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb SHA512 74dc9ada199a90543b8e1c168c7054f2e973fbfa2551e2b959d67501f2538e269cfb4b2f0905a88a1afa04c20b33961336310ba876f80d47c8e7615b2d7c830a WHIRLPOOL a0ac49efeca233ec4d8f63eb69c8e46e1d4ecbd926693c25b1b8c7415e4c565680936aec46f0c4197116fd7a19a3bb571beee493c18bdae1e5e978e3db84f17a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJSmbStAAoJEKCEBkJ3xQHt2/kH/0RX4wthL+BwiVyUwBh9tgFq
+xj2zAbxRkiwJKb7AnQnR+QdtT3wJoGTNJy9ZzuAWDP6xT7pQgvrIRPR/fjkkecd/
++ie2Ctpb+YtmesXrLuQtQDagriohYl9xXDzqpLgYPP7YtmrU2hLVYPs5JNsuw7fT
+FE4uvFTi9974/2mxyKo+wOQta6dGPrPVez25zd89qh222dEyUJs8vR742sQjciUz
+2LbqwKiaRE4LyRK2YruKUXStDYuMnWJwlZ3iQhU9KId6fX6wx5xUUO1U/VBYIhuB
+VGG+OrPkq6cBqpmfB1aYAVCrlGPrXGQ2tT0CCkhxzkb/fxotKhAn9CXQ+9VHiIA=
+=fjTS
+-----END PGP SIGNATURE-----
diff --git a/dev-java/slf4j-simple/files/1.7.5-build.xml b/dev-java/slf4j-simple/files/1.7.5-build.xml
new file mode 100644
index 000000000000..5bf3a09f4463
--- /dev/null
+++ b/dev-java/slf4j-simple/files/1.7.5-build.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="slf4j-simpl-from-maven" default="jar" basedir=".">
+ <property file="${user.home}/.m2/maven.properties" />
+ <property file="maven-build.properties" />
+
+ <property name="maven.build.finalName" value="slf4j-simple" />
+ <property name="maven.build.dir" value="target" />
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes" />
+ <property name="maven.build.srcDir.0" value="src/main/java" />
+ <property name="maven.build.resourceDir.0" value="src/main/resources" />
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" />
+ <property name="maven.build.testDir.0" value="src/test/java" />
+ <property name="maven.build.testResourceDir.0" value="src/test/resources" />
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports" />
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" />
+
+ <property name="maven.repo.local" value="${user.home}/.m2/repository" />
+ <property name="maven.settings.offline" value="false" />
+ <property name="maven.settings.interactiveMode" value="true" />
+
+ <path id="build.classpath"/>
+ <path id="build.test.classpath" />
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.dir}" />
+ </target>
+
+ <target name="compile" description="Compile the code">
+ <mkdir dir="${maven.build.outputDir}" />
+ <javac destdir="${maven.build.outputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.5" verbose="false" fork="false" source="1.5">
+ <src>
+ <pathelement location="${maven.build.srcDir.0}" />
+ </src>
+ <classpath refid="build.classpath" />
+ </javac>
+ <copy todir="${maven.build.outputDir}">
+ <fileset dir="${maven.build.resourceDir.0}" />
+ </copy>
+ </target>
+
+ <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip">
+ <mkdir dir="${maven.build.testOutputDir}" />
+ <javac destdir="${maven.build.testOutputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.5" verbose="false" fork="false" source="1.5">
+ <src>
+ <pathelement location="${maven.build.testDir.0}" />
+ </src>
+ <classpath>
+ <path refid="build.test.classpath" />
+ <pathelement location="${maven.build.outputDir}" />
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="test" depends="compile-tests" description="Run the test cases">
+ <mkdir dir="${maven.test.reports}" />
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="." />
+ <formatter type="xml" />
+ <formatter type="plain" usefile="false" />
+ <classpath>
+ <path refid="build.test.classpath" />
+ <pathelement location="${maven.build.outputDir}" />
+ <pathelement location="${maven.build.testOutputDir}" />
+ </classpath>
+ <batchtest todir="${maven.test.reports}" unless="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/Test*.java" />
+ <include name="**/*Test.java" />
+ <include name="**/*TestCase.java" />
+ <exclude name="**/AllTest.java" />
+ <exclude name="**/PackageTest.java" />
+ </fileset>
+ </batchtest>
+ <batchtest todir="${maven.test.reports}" if="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/${test}.java" />
+ <exclude name="**/AllTest.java" />
+ <exclude name="**/PackageTest.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
+ <target name="javadoc" description="Generates the Javadoc of the application">
+ <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" access="protected" old="false" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="ISO-8859-1" linksource="false" breakiterator="false" />
+ </target>
+
+ <target name="jar" depends="compile" description="Package the application">
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="false" basedir="${maven.build.outputDir}" excludes="**/package.html" />
+ </target>
+</project>
diff --git a/dev-java/slf4j-simple/metadata.xml b/dev-java/slf4j-simple/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/slf4j-simple/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild b/dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild
new file mode 100644
index 000000000000..dec801996929
--- /dev/null
+++ b/dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild,v 1.1 2013/11/30 09:49:32 ercpe Exp $
+
+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/-simple/}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/slf4j-api:0"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEP}
+ test? ( dev-java/junit )"
+
+S="${WORKDIR}/${P/-simple/}/${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 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
+} \ No newline at end of file