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] 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