dev-java/cofoja: version bump.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Patrice Clement
2018-06-24 15:03:15 +02:00
parent f9271addd9
commit 95f2bb96a1
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cofoja-1.2.zip 229127 BLAKE2B b668a731bb86b38caaa599a723dbf34b42781a1c86afc8f905631a98f48fc8d94593d23eea24a53488019cd8f87f094256a7f1f3eda69f5dfb71340ca1bb8d63 SHA512 d6d73d32adaceaeb4c34600c0761f272d4917d276eb654a3e43ad368bc77eae26e9d5b90cb93f7ae073b6dad81eece129337e3c2d52daf7bb3dbc0577dcc2e7e
DIST cofoja-1.3.tar.gz 104211 BLAKE2B 82c84a4cd0ce788c88f97256a47228512776113e7587c79518dd9d64618a3f92d45b97db25b33105160ee7f51c65518cdd086cafba2d89db3189c3c5dfd8b842 SHA512 c82e3b08ed193715e29a3b0b966ff38e17f73b24384f364946f1f00af0c376ce537d16fe0d0430f4c314f86ea5b46238ae0fa94d79d350c727f143d33f418d8e

View File

@@ -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
}