mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
dev-java/spice-jndikit: drop old EAPI
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST spice-jndikit-1.2-src.tar.gz 23084 BLAKE2B 66a00c3c155a006193c87ab2271def35c50cf722c29b4acbf9c2af0aaf19dbfda8be0bfe0ae44dfdecb8a5383334e542833284cd9212436cb837adca049afefe SHA512 bdb508eac32c8dac05be45553a6877e214dce4135c9ae96b95764254df4c0e57f2a7be3905301b096f140014e04e4fe6b517b7757553de26d73a513f7ff06244
|
||||
DIST spice-jndikit-1.4.zip 55185 BLAKE2B 4d5068a3f2e12d287ecd657e2092a2e73e6637f2285dcea58b6d8c820508f21f1ceb508514813b34cf9c1a7536cbc530aba1edf0ca80603b3008e3afa240582a SHA512 798a1671cf79a9ecf7777a2b5b6caa0074dcca97cecb445c8dad9a44144cc71fed312f7a13d4b7e12f09eb23b0525b38bca62d67866db76f03ceb5a7a0501501
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of JNDI providers"
|
||||
HOMEPAGE="https://github.com/codehaus"
|
||||
SRC_URI="http://dist.codehaus.org/spice/distributions/${P}-src.tar.gz"
|
||||
LICENSE="Spice-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.4
|
||||
test? ( dev-java/ant-junit )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
java-ant_ignore-system-classes
|
||||
java-ant_rewrite-classpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-2_src_compile
|
||||
cd target/classes
|
||||
rmic org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl \
|
||||
|| die "rmic failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Tests need a network connection so they will fail without it"
|
||||
ANT_TASKS="ant-junit" eant test -DJunit.present=true \
|
||||
-Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
||||
Reference in New Issue
Block a user