From 3c4a16620ad8752c16d2b0fdc9168c943c82c96b94994382b13dd4bd8ffce26f Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 8 Feb 2019 16:57:42 +0000 Subject: [PATCH 1/3] Accepting request 672086 from home:jayvdb:branches:devel:languages:python - Add missing dependency six - Remove unnecessary build dependency six - Recommend all optional dependencies OBS-URL: https://build.opensuse.org/request/show/672086 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=16 --- python-nltk.changes | 7 +++++++ python-nltk.spec | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/python-nltk.changes b/python-nltk.changes index fc3319c..aa55c31 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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..8da3873 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/ # @@ -30,15 +30,18 @@ Url: http://nltk.org/ Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz BuildRequires: %{interps} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros +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 From 681ed998c462e92294e00cd7847673e980560610d7ea7833b18afec6a5d36c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 10 Feb 2019 10:26:05 +0000 Subject: [PATCH 2/3] Accepting request 673106 from home:jayvdb:nltk_data - 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) OBS-URL: https://build.opensuse.org/request/show/673106 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=17 --- nltk-3.2.5.tar.gz | 3 --- nltk-3.4.zip | 3 +++ python-nltk.changes | 21 +++++++++++++++++++++ python-nltk.spec | 9 +++++++-- 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 nltk-3.2.5.tar.gz create mode 100644 nltk-3.4.zip 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 aa55c31..b214885 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +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 diff --git a/python-nltk.spec b/python-nltk.spec index 8da3873..06c54c1 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -21,17 +21,20 @@ %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 +Requires: python-singledispatch Requires: python-six Recommends: python-gensim Recommends: python-matplotlib @@ -43,6 +46,7 @@ Recommends: python-scipy Recommends: python-scikit-learn Recommends: python-twython BuildArch: noarch + %python_subpackages %description @@ -74,6 +78,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/ From 6464a76f6e712541438f8b547d6719093aaba4c29d9ec06e9fba99c16bbba346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 11 Feb 2019 08:14:51 +0000 Subject: [PATCH 3/3] Accepting request 673158 from home:jayvdb:coala - Remove Python 3 dependency on singledispatch OBS-URL: https://build.opensuse.org/request/show/673158 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=18 --- python-nltk.changes | 5 +++++ python-nltk.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-nltk.changes b/python-nltk.changes index b214885..bf61486 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-nltk.spec b/python-nltk.spec index 06c54c1..4cd58e6 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -34,7 +34,9 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-singledispatch +%ifpython2 +Requires: python2-singledispatch +%endif Requires: python-six Recommends: python-gensim Recommends: python-matplotlib