summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-11 14:07:53 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-11 14:41:32 +0000
commit0987317db2e4334a06d58c5905b359996c027a0d (patch)
treeb12aa9e69fa211011ff6868938fe778dbeb7e59e /dev-java/jazzy
parentdev-java/xerial-core: Stable for amd64+x86. (diff)
downloadgentoo-0987317db2e4334a06d58c5905b359996c027a0d.tar.gz
gentoo-0987317db2e4334a06d58c5905b359996c027a0d.tar.bz2
gentoo-0987317db2e4334a06d58c5905b359996c027a0d.zip
dev-java/jazzy: Bump to EAPI 5 and switch to java-pkg-simple whilst at it.
Forcing because EAPI 0 ebuilds really HAVE TO go. Package-Manager: portage-2.2.26 RepoMan-Options: --force Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/jazzy')
-rw-r--r--dev-java/jazzy/Manifest2
-rw-r--r--dev-java/jazzy/jazzy-0.5.2-r1.ebuild40
-rw-r--r--dev-java/jazzy/jazzy-0.5.2.ebuild40
3 files changed, 41 insertions, 41 deletions
diff --git a/dev-java/jazzy/Manifest b/dev-java/jazzy/Manifest
index 6c412eb5c1fc..4119c078f98d 100644
--- a/dev-java/jazzy/Manifest
+++ b/dev-java/jazzy/Manifest
@@ -1 +1 @@
-DIST jazzy-0.5.2.src.zip 235936 SHA256 df6925f924094a9ebab51f30c0e90299e93be7258c194b6f0ea06a1df04fe43d SHA512 6d20f9bc133c03049c4c2a5c8612a52ef9fa09bc7510fb762c1ba9de479b1ce9319633ae2e78d3a1dd63900198d4e2468887113d034d95ba3e05bc631cc2de5e WHIRLPOOL de286057fd174df70ce571699c2c38c4cee67f3c0d821be254e126e29e70802fcee420706a2814dab8fa45b6a929e1c78c535702e0e0dcb0e752619f5be3fb03
+DIST jazzy-0.5.2.zip 235936 SHA256 df6925f924094a9ebab51f30c0e90299e93be7258c194b6f0ea06a1df04fe43d SHA512 6d20f9bc133c03049c4c2a5c8612a52ef9fa09bc7510fb762c1ba9de479b1ce9319633ae2e78d3a1dd63900198d4e2468887113d034d95ba3e05bc631cc2de5e WHIRLPOOL de286057fd174df70ce571699c2c38c4cee67f3c0d821be254e126e29e70802fcee420706a2814dab8fa45b6a929e1c78c535702e0e0dcb0e752619f5be3fb03
diff --git a/dev-java/jazzy/jazzy-0.5.2-r1.ebuild b/dev-java/jazzy/jazzy-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..0b213239e7ae
--- /dev/null
+++ b/dev-java/jazzy/jazzy-0.5.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java Spell Check API"
+HOMEPAGE="http://sourceforge.net/projects/jazzy"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip -> ${P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ java-pkg_clean
+ rm -rf src/com/swabunga/test || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ use doc && dodoc README.txt
+ use examples && java-pkg_doexamples --subdir \
+ com/swabunga/spell/examples \
+ src/com/swabunga/spell/examples
+}
diff --git a/dev-java/jazzy/jazzy-0.5.2.ebuild b/dev-java/jazzy/jazzy-0.5.2.ebuild
deleted file mode 100644
index 10ab3ef38598..000000000000
--- a/dev-java/jazzy/jazzy-0.5.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-JAVA_PKG_IUSE="doc examples source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Java Spell Check API"
-HOMEPAGE="http://sourceforge.net/projects/jazzy"
-SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-RDEPEND=">=virtual/jre-1.4"
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
- mkdir dict
- rm -v www/*.jar || die
-}
-
-EANT_BUILD_TARGET="library-all"
-
-src_install() {
- java-pkg_dojar dist/lib/*.jar
- dodoc README.txt || die
- use doc && java-pkg_dojavadoc javadoc
- use source && java-pkg_dosrc src/com
- use examples && java-pkg_doexamples --subdir com/swabunga/spell/examples \
- ./src/com/swabunga/spell/examples
-}