aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-11-12 14:25:58 +0100
committerJustin Lecher <jlec@gentoo.org>2014-11-12 14:25:58 +0100
commita8c61a7c148565149640c8f1bb5578dd6b977988 (patch)
treef0237f67040d5d3200a002849305d520074471b8 /sci-misc
parentsci-misc/opennlp-maxent: Bump to EAPI=5 (diff)
downloadsci-a8c61a7c148565149640c8f1bb5578dd6b977988.tar.gz
sci-a8c61a7c148565149640c8f1bb5578dd6b977988.tar.bz2
sci-a8c61a7c148565149640c8f1bb5578dd6b977988.zip
sci-misc/opennlp-tools: Bump to EAPI=5
Package-Manager: portage-2.2.14
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/opennlp-tools/ChangeLog6
-rw-r--r--sci-misc/opennlp-tools/metadata.xml14
-rw-r--r--sci-misc/opennlp-tools/opennlp-tools-1.3.0.ebuild7
3 files changed, 16 insertions, 11 deletions
diff --git a/sci-misc/opennlp-tools/ChangeLog b/sci-misc/opennlp-tools/ChangeLog
index a88efc335..717e1908c 100644
--- a/sci-misc/opennlp-tools/ChangeLog
+++ b/sci-misc/opennlp-tools/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-misc/opennlp-tools
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Nov 2014; Justin Lecher <jlec@gentoo.org> opennlp-tools-1.3.0.ebuild,
+ metadata.xml:
+ Bump to EAPI=5
+
25 Oct 2011; Justin Lecher <jlec@gentoo.org> metadata.xml:
Removed no-herd from herd tag in metadata.xml
diff --git a/sci-misc/opennlp-tools/metadata.xml b/sci-misc/opennlp-tools/metadata.xml
index 82673792f..3d05bed34 100644
--- a/sci-misc/opennlp-tools/metadata.xml
+++ b/sci-misc/opennlp-tools/metadata.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>flammie@gentoo.org</email>
- </maintainer>
- <longdescription>
+ <maintainer>
+ <email>flammie@gentoo.org</email>
+ </maintainer>
+ <longdescription>
Open source natural language processing toolkit containing lots of differents
text processing tools and an API.
</longdescription>
- <use>
- <flag name="models">Automatically generated description for models</flag>
- </use>
+ <use>
+ <flag name="models">Automatically generated description for models</flag>
+ </use>
</pkgmetadata>
diff --git a/sci-misc/opennlp-tools/opennlp-tools-1.3.0.ebuild b/sci-misc/opennlp-tools/opennlp-tools-1.3.0.ebuild
index 888d6a931..b44d45c44 100644
--- a/sci-misc/opennlp-tools/opennlp-tools-1.3.0.ebuild
+++ b/sci-misc/opennlp-tools/opennlp-tools-1.3.0.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=5
+
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -78,10 +80,9 @@ RDEPEND=">=virtual/jre-1.4
EANT_BUILD_TARGET="compile package"
-src_unpack() {
+src_prepare() {
# Models shan’t be unpacked!
- unpack ${P}.tgz
- cd "${S}"/lib
+ cd "${S}"/lib || die
rm -v *.jar || die "failed to rm jars"
java-pkg_jar-from trove
java-pkg_jar-from jwnl jwnl.jar jwnl-1.3.3.jar