summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-06-24 15:03:15 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-06-24 16:51:39 +0200
commit95f2bb96a1c2925c56ce8172315b824d8a9ba5ba (patch)
treee48a782e35737afe7838be54d36d2a9ab59244ab /dev-java
parentapp-office/calcurse: clean up old. (diff)
downloadgentoo-95f2bb96a1c2925c56ce8172315b824d8a9ba5ba.tar.gz
gentoo-95f2bb96a1c2925c56ce8172315b824d8a9ba5ba.tar.bz2
gentoo-95f2bb96a1c2925c56ce8172315b824d8a9ba5ba.zip
dev-java/cofoja: version bump.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/cofoja/Manifest1
-rw-r--r--dev-java/cofoja/cofoja-1.3.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/cofoja/Manifest b/dev-java/cofoja/Manifest
index d9ca83a9dd53..14d605a520a6 100644
--- a/dev-java/cofoja/Manifest
+++ b/dev-java/cofoja/Manifest
@@ -1 +1,2 @@
DIST cofoja-1.2.zip 229127 BLAKE2B b668a731bb86b38caaa599a723dbf34b42781a1c86afc8f905631a98f48fc8d94593d23eea24a53488019cd8f87f094256a7f1f3eda69f5dfb71340ca1bb8d63 SHA512 d6d73d32adaceaeb4c34600c0761f272d4917d276eb654a3e43ad368bc77eae26e9d5b90cb93f7ae073b6dad81eece129337e3c2d52daf7bb3dbc0577dcc2e7e
+DIST cofoja-1.3.tar.gz 104211 BLAKE2B 82c84a4cd0ce788c88f97256a47228512776113e7587c79518dd9d64618a3f92d45b97db25b33105160ee7f51c65518cdd086cafba2d89db3189c3c5dfd8b842 SHA512 c82e3b08ed193715e29a3b0b966ff38e17f73b24384f364946f1f00af0c376ce537d16fe0d0430f4c314f86ea5b46238ae0fa94d79d350c727f143d33f418d8e
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
+}