public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-parser/
@ 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:     d4ed43bc6ec2693422621984f0e863a062c6372b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 14:20:52 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 14:20:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d4ed43bc

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-parser/ChangeLog    |    5 ++++-
 sci-misc/stanford-parser/metadata.xml |    9 ++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sci-misc/stanford-parser/ChangeLog b/sci-misc/stanford-parser/ChangeLog
index 2e1d4ce..d958f9f 100644
--- a/sci-misc/stanford-parser/ChangeLog
+++ b/sci-misc/stanford-parser/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-misc/stanford-parser
-# 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-parser-1.6.ebuild:
   Silence repoman

diff --git a/sci-misc/stanford-parser/metadata.xml b/sci-misc/stanford-parser/metadata.xml
index 6225434..b1fe96c 100644
--- a/sci-misc/stanford-parser/metadata.xml
+++ b/sci-misc/stanford-parser/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>
   Stanford parser is a natural language parser implemented in Java and using
   statistical methods. It includes PCFG and dependency parsers.
 </longdescription>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-parser/
@ 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:     566bb761a5d23ec0367a7ac35813dbd3accee336
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 13:26:54 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 13:26:54 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=566bb761

sci-misc/stanford-parser: Bump to EAPI=5

Package-Manager: portage-2.2.14

---
 sci-misc/stanford-parser/ChangeLog                  |  6 +++++-
 sci-misc/stanford-parser/metadata.xml               |  8 ++++----
 sci-misc/stanford-parser/stanford-parser-1.6.ebuild | 12 ++++++------
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/sci-misc/stanford-parser/ChangeLog b/sci-misc/stanford-parser/ChangeLog
index d958f9f..6b1994c 100644
--- a/sci-misc/stanford-parser/ChangeLog
+++ b/sci-misc/stanford-parser/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-misc/stanford-parser
-# 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-parser-1.6.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-parser/metadata.xml b/sci-misc/stanford-parser/metadata.xml
index b1fe96c..e721375 100644
--- a/sci-misc/stanford-parser/metadata.xml
+++ b/sci-misc/stanford-parser/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>
   Stanford parser is a natural language parser implemented in Java and using
   statistical methods. It includes PCFG and dependency parsers.
 </longdescription>

diff --git a/sci-misc/stanford-parser/stanford-parser-1.6.ebuild b/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
index 7793e39..3b29f42 100644
--- a/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
+++ b/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
@@ -2,19 +2,21 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI=5
+
 JAVA_PKG_IUSE="doc source"
 inherit eutils java-pkg-2 java-ant-2
 
 MY_PV=2007-08-19
 MY_P=${PN}-${MY_PV}
+
 DESCRIPTION="Stanfords statistical natural language parsers"
 HOMEPAGE="http://www-nlp.stanford.edu/software/"
 SRC_URI="http://www-nlp.stanford.edu/software/${MY_P}.tar.gz"
-LICENSE="GPL-2"
 
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86"
-
 IUSE="${IUSE}"
 
 COMMON_DEP=""
@@ -24,6 +26,7 @@ RDEPEND=">=virtual/jre-1.5
 	${COMMON_DEP}"
 
 S="${WORKDIR}/${MY_P}"
+
 EANT_BUILD_TARGET="compile"
 
 src_install() {
@@ -35,11 +38,8 @@ src_install() {
 		java-pkg_dosrc src
 	fi
 	dodoc README.txt README_dependencies.txt cedict_readme.txt
-	dodir /usr/share/${PN}
 	insinto /usr/share/${PN}
-	for f in *ser.gz ; do
-		doins ${f}
-	done
+	doins *ser.gz
 	java-pkg_dolauncher stanford-lexparser --java_args -Xmx200m --main edu.stanford.nlp.parser.lexparser.LexicalizedParser
 	java-pkg_dolauncher stanford-lexparser-gui --java_args "-server -Xmx600m" --main edu.stanford.nlp.parser.ui.Parser
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-misc/stanford-parser/
@ 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:     da61776ce7660953c99199729afeffc2483b7eb4
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar  4 10:22:00 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  4 10:22:00 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=da61776c

sci-misc/stanford-parser: version bump 4.2.0, EAPI bump

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 ...ser-1.6.ebuild => stanford-parser-4.2.0.ebuild} | 37 ++++++++++++----------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/sci-misc/stanford-parser/stanford-parser-1.6.ebuild b/sci-misc/stanford-parser/stanford-parser-4.2.0.ebuild
similarity index 56%
rename from sci-misc/stanford-parser/stanford-parser-1.6.ebuild
rename to sci-misc/stanford-parser/stanford-parser-4.2.0.ebuild
index 81b297db0..bb70e918f 100644
--- a/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
+++ b/sci-misc/stanford-parser/stanford-parser-4.2.0.ebuild
@@ -1,44 +1,49 @@
-# 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 eutils java-pkg-2 java-ant-2
 
-MY_PV=2007-08-19
-MY_P=${PN}-${MY_PV}
+inherit java-pkg-2
+
+DATE="2020-11-17"
 
 DESCRIPTION="Stanfords statistical natural language parsers"
-HOMEPAGE="http://www-nlp.stanford.edu/software/"
-SRC_URI="http://www-nlp.stanford.edu/software/${MY_P}.tar.gz"
+HOMEPAGE="https://www-nlp.stanford.edu/software/lex-parser.html"
+SRC_URI="http://www-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}/${PN}-full-${DATE}"
 
 EANT_BUILD_TARGET="compile"
 
+src_prepare() {
+	mkdir -p src || die
+	pushd src || die
+	jar xf ../${P}-sources.jar || die
+	popd || die
+	default
+}
+
 src_install() {
-	java-pkg_dojar stanford-parser.jar
+	java-pkg_dojar ${PN}.jar
 	if use doc ; then
 		java-pkg_dojavadoc javadoc
 	fi
 	if use source ; then
 		java-pkg_dosrc src
 	fi
-	dodoc README.txt README_dependencies.txt cedict_readme.txt
-	insinto /usr/share/${PN}
-	doins *ser.gz
 	java-pkg_dolauncher stanford-lexparser --java_args -Xmx200m --main edu.stanford.nlp.parser.lexparser.LexicalizedParser
 	java-pkg_dolauncher stanford-lexparser-gui --java_args "-server -Xmx600m" --main edu.stanford.nlp.parser.ui.Parser
 }


^ 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-parser/ 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