You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1006 B
53 lines
1006 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
13 years ago
|
JAVA_PKG_IUSE="source test"
|
||
5 years ago
|
|
||
13 years ago
|
inherit java-pkg-2 java-ant-2
|
||
|
|
||
|
DESCRIPTION="JvYAMLb, YAML processor extracted from JRuby"
|
||
9 years ago
|
HOMEPAGE="https://github.com/olabini/jvyamlb"
|
||
5 years ago
|
SRC_URI="https://github.com/olabini/jvyamlb/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
3 years ago
|
|
||
13 years ago
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||
13 years ago
|
|
||
5 years ago
|
CDEPEND="
|
||
|
dev-java/bytelist:0
|
||
3 years ago
|
dev-java/jcodings:1
|
||
13 years ago
|
dev-java/joda-time:0"
|
||
|
|
||
5 years ago
|
RDEPEND="
|
||
|
${CDEPEND}
|
||
3 years ago
|
>=virtual/jre-1.8:*"
|
||
13 years ago
|
|
||
5 years ago
|
DEPEND="
|
||
|
${CDEPEND}
|
||
3 years ago
|
>=virtual/jdk-1.8:*
|
||
5 years ago
|
test? ( dev-java/ant-junit )"
|
||
13 years ago
|
|
||
|
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||
3 years ago
|
EANT_GENTOO_CLASSPATH="bytelist jcodings-1 joda-time"
|
||
13 years ago
|
|
||
5 years ago
|
DOCS=( CREDITS README )
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
java-pkg_clean
|
||
13 years ago
|
|
||
5 years ago
|
sed -i 's:depends="test":depends="compile":' build.xml || die
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
5 years ago
|
einstalldocs
|
||
13 years ago
|
java-pkg_newjar lib/${P}.jar
|
||
|
use source && java-pkg_dosrc src/*
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
ANT_TASKS="ant-junit" eant test
|
||
|
}
|