summaryrefslogtreecommitdiff
path: root/dev-java/mockito
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/mockito
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/mockito')
-rw-r--r--dev-java/mockito/Manifest5
-rw-r--r--dev-java/mockito/metadata.xml12
-rw-r--r--dev-java/mockito/mockito-1.9.5-r1.ebuild42
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest
new file mode 100644
index 000000000000..2470c3f03f80
--- /dev/null
+++ b/dev-java/mockito/Manifest
@@ -0,0 +1,5 @@
+DIST mockito-1.9.5.zip 6453870 SHA256 aaef6647ebded1deffa74e8b9cd5a3449eb385dbc127e1d56f0bdb59cde5c00e SHA512 93768992c74fbc2e2653b46b3afb526ab816b9c707cb5f9608564299ffd206e256182be146c590b4777a624379f576d7117ed7d43b11f8d2974e87c402eede51 WHIRLPOOL 2746b67745fbeff7752137e6afae8871fd20ccfe72a3b769df4e29d051bdc9da5de90cced3418641247cd8e8e0ff8c37b84483b91bfd6625b2fad25750aeead1
+EBUILD mockito-1.9.5-r1.ebuild 844 SHA256 f1c6203c7a6b8e4a2869e4122d418e797ecea8be6d46bca2841237bc317670a7 SHA512 2caa56ec15407184643ebd9204d19c2536773c371bfad8e936012957b84f79612fc75ef96c60b0f3756a2e4643d215c058f0f91a479c187242fa40c51b96b74f WHIRLPOOL 69077f2fa9cb8a019cf2c63b4f8491d40568d91232e069783fe757ab505aab7dc5b6322ceb7998dedf8ee04e5aa85ae8ecac42180545eb404e799b56686ebecd
+MISC ChangeLog 2746 SHA256 88fc34179b89f2483dbf214d232d675ac76b4b40ebad88c5421771697d130b89 SHA512 41542786be5765b9c069d69d4e3334a943133947e0f18ca5bcabe50b53bee0e4e4b7fc934d310264f3e74d5a6fb758f11901ffb1158e478cf8fb3b605a46a433 WHIRLPOOL fb7b29d42abcc6e58c2ad6312c860ee3e55032385cc4817431e392e45d49bf92233060df1dc51bba43a2ed4c44590b680fffb55bd53990289dab916679e2ae61
+MISC ChangeLog-2015 1393 SHA256 99f3603f8581112a1428b4af045d3d8cb15ccc8b51ef1c8c24447226905e78ba SHA512 2933ab7ed6ef596c1d5315558bcc5291244e2fd85cccd667af8f9b6b0b66ed39a715ed7a665a43800c5d205aaa1bc271431ac2f2559f1a541d5366b88e293437 WHIRLPOOL 9705b12a35ead60f684b5e6d1d65cea62a7cdf8eb09423decd278cc353e2ada619d9e5db81aa1e5e176c6e7d8a38571d57061853c0742fe34ba288e1fd07bdd6
+MISC metadata.xml 368 SHA256 1c60767de312075408f2e0196745645c6d57d0cb99bcd06799b547f47c1f1a77 SHA512 371a02c769989a221b89405e852f627a4cd9953f1529b8e6890056b6ca83e2526a82752ab3ed9b36f40a3d88d460360e20762d2a4cdcba359116c036f1d7cc7b WHIRLPOOL 89abe64198678e99681fef0a548232bbb2b5604aaf48433dcf387691bc9422114c1816951aa0b2fca64ae6109ce94f1f3cbc417469b22bcbeb75ad6a20aa15bc
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
+}