commit python-wikipedia for openSUSE:Factory

2020-06-02 Thread root
Hello community,

here is the log from the commit of package python-wikipedia for 
openSUSE:Factory checked in at 2020-06-02 14:41:56

Comparing /work/SRC/openSUSE:Factory/python-wikipedia (Old)
 and  /work/SRC/openSUSE:Factory/.python-wikipedia.new.3606 (New)


Package is "python-wikipedia"

Tue Jun  2 14:41:56 2020 rev:4 rq:810736 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-wikipedia/python-wikipedia.changes
2018-12-13 19:44:59.872969350 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-wikipedia.new.3606/python-wikipedia.changes  
2020-06-02 14:42:44.700300135 +0200
@@ -1,0 +2,5 @@
+Fri May 29 10:59:02 UTC 2020 - Marketa Calabkova 
+
+- Replace nose with pytest
+
+---



Other differences:
--
++ python-wikipedia.spec ++
--- /var/tmp/diff_new_pack.3k1aGv/_old  2020-06-02 14:42:45.528302752 +0200
+++ /var/tmp/diff_new_pack.3k1aGv/_new  2020-06-02 14:42:45.528302752 +0200
@@ -1,7 +1,7 @@
 #
 # 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
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 URL:https://github.com/goldsmith/Wikipedia
 Source: 
https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz
 BuildRequires:  %{python_module beautifulsoup4}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
@@ -55,7 +55,7 @@
 
 %check
 ln -s tests/request_mock_data.py .
-%python_expand nosetests-%{$python_bin_suffix}
+%pytest
 
 %files %{python_files}
 %license LICENSE




commit python-wikipedia for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-wikipedia for 
openSUSE:Factory checked in at 2018-12-13 19:44:57

Comparing /work/SRC/openSUSE:Factory/python-wikipedia (Old)
 and  /work/SRC/openSUSE:Factory/.python-wikipedia.new.28833 (New)


Package is "python-wikipedia"

Thu Dec 13 19:44:57 2018 rev:3 rq:654065 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-wikipedia/python-wikipedia.changes
2017-09-04 12:35:18.264102353 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-wikipedia.new.28833/python-wikipedia.changes 
2018-12-13 19:44:59.872969350 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:56:05 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-wikipedia.spec ++
--- /var/tmp/diff_new_pack.aeytiy/_old  2018-12-13 19:45:00.544968475 +0100
+++ /var/tmp/diff_new_pack.aeytiy/_new  2018-12-13 19:45:00.548968470 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wikipedia
 #
-# 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
 # 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/
 #
 
 
@@ -23,17 +23,15 @@
 Summary:Wikipedia API for Python
 License:MIT
 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
 BuildRequires:  %{python_module beautifulsoup4}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 Requires:   python-beautifulsoup4
 Requires:   python-requests
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -60,8 +58,8 @@
 %python_expand nosetests-%{$python_bin_suffix} 
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-wikipedia for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package python-wikipedia for 
openSUSE:Factory checked in at 2017-09-04 12:35:13

Comparing /work/SRC/openSUSE:Factory/python-wikipedia (Old)
 and  /work/SRC/openSUSE:Factory/.python-wikipedia.new (New)


Package is "python-wikipedia"

Mon Sep  4 12:35:13 2017 rev:2 rq:520222 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-wikipedia/python-wikipedia.changes
2016-04-28 16:58:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-wikipedia.new/python-wikipedia.changes   
2017-09-04 12:35:18.264102353 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:57:39 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -4,0 +10 @@
+



Other differences:
--
++ python-wikipedia.spec ++
--- /var/tmp/diff_new_pack.BYj5vf/_old  2017-09-04 12:35:19.159976389 +0200
+++ /var/tmp/diff_new_pack.BYj5vf/_new  2017-09-04 12:35:19.163975827 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wikipedia
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wikipedia
 Version:1.4.0
 Release:0
@@ -23,20 +24,21 @@
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/goldsmith/Wikipedia
-Source: 
https://pypi.python.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
-# REEQUIRED FOR %%check
-BuildRequires:  python-beautifulsoup4
-BuildRequires:  python-requests
+Source: 
https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz
+BuildRequires:  %{python_module beautifulsoup4}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 Requires:   python-beautifulsoup4
 Requires:   python-requests
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%python_subpackages
 
 %description
-**Wikipedia** is a Python library that makes it easy to access and parse
+Wikipedia is a Python library that makes it easy to access and parse
 data from Wikipedia.
 
 Search Wikipedia, get article summaries, get data like links and images
@@ -48,15 +50,16 @@
 %setup -q -n wikipedia-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-nosetests
+ln -s tests/request_mock_data.py .
+%python_expand nosetests-%{$python_bin_suffix} 
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python_sitelib}/*