forked from pool/python-wikipedia
Accepting request 810736 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/810736 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wikipedia?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 29 10:59:02 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Replace nose with pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:56:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:56:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-wikipedia
|
# spec file for package python-wikipedia
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/goldsmith/Wikipedia
|
URL: https://github.com/goldsmith/Wikipedia
|
||||||
Source: https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module beautifulsoup4}
|
BuildRequires: %{python_module beautifulsoup4}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -55,7 +55,7 @@ Wikipedia data, not getting it.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
ln -s tests/request_mock_data.py .
|
ln -s tests/request_mock_data.py .
|
||||||
%python_expand nosetests-%{$python_bin_suffix}
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user