diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2013-11-30 09:49:32 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2013-11-30 09:49:32 +0000 |
commit | e1b8911db2a90f700de9e365ffa594dbb40b9875 (patch) | |
tree | f8b4e653ccf1d6d374182418b7ff61426bb27aec | |
parent | bump; update deps, remove old (diff) | |
download | gentoo-2-e1b8911db2a90f700de9e365ffa594dbb40b9875.tar.gz gentoo-2-e1b8911db2a90f700de9e365ffa594dbb40b9875.tar.bz2 gentoo-2-e1b8911db2a90f700de9e365ffa594dbb40b9875.zip |
Added ebuild for slf4j-simple-1.7.5 (dependency of mucommander)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
-rw-r--r-- | dev-java/slf4j-simple/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/slf4j-simple/Manifest | 5 | ||||
-rw-r--r-- | dev-java/slf4j-simple/files/1.7.5-build.xml | 93 | ||||
-rw-r--r-- | dev-java/slf4j-simple/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/slf4j-simple/slf4j-simple-1.7.5.ebuild | 48 |
5 files changed, 160 insertions, 0 deletions
diff --git a/dev-java/slf4j-simple/ChangeLog b/dev-java/slf4j-simple/ChangeLog new file mode 100644 index 000000000000..cf6a80a51e8e --- /dev/null +++ b/dev-java/slf4j-simple/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/slf4j-simple +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-simple/ChangeLog,v 1.1 2013/11/30 09:49:32 ercpe Exp $ + +*slf4j-simple-1.7.5 (30 Nov 2013) + + 30 Nov 2013; Johann Schmitz <ercpe@gentoo.org> +files/1.7.5-build.xml, + +metadata.xml, +slf4j-simple-1.7.5.ebuild: + Added ebuild for slf4j-simple-1.7.5 (dependency of mucommander) diff --git a/dev-java/slf4j-simple/Manifest b/dev-java/slf4j-simple/Manifest new file mode 100644 index 000000000000..cfc20ac42f1e --- /dev/null +++ b/dev-java/slf4j-simple/Manifest @@ -0,0 +1,5 @@ +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 +MISC metadata.xml 159 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb SHA512 74dc9ada199a90543b8e1c168c7054f2e973fbfa2551e2b959d67501f2538e269cfb4b2f0905a88a1afa04c20b33961336310ba876f80d47c8e7615b2d7c830a WHIRLPOOL a0ac49efeca233ec4d8f63eb69c8e46e1d4ecbd926693c25b1b8c7415e4c565680936aec46f0c4197116fd7a19a3bb571beee493c18bdae1e5e978e3db84f17a 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 |