* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-tagger/
@ 2011-10-25 17:16 Justin Lecher
0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2011-10-25 17:16 UTC (permalink / raw
To: gentoo-commits
commit: 3721240d981b61ca2c470d7a06d48d18bf92211f
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 13:20:57 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 13:20:57 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3721240d
Removed no-herd from herd tag in metadata.xml
(Portage version: 2.2.0_alpha71/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)
---
sci-misc/stanford-tagger/ChangeLog | 5 ++++-
sci-misc/stanford-tagger/metadata.xml | 9 ++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/sci-misc/stanford-tagger/ChangeLog b/sci-misc/stanford-tagger/ChangeLog
index d0b2cb1..00cdb3b 100644
--- a/sci-misc/stanford-tagger/ChangeLog
+++ b/sci-misc/stanford-tagger/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-misc/stanford-tagger
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Oct 2011; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ Removed no-herd from herd tag in metadata.xml
+
04 Jul 2010; Andreas K. Huettel (dilfridge) <mail@akhuettel.de>
stanford-tagger-20060521.ebuild:
Silence repoman
diff --git a/sci-misc/stanford-tagger/metadata.xml b/sci-misc/stanford-tagger/metadata.xml
index d46da37..11655fa 100644
--- a/sci-misc/stanford-tagger/metadata.xml
+++ b/sci-misc/stanford-tagger/metadata.xml
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>flammie@gentoo.org</email>
-</maintainer>
-<longdescription>
+ <maintainer>
+ <email>flammie@gentoo.org</email>
+ </maintainer>
+ <longdescription>
University of Stanford’s Natural language pos tagger. Uses log linear
pos taggers such as Maximum Entropy model tagging.
</longdescription>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-tagger/
@ 2014-11-13 0:15 Christoph Junghans
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Junghans @ 2014-11-13 0:15 UTC (permalink / raw
To: gentoo-commits
commit: 209bcb0bbc3792c9df0022fe39c2398538ff4648
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 13:56:45 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 13:56:45 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=209bcb0b
sci-misc/stanford-tagger: Bump to EAPI=5
Package-Manager: portage-2.2.14
---
sci-misc/stanford-tagger/ChangeLog | 6 +++-
sci-misc/stanford-tagger/metadata.xml | 8 +++---
.../stanford-tagger-20060521.ebuild | 32 ++++++++++------------
3 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/sci-misc/stanford-tagger/ChangeLog b/sci-misc/stanford-tagger/ChangeLog
index 00cdb3b..d0b0d04 100644
--- a/sci-misc/stanford-tagger/ChangeLog
+++ b/sci-misc/stanford-tagger/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-misc/stanford-tagger
-# 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> stanford-tagger-20060521.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/stanford-tagger/metadata.xml b/sci-misc/stanford-tagger/metadata.xml
index 11655fa..95ef8b6 100644
--- a/sci-misc/stanford-tagger/metadata.xml
+++ b/sci-misc/stanford-tagger/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>flammie@gentoo.org</email>
- </maintainer>
- <longdescription>
+ <maintainer>
+ <email>flammie@gentoo.org</email>
+ </maintainer>
+ <longdescription>
University of Stanford’s Natural language pos tagger. Uses log linear
pos taggers such as Maximum Entropy model tagging.
</longdescription>
diff --git a/sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild b/sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild
index 891b473..200dcdf 100644
--- a/sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild
+++ b/sci-misc/stanford-tagger/stanford-tagger-20060521.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
@@ -9,13 +11,11 @@ MY_PV=2006-05-21
MY_P=postagger-${MY_PV}
DESCRIPTION="Stanfords log linear POS taggers"
HOMEPAGE="http://nlp.stanford.edu/software/tagger.shtml"
-
SRC_URI="http://nlp.stanford.edu/software/${MY_P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-
IUSE="${IUSE}"
COMMON_DEP=""
@@ -26,13 +26,15 @@ RDEPEND=">=virtual/jre-1.5
S="${WORKDIR}/${MY_P}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
jar xf ${MY_P}-source.jar
- rm -v ${MY_P}.jar
- sed -i 's/import edu.stanford.nlp.ling.IndexedFeatureLabe/\/\/\0/g' edu/stanford/nlp/stats/Counters.java || die "sed failed"
- sed -i 's/import edu.stanford.nlp.sequences.BeamBestSequenceFinder/\/\/\0/g' edu/stanford/nlp/tagger/maxent/TestSentence.java || die "sed failed"
+ rm -v ${MY_P}.jar || die
+ sed \
+ -e 's/import edu.stanford.nlp.ling.IndexedFeatureLabe/\/\/\0/g' \
+ -i edu/stanford/nlp/stats/Counters.java || die "sed failed"
+ sed \
+ -e 's/import edu.stanford.nlp.sequences.BeamBestSequenceFinder/\/\/\0/g' \
+ -i edu/stanford/nlp/tagger/maxent/TestSentence.java || die "sed failed"
}
src_compile() {
@@ -43,17 +45,11 @@ src_compile() {
src_install() {
java-pkg_dojar ${PN}.jar
- dodir /usr/share/${PN}
- dodir /usr/share/${PN}/wsj3t0-18-bidirectional
insinto /usr/share/${PN}/wsj3t0-18-bidirectional
- for f in wsj3t0-18-bidirectional/* ; do
- doins ${f}
- done
- dodir /usr/share/${PN}/wsj3t0-18-left3words
+ doins wsj3t0-18-bidirectional/*
+
insinto /usr/share/${PN}/wsj3t0-18-left3words
- for f in wsj3t0-18-left3words/* ; do
- doins ${f}
- done
+ doins wsj3t0-18-left3words/*
if use doc ; then
java-pkg_dojavadoc javadoc
fi
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-tagger/
@ 2021-03-04 10:22 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-03-04 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 6cb8a9d353ea16a5017a64bd6b8bfd20ce50fe0e
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 4 10:05:55 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 4 10:05:55 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cb8a9d3
sci-misc/stanford-tagger: EAPI bump, version bump 4.2.0
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
...0060521.ebuild => stanford-tagger-4.2.0.ebuild} | 44 +++++++++++-----------
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild b/sci-misc/stanford-tagger/stanford-tagger-4.2.0.ebuild
similarity index 63%
rename from sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild
rename to sci-misc/stanford-tagger/stanford-tagger-4.2.0.ebuild
index a844dd05c..f3e5339dd 100644
--- a/sci-misc/stanford-tagger/stanford-tagger-20060521.ebuild
+++ b/sci-misc/stanford-tagger/stanford-tagger-4.2.0.ebuild
@@ -1,59 +1,57 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
JAVA_PKG_IUSE="doc source"
+
inherit java-pkg-2
-MY_PV=2006-05-21
-MY_P=postagger-${MY_PV}
+MY_PN=stanford-postagger
+MY_P="${MY_PN}-${PV}"
+DATE="2020-11-17"
+
DESCRIPTION="Stanfords log linear POS taggers"
HOMEPAGE="http://nlp.stanford.edu/software/tagger.shtml"
-SRC_URI="http://nlp.stanford.edu/software/${MY_P}.tar.gz"
+SRC_URI="http://nlp.stanford.edu/software/${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
-IUSE="${IUSE}"
+KEYWORDS="~amd64 ~x86"
COMMON_DEP=""
-DEPEND=">=virtual/jdk-1.5
+DEPEND=">=virtual/jdk-1.7
${COMMON_DEP}"
-RDEPEND=">=virtual/jre-1.5
+RDEPEND=">=virtual/jre-1.7
${COMMON_DEP}"
+BDEPEND="app-arch/unzip"
-S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}/${MY_PN}-full-${DATE}"
src_prepare() {
- jar xf ${MY_P}-source.jar
- rm -v ${MY_P}.jar || die
+ mkdir -p src || die
+ pushd src || die
+ jar xf ../${MY_P}-sources.jar || die
sed \
-e 's/import edu.stanford.nlp.ling.IndexedFeatureLabe/\/\/\0/g' \
-i edu/stanford/nlp/stats/Counters.java || die "sed failed"
sed \
-e 's/import edu.stanford.nlp.sequences.BeamBestSequenceFinder/\/\/\0/g' \
-i edu/stanford/nlp/tagger/maxent/TestSentence.java || die "sed failed"
-}
-
-src_compile() {
- ejavac `find edu -name *.java` || die "ejavac failed"
- find edu -name '*.class' -o -name '*.properties' | \
- xargs jar cf "${S}/${PN}.jar" || die "jar failed"
+ popd || die
+ rm -v ${MY_P}.jar || die
+ default
}
src_install() {
- java-pkg_dojar ${PN}.jar
+ java-pkg_newjar ${MY_PN}.jar ${PN}.jar
insinto /usr/share/${PN}/wsj3t0-18-bidirectional
- doins wsj3t0-18-bidirectional/*
- insinto /usr/share/${PN}/wsj3t0-18-left3words
- doins wsj3t0-18-left3words/*
if use doc ; then
java-pkg_dojavadoc javadoc
fi
if use source ; then
- java-pkg_dosrc edu
+ java-pkg_dosrc src
fi
java-pkg_dolauncher stanford-postagger --java_args -Xmx300m --main edu.stanford.nlp.tagger.maxent.MaxentTagger
java-pkg_dolauncher stanford-postrainer --main edu.stanford.nlp.tagger.maxent.Train
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-04 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 0:15 [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-tagger/ Christoph Junghans
-- strict thread matches above, loose matches on Subject: below --
2021-03-04 10:22 Andrew Ammerlaan
2011-10-25 17:16 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox