diff options
author | Fabian Köster (untoasted) <f.koester@tarent.de> | 2013-03-28 15:04:45 +0100 |
---|---|---|
committer | Fabian Köster (untoasted) <f.koester@tarent.de> | 2013-03-28 15:04:45 +0100 |
commit | 6760227ecce91f6abc258f5f69d2c5e87c05eef1 (patch) | |
tree | c5ecefd01662ccb3dad4fb066bb5c0ee7ce7ce8d /dev-java | |
parent | www-plugin/mozrepl: Manifest fixed (diff) | |
download | sunrise-6760227ecce91f6abc258f5f69d2c5e87c05eef1.tar.gz sunrise-6760227ecce91f6abc258f5f69d2c5e87c05eef1.tar.bz2 sunrise-6760227ecce91f6abc258f5f69d2c5e87c05eef1.zip |
dev-java/spiffy: New Ebuild for bug #350655 thanks to Serkan Kaba, hasufell, kensington, Tommy[D] and sera.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/spiffy/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/spiffy/Manifest | 4 | ||||
-rw-r--r-- | dev-java/spiffy/metadata.xml | 7 | ||||
-rw-r--r-- | dev-java/spiffy/spiffy-0.05.ebuild | 54 |
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/spiffy/ChangeLog b/dev-java/spiffy/ChangeLog new file mode 100644 index 000000000..3325611d0 --- /dev/null +++ b/dev-java/spiffy/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/spiffy +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*spiffy-0.05 (28 Mar 2013) + + 28 Mar 2013; Fabian Köster (untoasted) <f.koester@tarent.de> + +spiffy-0.05.ebuild, +metadata.xml: + New Ebuild for bug #350655 thanks to Serkan Kaba, hasufell, kensington, + Tommy[D] and sera. + diff --git a/dev-java/spiffy/Manifest b/dev-java/spiffy/Manifest new file mode 100644 index 000000000..3ceda46a1 --- /dev/null +++ b/dev-java/spiffy/Manifest @@ -0,0 +1,4 @@ +DIST spiffy-all-0.05.zip 141335 SHA256 773b9c2e1b5fe8904d64ba2984903dd022039826b5e682d103c16a10911a227f SHA512 33d824193bff271e1079d1bf9445d28c69b88acddcd4504f3b0868ae569659f20a3a117c6b9574ff08a26d72fa170b96e5f30e3732db98c36e544f81b8ce747d WHIRLPOOL 55ad653642f0d7b3ece17ce2bd8554ba26343e5aca43137e92ca96bde01de66e67989a777f4a54c10fb62cbd0ce3bf7c3003aaf36e1975671454a3514ada0862 +EBUILD spiffy-0.05.ebuild 1411 SHA256 1031807de341920cfdca30220dc69fc3cd47cc9c881f96a8e69849b654b54901 SHA512 9b264cade6d060cbf7dea6ce4991abf71218548a7051d87a75666aab1f4a1ff333c590097a95cd43240367be7abea0ef34325837eab84e12caf6f0d8375133a0 WHIRLPOOL 45e39585e0cb9cf6cf8d1f20f61ba2eccd73daa50122560ff7ba4f7f87236f6616569f66ee8a2b64c732c57b1f46e6a5a3207b255c0633e56ab4a18dd223d41d +MISC ChangeLog 342 SHA256 95db20fd5370ecbdc425f6504ef4a64e92767de9759952df202f3db7a1ccc32c SHA512 ea8f28b5b6eca0b6d56b17d3995ba31809934ccd90256d9ef5dad5081359745a0eb2c4b671d9e193f5aaefc016eed447b63fd89b70c22e116e51f5a9a1bc3426 WHIRLPOOL 1562f73942e0eacd77f9c83bd169f5cd452a7a79b2624647cc6a26b077292c3fa0575d8073743fe1f17a76aed652392fdb4a147cdff6e2ff45de855defebdbb9 +MISC metadata.xml 214 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 SHA512 aeb2fb354a9ddf41c45a071091a58b91eaf8b25d6d2c49e3e3daa547b591a54530144de4533573160b48dc356289c909612c4e3c80e387f081f88cb39263e130 WHIRLPOOL 54d8861daedd18ca38e4ada0fb71026c612b63946d47a9b34de90d1d6d85c8ce05c0a4b97730f554ea637d73ccce8ed207d33e707c2b8c1dd28af24cf44dd186 diff --git a/dev-java/spiffy/metadata.xml b/dev-java/spiffy/metadata.xml new file mode 100644 index 000000000..cc3fe2494 --- /dev/null +++ b/dev-java/spiffy/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-java/spiffy/spiffy-0.05.ebuild b/dev-java/spiffy/spiffy-0.05.ebuild new file mode 100644 index 000000000..63839e227 --- /dev/null +++ b/dev-java/spiffy/spiffy-0.05.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-pkg-simple + +DESCRIPTION="A collection of often used helper methods and utility classes used in industry" +HOMEPAGE="http://spiffyframework.sourceforge.net/" +SRC_URI="mirror://sourceforge/spiffyframework/spiffyframework/v0.xx/${PN}-all-${PV}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPS="dev-java/log4j" + +DEPEND="${COMMON_DEPS} + app-arch/unzip + dev-java/junit:4 + dev-java/struts:1.2 + >=virtual/jdk-1.5" +RDEPEND="${COMMON_DEPS} + >=virtual/jre-1.5" + +JAVA_SRC_DIR="src" +JAVA_GENTOO_CLASSPATH="junit-4,log4j,struts-1.2" + +src_unpack() { + unpack ${A} + rm -v ${PN}-all-${PV}.jar ${PN}-with_source-all-${PV}.jar ${PN}-all-${PV}-javadoc.zip || die + unpack ./${PN}-all-${PV}-source.zip + rm -v ${PN}-all-${PV}-source.zip || die +} + +src_test() { + JAVA_SRC_DIR="test" \ + JAVA_CLASSPATH_EXTRA="${PN}.jar" \ + PN="${PN}-test" \ + java-pkg-simple_src_compile + + ejunit4 -cp "${PN}.jar:${PN}-test.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})" \ + spiffy.core.lang.StringHelperTest \ + spiffy.core.util.CollectionHelperTest \ + spiffy.core.util.HashMapBuilderTest \ + spiffy.core.util.PushBackIteratorTest \ + spiffy.core.util.ThreeDHashMapTest \ + spiffy.core.util.TwoDHashMapTest \ + spiffy.junit.AssertHelperTest +} |