Accepting request 571333 from home:RZLourenco:branches:devel:languages:python

- Depend on the full python interpreter to fix sqlite3 import
  during %check

OBS-URL: https://build.opensuse.org/request/show/571333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2018-01-31 11:40:02 +00:00 committed by Git OBS Bridge
parent 2b2a542364
commit 34da969769
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 30 17:16:13 UTC 2018 - guigo.lourenco@gmail.com
- Depend on the full python interpreter to fix sqlite3 import
during %check
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 16 11:02:13 UTC 2018 - guigo.lourenco@gmail.com Tue Jan 16 11:02:13 UTC 2018 - guigo.lourenco@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-nltk # spec file for package python-nltk
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -14,7 +14,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%{!?python_module:%define python_module() python-%{**} python3-%{**}} %{!?python_module:%define python_module() python-%{**} python3-%{**}}
%define interps python python3
%define pyname nltk %define pyname nltk
Name: python-nltk Name: python-nltk
@ -25,10 +28,11 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://nltk.org/ 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}.tar.gz
BuildRequires: python-rpm-macros BuildRequires: %{interps}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-gensim Recommends: python-gensim
Recommends: python-matplotlib Recommends: python-matplotlib
Recommends: python-numpy Recommends: python-numpy