[gentoo-commits] repo/gentoo:master commit in: dev-java/spice-jndikit/

2018-06-03 Thread Aaron Bauman
commit: 5ba602eb502aaa662c323b9316b1b28ae61954ea
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Jun  3 18:58:07 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Jun  4 01:12:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba602eb

dev-java/spice-jndikit: drop old EAPI

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-java/spice-jndikit/Manifest |  1 -
 dev-java/spice-jndikit/spice-jndikit-1.2.ebuild | 46 -
 2 files changed, 47 deletions(-)

diff --git a/dev-java/spice-jndikit/Manifest b/dev-java/spice-jndikit/Manifest
index a05633e99d3..32619405542 100644
--- a/dev-java/spice-jndikit/Manifest
+++ b/dev-java/spice-jndikit/Manifest
@@ -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 
798a1671cf79a9ecfa2b5b6caa0074dcca97cecb445c8dad9a44144cc71fed312f7a13d4b7e12f09eb23b0525b38bca62d67866db76f03ceb5a7a0501501

diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild 
b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
deleted file mode 100644
index 26737e6041f..000
--- a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
+++ /dev/null
@@ -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/*
-}



[gentoo-commits] repo/gentoo:master commit in: dev-java/spice-jndikit/

2017-07-04 Thread Patrice Clement
commit: 9367dd5318fccb38d91de7c8d1242052cfe7590b
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Jul  4 21:38:58 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jul  4 21:44:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9367dd53

dev-java/spice-jndikit: update HOMEPAGE.

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-java/spice-jndikit/spice-jndikit-1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild 
b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
index fd39702bbe7..5b5faa9594d 100644
--- a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
+++ b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 JAVA_PKG_IUSE="doc source test"
@@ -6,7 +6,7 @@ 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="http://spice.codehaus.org/;
+HOMEPAGE="https://github.com/codehaus;
 SRC_URI="http://dist.codehaus.org/spice/distributions/${P}-src.tar.gz;
 LICENSE="Spice-1.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-java/spice-jndikit/

2016-03-06 Thread Patrice Clement
commit: 9735a73f5b94fdb4b8877bd6838ecca2ece543a7
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Mar  6 15:28:04 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar  6 15:58:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9735a73f

dev-java/spice-jndikit: EAPI 5 and version bump.

Package-Manager: portage-2.2.26

 dev-java/spice-jndikit/Manifest |  1 +
 dev-java/spice-jndikit/spice-jndikit-1.4.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/dev-java/spice-jndikit/Manifest b/dev-java/spice-jndikit/Manifest
index e402a50..87265ab 100644
--- a/dev-java/spice-jndikit/Manifest
+++ b/dev-java/spice-jndikit/Manifest
@@ -1 +1,2 @@
 DIST spice-jndikit-1.2-src.tar.gz 23084 SHA256 
3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a SHA512 
bdb508eac32c8dac05be45553a6877e214dce4135c9ae96b95764254df4c0e57f2a7be3905301b096f140014e04e4fe6b517b7757553de26d73a513f7ff06244
 WHIRLPOOL 
62206bd937c9a7d9660ebda84782edcd08e331e48e389135a7b708999166ab122ce318aeac14386bbd091407c24a0096c14b72f42a073413b21a2bc65086cc3b
+DIST spice-jndikit-1.4.zip 55185 SHA256 
74bc8619ed53219c7498cb7ef180098fad8fdd0b9ab62ba201a903cc3438bdcc SHA512 
798a1671cf79a9ecfa2b5b6caa0074dcca97cecb445c8dad9a44144cc71fed312f7a13d4b7e12f09eb23b0525b38bca62d67866db76f03ceb5a7a0501501
 WHIRLPOOL 
b3d3236a37a037d8c6f51dc8940b9539f73d1803a5c935b0bd9a625afc443b54c9c737a96a49b08c123fe48800023f8d821b4345b374829c171e7136cf16f186

diff --git a/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild 
b/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild
new file mode 100644
index 000..b98bae4
--- /dev/null
+++ b/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN##*-}"
+
+DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of 
JNDI providers"
+HOMEPAGE="https://github.com/realityforge/jndikit;
+SRC_URI="https://github.com/realityforge/${MY_PN}/archive/${PV}.zip -> 
${P}.zip"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=virtual/jre-1.6"
+
+DEPEND="
+   >=virtual/jdk-1.6
+   source? ( app-arch/zip )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+   rm -rf src/test || die
+}
+
+src_compile() {
+   java-pkg-simple_src_compile
+   pushd target/classes > /dev/null || die
+   rmic org.realityforge.spice.jndikit.rmi.server.RMINamingProviderImpl \
+   || die "rmic failed"
+   popd > /dev/null || die
+}