diff options
Diffstat (limited to 'dev-java/easymock-classextension')
-rw-r--r-- | dev-java/easymock-classextension/Manifest | 3 | ||||
-rw-r--r-- | dev-java/easymock-classextension/easymock-classextension-3.2-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-java/easymock-classextension/metadata.xml | 11 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/easymock-classextension/Manifest b/dev-java/easymock-classextension/Manifest new file mode 100644 index 000000000000..0da5b4fcb606 --- /dev/null +++ b/dev-java/easymock-classextension/Manifest @@ -0,0 +1,3 @@ +DIST easymockclassextension-3.2.zip 155678 BLAKE2B 5eecb9aabdcb4ef2edd2a2c7bf6b02d1c72c0d15f05ce4c148d646cc980a2358e34c49d7e13f65b31e379d8dbf581fee6c9ebbc1a5753336e251446ec120f476 SHA512 bb6fa5cf69e3b07bb2e7d7d27b7186176a2b34e2250ab2945633ec55e49230ffeabc0dffed64bda84bf7f7e30b5846408536f9902b915b751fa3e3405e4b72b0 +EBUILD easymock-classextension-3.2-r1.ebuild 992 BLAKE2B 332b846e0a61fdde73baaaffa8b6f4c8f3e6318a0f1a9402d71ab3c48672f592e5876d7916bedccd8b4c5fd6f47ee3bea204e914e95c140854551e825aa71b9f SHA512 30e6b1a87ce46c2ea0861501dd3b4fc399cbae2cec77e0d186074b4fe08c4d491a82ab9c3bdeb73397b29e0e03fb3b3416dc61eaa383d6b669a914ecf23c39b6 +MISC metadata.xml 314 BLAKE2B 9af04035962b6d333264caf33b4d16e3099709c9a2069f732333a3ec17812dbd88e9086539ec0de3b5009696b92ccebb52bbaf7bd8d543ba2a52bfe926cd7f50 SHA512 a9461432a42e98c60f9b88b92e9a2a170f7c7263178c884c67463f204dc315b689b6a02fc713c8313583536ef5554bcdbbac7eb32ba98b52ccded6ed1913581f diff --git a/dev-java/easymock-classextension/easymock-classextension-3.2-r1.ebuild b/dev-java/easymock-classextension/easymock-classextension-3.2-r1.ebuild new file mode 100644 index 000000000000..de49d776a308 --- /dev/null +++ b/dev-java/easymock-classextension/easymock-classextension-3.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN=${PN/-} +MY_P=${MY_PN}-${PV} +DESCRIPTION="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="" + +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 +} diff --git a/dev-java/easymock-classextension/metadata.xml b/dev-java/easymock-classextension/metadata.xml new file mode 100644 index 000000000000..144ebe414735 --- /dev/null +++ b/dev-java/easymock-classextension/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">easymock</remote-id> + </upstream> +</pkgmetadata> |