openbsd-ports/textproc/py-nltk/patches/patch-setup_py
jasper f3a5127b04 import py-nltk 2.0b7
NLTK, the Natural Language Toolkit, is a suite of open source Python
modules, data sets and tutorials supporting research and development in
Natural Language Processing.

A substantial amount of documentation about how to use NLTK, including a
textbook and API documention, is available from the NLTK website:
http://www.nltk.org/
2009-11-13 12:17:08 +00:00

26 lines
732 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2009/11/13 12:17:08 jasper Exp $
- don't install bundled yaml and random java files.
--- setup.py.orig Mon Nov 9 11:12:18 2009
+++ setup.py Thu Nov 12 23:42:28 2009
@@ -32,7 +32,7 @@ setup(
#############################################
## Package Data
- package_data = {'nltk': ['nltk.jar', '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'
],
)