commit: 20efe1a6196581e06b28372761efd44dad198c9a Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Wed Nov 12 13:21:21 2014 +0000 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> CommitDate: Wed Nov 12 13:21:21 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=20efe1a6
sci-misc/opennlp-maxent: Bump to EAPI=5 Package-Manager: portage-2.2.14 --- sci-misc/opennlp-maxent/ChangeLog | 6 +++++- sci-misc/opennlp-maxent/metadata.xml | 8 ++++---- sci-misc/opennlp-maxent/opennlp-maxent-2.4.0.ebuild | 12 +++++++----- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/sci-misc/opennlp-maxent/ChangeLog b/sci-misc/opennlp-maxent/ChangeLog index 18f8bc9..388545b 100644 --- a/sci-misc/opennlp-maxent/ChangeLog +++ b/sci-misc/opennlp-maxent/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-misc/opennlp-maxent -# 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 <[email protected]> opennlp-maxent-2.4.0.ebuild, + metadata.xml: + Bump to EAPI=5 + 25 Oct 2011; Justin Lecher <[email protected]> metadata.xml: Removed no-herd from herd tag in metadata.xml diff --git a/sci-misc/opennlp-maxent/metadata.xml b/sci-misc/opennlp-maxent/metadata.xml index f364341..a9988e6 100644 --- a/sci-misc/opennlp-maxent/metadata.xml +++ b/sci-misc/opennlp-maxent/metadata.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> - <email>[email protected]</email> - </maintainer> - <longdescription> + <maintainer> + <email>[email protected]</email> + </maintainer> + <longdescription> Implementation of statistical classification using maximum entropy models in opennlp framework. </longdescription> diff --git a/sci-misc/opennlp-maxent/opennlp-maxent-2.4.0.ebuild b/sci-misc/opennlp-maxent/opennlp-maxent-2.4.0.ebuild index 6181065..f457b03 100644 --- a/sci-misc/opennlp-maxent/opennlp-maxent-2.4.0.ebuild +++ b/sci-misc/opennlp-maxent/opennlp-maxent-2.4.0.ebuild @@ -2,7 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=5 + JAVA_PKG_IUSE="source examples doc" + inherit eutils java-pkg-2 java-ant-2 MY_PN="maxent" @@ -15,10 +18,10 @@ SRC_URI="mirror://sourceforge/maxent/${MY_P}.tgz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" - IUSE="${IUSE}" -COMMON_DEP="dev-java/java-getopt +COMMON_DEP=" + dev-java/java-getopt dev-java/trove" DEPEND=">=virtual/jdk-1.4 ${COMMON_DEP}" @@ -28,9 +31,8 @@ RDEPEND=">=virtual/jre-1.4 EANT_BUILD_TARGET="compile package" S="${WORKDIR}/${MY_P}" -src_unpack() { - unpack ${A} - cd "${S}"/lib +src_prepare() { + cd "${S}"/lib || die rm -v *.jar || die "failed to rm jars" java-pkg_jarfrom java-getopt-1 gnu.getopt.jar java-getopt.jar java-pkg_jarfrom trove
