diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/mockito | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/mockito')
-rw-r--r-- | dev-java/mockito/Manifest | 3 | ||||
-rw-r--r-- | dev-java/mockito/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/mockito/mockito-1.9.5-r1.ebuild | 42 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest new file mode 100644 index 000000000000..e786ecd10ef1 --- /dev/null +++ b/dev-java/mockito/Manifest @@ -0,0 +1,3 @@ +DIST mockito-1.9.5.zip 6453870 BLAKE2B b577c4a82f03b5c345462ecc10e9fe25c03836d08d57d633d95a1eaba17f52d4306603f50f332df360d0a4880c85c65bad4503503df0acad8f7b437694a2b887 SHA512 93768992c74fbc2e2653b46b3afb526ab816b9c707cb5f9608564299ffd206e256182be146c590b4777a624379f576d7117ed7d43b11f8d2974e87c402eede51 +EBUILD mockito-1.9.5-r1.ebuild 844 BLAKE2B b8ed4f84aaece678fcf10167dc29df664f5d484a302cdb560f64337833bfc93c26094550be04adfbe69e49d35c5c7b794c02e82886ee5a0cfe25b5e0f7031d8b SHA512 2caa56ec15407184643ebd9204d19c2536773c371bfad8e936012957b84f79612fc75ef96c60b0f3756a2e4643d215c058f0f91a479c187242fa40c51b96b74f +MISC metadata.xml 368 BLAKE2B b76278732bfbed14a8ec62d1b339971836efbaf3565e6b93dd61a09c18749fa30c815c283f633321cf0ddbc818ccfbeb92fed293f6e43137eeb2d3b8efa9ed04 SHA512 371a02c769989a221b89405e852f627a4cd9953f1529b8e6890056b6ca83e2526a82752ab3ed9b36f40a3d88d460360e20762d2a4cdcba359116c036f1d7cc7b diff --git a/dev-java/mockito/metadata.xml b/dev-java/mockito/metadata.xml new file mode 100644 index 000000000000..37aa3d0ae1cc --- /dev/null +++ b/dev-java/mockito/metadata.xml @@ -0,0 +1,12 @@ +<?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="google-code">mockito</remote-id> + <remote-id type="github">mockito/mockito</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/mockito/mockito-1.9.5-r1.ebuild b/dev-java/mockito/mockito-1.9.5-r1.ebuild new file mode 100644 index 000000000000..bb99d5cb44b6 --- /dev/null +++ b/dev-java/mockito/mockito-1.9.5-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A mocking framework for Java" +HOMEPAGE="https://github.com/mockito/mockito" +SRC_URI="https://${PN}.googlecode.com/files/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ppc64 x86" + +IUSE="" + +CDEPEND="dev-java/junit:4 + dev-java/objenesis:0 + dev-java/hamcrest-core:0 + dev-java/ant-core:0" +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${CDEPEND}" + +S="${WORKDIR}" + +JAVA_SRC_DIR="src" +JAVA_GENTOO_CLASSPATH="junit-4,objenesis,hamcrest-core,ant-core" + +src_unpack() { + unpack ${A} + unzip "${S}"/sources/${PN}-core-${PV}-sources.jar -d src/ || die +} + +java_prepare() { + find "${S}" -name "*.jar" -delete || die +} |