summaryrefslogtreecommitdiff
path: root/dev-java/cofoja
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/cofoja')
-rw-r--r--dev-java/cofoja/Manifest2
-rw-r--r--dev-java/cofoja/cofoja-1.3.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/cofoja/Manifest b/dev-java/cofoja/Manifest
index 88aa94619802..0cde01c76699 100644
--- a/dev-java/cofoja/Manifest
+++ b/dev-java/cofoja/Manifest
@@ -1,3 +1,5 @@
DIST cofoja-1.2.zip 229127 BLAKE2B b668a731bb86b38caaa599a723dbf34b42781a1c86afc8f905631a98f48fc8d94593d23eea24a53488019cd8f87f094256a7f1f3eda69f5dfb71340ca1bb8d63 SHA512 d6d73d32adaceaeb4c34600c0761f272d4917d276eb654a3e43ad368bc77eae26e9d5b90cb93f7ae073b6dad81eece129337e3c2d52daf7bb3dbc0577dcc2e7e
+DIST cofoja-1.3.tar.gz 104211 BLAKE2B 82c84a4cd0ce788c88f97256a47228512776113e7587c79518dd9d64618a3f92d45b97db25b33105160ee7f51c65518cdd086cafba2d89db3189c3c5dfd8b842 SHA512 c82e3b08ed193715e29a3b0b966ff38e17f73b24384f364946f1f00af0c376ce537d16fe0d0430f4c314f86ea5b46238ae0fa94d79d350c727f143d33f418d8e
EBUILD cofoja-1.2.ebuild 807 BLAKE2B 9b7464d91cd5303f1a9cb64acc3cd59441d4a5afcfdbe5f4369cbc19fbf4fdae06f405bec0317095a9a4a9d5d81b2a9475936bd718575a866f0910e590bb55e2 SHA512 62642aa7711c2a6745b2f31343a57d888d2c36245b0d27488d2a641982744c87c5009f38777d65d75d75687ca46656685ae47508d1e080b7008bd900164f6a1b
+EBUILD cofoja-1.3.ebuild 806 BLAKE2B 002dea46fc7e71b0ca3e1ee806de0329bb7a6e60ca652a272a603b4abd19710d712273421d7bb36efc09aa7858bfd8103810abbda884f26b5b0a191da707a0f5 SHA512 c191b3059c17888691f4f29993b90da49f34bcc6c1c097b694e11db898fee6483b8944652bcc98d0555db256abf307a5c5e834cf7929040b7c41af785301b54b
MISC metadata.xml 480 BLAKE2B 4804eb2f0a070c418f029be72085c659fe4ed58d5f3ae49d8ea1bd732bb904e4ab99f1da76c7e8efd80746969c9a6ac16b249929e8f6cdb6a83a02f775a59b70 SHA512 c7b6400370e8342c585663d9778ed6b5d491b2c764a963081a611142f8bb5a0a20bd497f5d19ab213d7583637efc04808f41c8be3ec62cca58466018cf588890
diff --git a/dev-java/cofoja/cofoja-1.3.ebuild b/dev-java/cofoja/cofoja-1.3.ebuild
new file mode 100644
index 000000000000..654d5541a289
--- /dev/null
+++ b/dev-java/cofoja/cofoja-1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Contracts for Java"
+HOMEPAGE="https://github.com/nhatminhle/cofoja"
+SRC_URI="https://github.com/nhatminhle/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="test"
+
+CDEPEND="dev-java/asm:4"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="asm-4"
+JAVA_SRC_DIR="src/com/google/java/contract"
+
+src_prepare() {
+ default
+
+ # Relies on a bunch of classes in jsr308,
+ # spec we don't have packaged in Gentoo.. yet.
+ rm -v src/com/google/java/contract/core/apt/JavacUtils.java || die
+}