- update py-nltk to 2.0b9

ok ajacoutot@
This commit is contained in:
jasper 2010-08-30 07:16:02 +00:00
parent 50095fc131
commit 29129532b1
4 changed files with 31 additions and 25 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/13 12:17:08 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2010/08/30 07:16:02 jasper Exp $
COMMENT= Natural Language ToolKit
MODPY_EGG_VERSION= 2.0b7
MODPY_EGG_VERSION= 2.0b9
DISTNAME= nltk-${MODPY_EGG_VERSION}
PKGNAME= py-nltk-${MODPY_EGG_VERSION}
CATEGORIES= textproc
@ -20,7 +20,10 @@ EXTRACT_SUFX= .zip
MODULES= lang/python
BUILD_DEPENDS= ::textproc/py-yaml
RUN_DEPENDS= ::graphics/py-matplotlib \
::textproc/py-yaml
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (nltk-2.0b7.zip) = 7nK73Pcf8TrJA4umtH8TTQ==
RMD160 (nltk-2.0b7.zip) = XY3ZxNITLBgwmyXGINBm7i+OKQk=
SHA1 (nltk-2.0b7.zip) = jHlNgge9NKVb14boE0YFieN0YVs=
SHA256 (nltk-2.0b7.zip) = yW6+c9TBO5amz6yORkkXbNAcQ22Yc7J0cKyR2l0oQP8=
SIZE (nltk-2.0b7.zip) = 1002171
MD5 (nltk-2.0b9.zip) = 7pg/gCM3XytlqkYHxAWphg==
RMD160 (nltk-2.0b9.zip) = a9dySD7ialJ9I6RIP21fDIIQ+h0=
SHA1 (nltk-2.0b9.zip) = oBAghoa/jYqAzeyXT3IumQre1w8=
SHA256 (nltk-2.0b9.zip) = vb41A/ItB2YFTZIKC40FaX3NV2VAIxwraklJrVySgdk=
SIZE (nltk-2.0b9.zip) = 1043217

View File

@ -1,25 +1,15 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2009/11/13 12:17:08 jasper Exp $
$OpenBSD: patch-setup_py,v 1.2 2010/08/30 07:16:02 jasper Exp $
- don't install bundled yaml and random java files.
- don't install random java files.
--- setup.py.orig Mon Nov 9 11:12:18 2009
+++ setup.py Thu Nov 12 23:42:28 2009
--- setup.py.orig Mon Aug 30 00:06:34 2010
+++ setup.py Mon Aug 30 00:06:44 2010
@@ -32,7 +32,7 @@ setup(
#############################################
## Package Data
- package_data = {'nltk': ['nltk.jar', 'test/*.doctest']},
+ package_data = {'nltk': [ 'test/*.doctest']},
+ package_data = {'nltk': ['test/*.doctest']},
#############################################
## Package List
@@ -57,8 +57,7 @@ setup(
'nltk.tag',
'nltk.tokenize',
'nltk.toolbox',
- 'nltk.etree',
- 'yaml'
+ 'nltk.etree'
],
)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/13 12:17:08 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/08/30 07:16:02 jasper Exp $
lib/python${MODPY_VERSION}/site-packages/nltk/
lib/python${MODPY_VERSION}/site-packages/nltk-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/nltk/__init__.py
@ -314,6 +314,8 @@ lib/python${MODPY_VERSION}/site-packages/nltk/probability.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/
lib/python${MODPY_VERSION}/site-packages/nltk/sem/__init__.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/boxer.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/boxer.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/chat80.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/chat80.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/cooper_storage.py
@ -322,8 +324,6 @@ lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt_glue_demo.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt_glue_demo.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt_resolve_anaphora.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/drt_resolve_anaphora.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/evaluate.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/evaluate.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/glue.py
@ -340,6 +340,8 @@ lib/python${MODPY_VERSION}/site-packages/nltk/sem/relextract.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/relextract.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sem/util.py
lib/python${MODPY_VERSION}/site-packages/nltk/sem/util.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/sourcedstring.py
lib/python${MODPY_VERSION}/site-packages/nltk/sourcedstring.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/stem/
lib/python${MODPY_VERSION}/site-packages/nltk/stem/__init__.py
lib/python${MODPY_VERSION}/site-packages/nltk/stem/__init__.pyc
@ -355,6 +357,8 @@ lib/python${MODPY_VERSION}/site-packages/nltk/stem/regexp.py
lib/python${MODPY_VERSION}/site-packages/nltk/stem/regexp.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/stem/rslp.py
lib/python${MODPY_VERSION}/site-packages/nltk/stem/rslp.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/stem/snowball.py
lib/python${MODPY_VERSION}/site-packages/nltk/stem/snowball.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/stem/wordnet.py
lib/python${MODPY_VERSION}/site-packages/nltk/stem/wordnet.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tag/
@ -368,6 +372,8 @@ lib/python${MODPY_VERSION}/site-packages/nltk/tag/crf.py
lib/python${MODPY_VERSION}/site-packages/nltk/tag/crf.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tag/hmm.py
lib/python${MODPY_VERSION}/site-packages/nltk/tag/hmm.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tag/hunpos.py
lib/python${MODPY_VERSION}/site-packages/nltk/tag/hunpos.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tag/sequential.py
lib/python${MODPY_VERSION}/site-packages/nltk/tag/sequential.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tag/simplify.py
@ -390,7 +396,9 @@ lib/python${MODPY_VERSION}/site-packages/nltk/test/drt.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/featgram.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/featstruct.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/gluesemantics.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/grammar.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/grammartestsuites.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/inference.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/internals.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/logic.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/metrics.doctest
@ -403,6 +411,7 @@ lib/python${MODPY_VERSION}/site-packages/nltk/test/relextract.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/resolution.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/semantics.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/simple.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/sourcedstring.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/stem.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/tag.doctest
lib/python${MODPY_VERSION}/site-packages/nltk/test/tokenize.doctest
@ -426,8 +435,12 @@ lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/sexpr.py
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/sexpr.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/simple.py
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/simple.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/texttiling.py
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/texttiling.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/treebank.py
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/treebank.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/util.py
lib/python${MODPY_VERSION}/site-packages/nltk/tokenize/util.pyc
lib/python${MODPY_VERSION}/site-packages/nltk/toolbox/
lib/python${MODPY_VERSION}/site-packages/nltk/toolbox/__init__.py
lib/python${MODPY_VERSION}/site-packages/nltk/toolbox/__init__.pyc