summaryrefslogtreecommitdiff
path: root/dev-java/cofoja
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/cofoja')
-rw-r--r--dev-java/cofoja/Manifest5
-rw-r--r--dev-java/cofoja/cofoja-1.2.ebuild41
-rw-r--r--dev-java/cofoja/metadata.xml16
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/cofoja/Manifest b/dev-java/cofoja/Manifest
new file mode 100644
index 000000000000..c17620307e12
--- /dev/null
+++ b/dev-java/cofoja/Manifest
@@ -0,0 +1,5 @@
+DIST cofoja-1.2.zip 229127 SHA256 57732add36b60b6cc194b80bb878fd7616ed5cf2a3c9f1aab814f687b3564f33 SHA512 d6d73d32adaceaeb4c34600c0761f272d4917d276eb654a3e43ad368bc77eae26e9d5b90cb93f7ae073b6dad81eece129337e3c2d52daf7bb3dbc0577dcc2e7e WHIRLPOOL a3781e7e07e22b56c78ebc54754f9beae85cc0fa4d6e3396e48b716ca457c36cf7f2f51347dd661cf14cfb10880dd9aced248413e4d2b90d1e8822e985d6dbe7
+EBUILD cofoja-1.2.ebuild 807 SHA256 065d0daa7529b42ebcd6993b77ec659ccdc0800f8fd074878761cd6a1ea2572f SHA512 62642aa7711c2a6745b2f31343a57d888d2c36245b0d27488d2a641982744c87c5009f38777d65d75d75687ca46656685ae47508d1e080b7008bd900164f6a1b WHIRLPOOL 23dc01aa578e4fa36617ed1aebaf0ec38186e6074dba04d3b5618bbcf353810c6a70b7998408c4006546166a22cb2496cbc6f65b755aa1068400e556e501c2dd
+MISC ChangeLog 4034 SHA256 ec330f3b0903f11d0c1c9e14de143c0b3011f9f8fdb0f35213c2f63a8036568f SHA512 ab241ea3ca8b49303dbcb2e5ecfd1c3ed4fa9626efeec8aac7b24e46ede433a36566e80167c48d00d36c19915dcfea1f7234ef77d12ae51271470366d2f79a21 WHIRLPOOL 94c0c5727038641eccef5e8ccc29a4506971e4e977e97992cdcac501c9a8781c1f2ed223c60e34ace23a31f57a2cb94276f0cf31146bcbee2c9dabc8f28305b1
+MISC ChangeLog-2015 425 SHA256 a60c0f6421376924887ac2608edf1839be1d0f0da5b7c899bb4e7d714fb9c527 SHA512 a4fdd6f21fc3cd7d20d10d282cc9c89e7788ea83ac28fd225d9531a67f7c4bcb32648e12836858181e661787c0e0142b4015449e02be51cbe864f21b6981c30a WHIRLPOOL c99d2505afda95cc4a58f53e98ed4f05143ac44eba73ec9b222daff00b08b7ef07e6a7954ffdab5b3f1f29e4f7ea100d68f82beb84a9bdeb98a884d48fa42999
+MISC metadata.xml 480 SHA256 636d7bf88ccf624374b56a26510e66d60700f8aeee08a3725ffdfa927c4f1a7a SHA512 c7b6400370e8342c585663d9778ed6b5d491b2c764a963081a611142f8bb5a0a20bd497f5d19ab213d7583637efc04808f41c8be3ec62cca58466018cf588890 WHIRLPOOL 99ff61e984fc132760d94522a704343a198d94c2aec33554c38e09797aa7f1198c1f973356cd812c6f60b716f9b207618033aa67f86f44c4096e5c5f46a271bd
diff --git a/dev-java/cofoja/cofoja-1.2.ebuild b/dev-java/cofoja/cofoja-1.2.ebuild
new file mode 100644
index 000000000000..9848bd6a3251
--- /dev/null
+++ b/dev-java/cofoja/cofoja-1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 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="Contracts for Java"
+HOMEPAGE="https://github.com/nhatminhle/cofoja"
+SRC_URI="https://github.com/nhatminhle/${PN}/archive/v${PV}.zip -> ${P}.zip"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RESTRICT="test"
+
+CDEPEND="dev-java/asm:4"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ source? ( app-arch/zip )
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="asm-4"
+JAVA_SRC_DIR="src/com/google/java/contract"
+
+# Relies on a bunch of classes in jsr308,
+# spec we don't have packaged in Gentoo.. yet.
+JAVA_RM_FILES=(
+ src/com/google/java/contract/core/apt/JavacUtils.java
+)
diff --git a/dev-java/cofoja/metadata.xml b/dev-java/cofoja/metadata.xml
new file mode 100644
index 000000000000..b6f3889baf54
--- /dev/null
+++ b/dev-java/cofoja/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="google-code">cofoja</remote-id>
+ <remote-id type="github">nhatminhle/cofoja</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>