diff --git a/nltk-3.2.5.tar.gz b/nltk-3.2.5.tar.gz deleted file mode 100644 index 5ea706f..0000000 --- a/nltk-3.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2661f9971d983db314bbebd51ba770811a362c6597fd0f303bb1d3beadcb4834 -size 1188856 diff --git a/nltk-3.4.zip b/nltk-3.4.zip new file mode 100644 index 0000000..2396a94 --- /dev/null +++ b/nltk-3.4.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:286f6797204ffdb52525a1d21ec0a221ec68b8e3fa4f2d25f412ac8e63c70e8d +size 1432008 diff --git a/python-nltk.changes b/python-nltk.changes index fc3319c..bf61486 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Feb 10 16:19:17 UTC 2019 - John Vandenberg + +- Remove Python 3 dependency on singledispatch + +------------------------------------------------------------------- +Sat Feb 9 16:16:11 UTC 2019 - John Vandenberg + +- Update to v3.4 + + Support Python 3.7 + + New Language Modeling package + + Cistem Stemmer for German + + Support Russian National Corpus incl POS tag model + + Krippendorf Alpha inter-rater reliability test + + Comprehensive code clean-ups + + Switch continuous integration from Jenkins to Travis +- from v3.3 + + Support Python 3.6 + + New interface to CoreNLP + + Support synset retrieval by sense key + + Minor fixes to CoNLL Corpus Reader + + AlignedSent + + Fixed minor inconsistencies in APIs and API documentation + + Better conformance to PEP8 + + Drop Moses Tokenizer (incompatible license) + +------------------------------------------------------------------- +Wed Feb 6 09:44:56 UTC 2019 - John Vandenberg + +- Add missing dependency six +- Remove unnecessary build dependency six +- Recommend all optional dependencies + ------------------------------------------------------------------- Tue Mar 6 20:35:00 UTC 2018 - jengelh@inai.de diff --git a/python-nltk.spec b/python-nltk.spec index 3f946b4..4cd58e6 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -1,7 +1,7 @@ # # spec file for package python-nltk # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,25 +21,34 @@ %define pyname nltk Name: python-nltk -Version: 3.2.5 +Version: 3.4 Release: 0 Summary: Natural Language Toolkit License: Apache-2.0 Group: Development/Languages/Python Url: http://nltk.org/ -Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.zip BuildRequires: %{interps} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: unzip +%ifpython2 +Requires: python2-singledispatch +%endif +Requires: python-six Recommends: python-gensim Recommends: python-matplotlib Recommends: python-numpy Recommends: python-pyparsing +Recommends: python-python-crfsuite Recommends: python-requests Recommends: python-scipy +Recommends: python-scikit-learn +Recommends: python-twython BuildArch: noarch + %python_subpackages %description @@ -71,6 +80,7 @@ chmod -x %{buildroot}%{$python_sitelib}/nltk/test/dependency.doctest %python_exec -c "import nltk" || exit 1 %files %{python_files} +%doc README.md %license LICENSE.txt %{python_sitelib}/%{pyname}/ %{python_sitelib}/%{pyname}-%{version}-py%{py_ver}.egg-info/