diff options
Diffstat (limited to 'dev-java/easymock-classextension')
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/easymock-classextension/ChangeLog b/dev-java/easymock-classextension/ChangeLog new file mode 100644 index 000000000000..9ce33a53c852 --- /dev/null +++ b/dev-java/easymock-classextension/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/easymock-classextension +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock-classextension/ChangeLog,v 1.1 2013/09/10 17:56:15 ercpe Exp $ + +*easymock-classextension-3.2 (10 Sep 2013) + + 10 Sep 2013; Johann Schmitz <ercpe@gentoo.org> + +easymock-classextension-3.2.ebuild, +metadata.xml: + Ebuild for the classextension library for easymock (bug #332773) diff --git a/dev-java/easymock-classextension/Manifest b/dev-java/easymock-classextension/Manifest new file mode 100644 index 000000000000..4ee4d2329a8e --- /dev/null +++ b/dev-java/easymock-classextension/Manifest @@ -0,0 +1,4 @@ +DIST easymockclassextension-3.2.zip 155678 SHA256 4f16c1a4359d194364ef2a152e8b2547ffee03e72824bf351781bffdb9f272c3 SHA512 bb6fa5cf69e3b07bb2e7d7d27b7186176a2b34e2250ab2945633ec55e49230ffeabc0dffed64bda84bf7f7e30b5846408536f9902b915b751fa3e3405e4b72b0 WHIRLPOOL bd824f57cf2840c3c08b09aba0999978128259e681390caa14c8bdcf298e52ca3268214b60e07b0fdc5efe014c4dde4b90bd72b39f4be54ce70cab445262cc7a +EBUILD easymock-classextension-3.2.ebuild 1090 SHA256 dd11b4690ef0e73e3e992898ee910dd73a75fcdc3a5a5d721c04436ec986db18 SHA512 b9b36d05c2b1eeca295a2feaee7557d1569b9245b1ca0fe2bad582d078fba1f4f680755f26b7eb1de53dfd97be5053952c7f80503ec4c06a4dc79112cde075e3 WHIRLPOOL 050049e1fec16006663cb56c821733c911ce006ccbcf2e583b3351ceb4e6b8362f2a730857dd5eaa309f415561f2674795eaff943decd597010089bd5bd0af10 +MISC ChangeLog 347 SHA256 6413956475c4c8823ef9c017ddd092720f838a3cad66370c0336bc1ad13d75eb SHA512 1c7af6e69cc7e26af973bc6a19d3e4a683952a3a62bd59e9e6530731143de0c910850a8db8a26beafe9e8064e7fb1d15a7c3d01c89697c19fb5d726c6206e870 WHIRLPOOL a04b1b66741e1ed446e490639fe3d3d452193d2b86a4f32df29148b7a6f0f42508b7c1cf29a984cb523f22725465ac1f0e8b971c042c36f83d4862d60b415379 +MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51 diff --git a/dev-java/easymock-classextension/easymock-classextension-3.2.ebuild b/dev-java/easymock-classextension/easymock-classextension-3.2.ebuild new file mode 100644 index 000000000000..3c070767a878 --- /dev/null +++ b/dev-java/easymock-classextension/easymock-classextension-3.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock-classextension/easymock-classextension-3.2.ebuild,v 1.1 2013/09/10 17:56:15 ercpe Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN=${PN/-} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Provides Mock Objects for interfaces in JUnit tests by generating them on the fly" +HOMEPAGE="http://www.easymock.org/" +SRC_URI="mirror://sourceforge/easymock/EasyMock%20Class%20Extension/${PV}/${MY_P}.zip" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="3.2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ACOMMON_DEPEND=" + dev-java/junit + dev-java/objenesis + dev-java/cglib:2.2 +" +CDEPEND="dev-java/easymock:${SLOT}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +JAVA_GENTOO_CLASSPATH="easymock-${SLOT}" +JAVA_SRC_DIR="src" + +src_unpack() { + default + + cd "${S}" || die + unzip ${MY_P}-sources.jar -d src/ || die + + if use examples; then + unzip ${MY_P}-samples.jar -d examples/ || die + fi +} + +src_install() { + java-pkg-simple_src_install + + use examples && java-pkg_doexamples examples +}
\ No newline at end of file diff --git a/dev-java/easymock-classextension/metadata.xml b/dev-java/easymock-classextension/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/easymock-classextension/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |