From f3752dd71fa6561b24978e918092dbcf15e7cba18a0b5191fc0f4756735a1629 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Fri, 26 Feb 2010 10:34:38 +0000 Subject: [PATCH] Accepting request 31723 from home:Odd-rationale Copy from home:Odd-rationale/python-nltk via accept of submit request 31723 revision 2. Request was accepted with message: reviewed ok OBS-URL: https://build.opensuse.org/request/show/31723 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=2 --- nltk-2.0b7.tar.bz2 | 3 --- nltk-2.0b8.tar.bz2 | 3 +++ python-nltk-remove-yaml.patch | 12 ------------ python-nltk.changes | 18 +++++++++++++++++- python-nltk.spec | 13 +++++-------- 5 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 nltk-2.0b7.tar.bz2 create mode 100644 nltk-2.0b8.tar.bz2 delete mode 100644 python-nltk-remove-yaml.patch diff --git a/nltk-2.0b7.tar.bz2 b/nltk-2.0b7.tar.bz2 deleted file mode 100644 index 04f5ccc..0000000 --- a/nltk-2.0b7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:46839396d554defc48efddb8f54d5a72c132e07d8eb754c78ccbf328ef012a48 -size 749180 diff --git a/nltk-2.0b8.tar.bz2 b/nltk-2.0b8.tar.bz2 new file mode 100644 index 0000000..cbf7407 --- /dev/null +++ b/nltk-2.0b8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08fe7f1b167cdce810d729547eb14fd276a47d222b697dec4f97c1358161509a +size 731882 diff --git a/python-nltk-remove-yaml.patch b/python-nltk-remove-yaml.patch deleted file mode 100644 index b60c9cf..0000000 --- a/python-nltk-remove-yaml.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- setup.py.old 2009-11-09 06:47:53.000000000 -0600 -+++ setup.py 2009-12-10 17:42:05.570604887 -0600 -@@ -57,8 +57,7 @@ - 'nltk.tag', - 'nltk.tokenize', - 'nltk.toolbox', -- 'nltk.etree', -- 'yaml' -+ 'nltk.etree' - ], - ) - diff --git a/python-nltk.changes b/python-nltk.changes index f598a4e..a258924 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Feb 7 18:51:07 CST 2010 - oddrationale@gmail.com + +- fixed copyright and license statements +- removed PyYAML, and added dependency to installers and download + instructions +- updated to LogicParser, DRT (Dan Garrette) +- WordNet similarity metrics return None instead of -1 when + they fail to find a path (Steve Bethard) +- shortest_path_distance uses instance hypernyms (Jordan + Boyd-Graber) +- clean_html improved (Bjorn Maeland) +- batch_parse, batch_interpret and batch_evaluate functions allow + grammar or grammar filename as argument +- more Portuguese examples (portuguese_en.doctest, examples/pt.py) + ------------------------------------------------------------------- Thu Dec 10 17:23:51 CST 2009 - oddrationale@gmail.com @@ -8,4 +24,4 @@ Thu Dec 10 17:23:51 CST 2009 - oddrationale@gmail.com ------------------------------------------------------------------- Wed Dec 9 15:39:35 CST 2009 - oddrationale@gmail.com -- Initial Release (Version 2.0b7): \ No newline at end of file +- Initial Release (Version 2.0b7): Sun Feb 7 18:50:18 CST 2010 diff --git a/python-nltk.spec b/python-nltk.spec index 458bedf..5932cee 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -1,5 +1,5 @@ # -# spec file for package python-nltk (Version 2.0b7) +# spec file for package python-nltk (Version 2.0b8) # # Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,18 +21,16 @@ %define modname nltk Name: python-nltk -Version: 2.0b7 +Version: 2.0b8 Release: 1 License: Apache V2.0 Summary: Natural Language Toolkit Group: Development/Libraries/Python Url: http://www.nltk.org/ Source0: nltk-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE python-nltk-remove-yaml.patch -# prevents conflict with python-yaml -Patch0: python-nltk-remove-yaml.patch %{py_requires} BuildRequires: python-devel +BuildRequires: python-yaml BuildRequires: pyxml BuildRequires: unzip Requires: python-numpy @@ -56,12 +54,11 @@ development in Natural Language Processing. Authors: -------- Steven Bird - Edward Loper - Ewan Klein + Edward Loper + Ewan Klein %prep %setup -q -n %{modname}-%{version} -%patch0 %build %{__python} setup.py build