commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2020-05-19 14:47:02 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new.2738 (New) Package is "python-wptools" Tue May 19 14:47:02 2020 rev:12 rq:806811 version:0.4.17 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2019-10-16 09:17:11.519172729 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new.2738/python-wptools.changes 2020-05-19 14:47:04.223889083 +0200 @@ -1,0 +2,5 @@ +Mon May 18 07:25:38 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.eHp3M3/_old 2020-05-19 14:47:05.923892715 +0200 +++ /var/tmp/diff_new_pack.eHp3M3/_new 2020-05-19 14:47:05.927892724 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-wptools # -# Copyright (c) 2019 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 @@ -34,6 +34,8 @@ Requires: python-html2text >= 2016.9.19 Requires: python-lxml >= 3.8.0 Requires: python-pycurl >= 7.43.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -58,12 +60,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/wptool %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative wptool + +%postun +%python_uninstall_alternative wptool + %files %{python_files} %license LICENSE %doc HISTORY.rst README.rst -%python3_only %{_bindir}/wptool +%python_alternative %{_bindir}/wptool %{python_sitelib}/* %changelog
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2019-10-16 09:17:10 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new.2352 (New) Package is "python-wptools" Wed Oct 16 09:17:10 2019 rev:11 rq:738423 version:0.4.17 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-12-13 19:45:04.760962986 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new.2352/python-wptools.changes 2019-10-16 09:17:11.519172729 +0200 @@ -1,0 +2,5 @@ +Mon Oct 14 14:50:13 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.vomiSH/_old 2019-10-16 09:17:12.159171080 +0200 +++ /var/tmp/diff_new_pack.vomiSH/_new 2019-10-16 09:17:12.163171070 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-wptools # -# 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 @@ -23,7 +23,6 @@ Release:0 Summary:Wikipedia tools (for Humans) License:MIT -Group: Development/Languages/Python URL:https://github.com/siznax/wptools/ Source: https://files.pythonhosted.org/packages/source/w/wptools/%{pyname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM python-wptools-avoid-reading-readme.patch badshah...@gmail.com -- README.rst contains numerous spurious characters that are not readable in ascii. Skip reading this file in setup.py and manually insert a long description text instead @@ -59,7 +58,7 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-12-13 19:45:02 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new.28833 (New) Package is "python-wptools" Thu Dec 13 19:45:02 2018 rev:10 rq:654067 version:0.4.17 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-10-23 20:41:47.856443435 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new.28833/python-wptools.changes 2018-12-13 19:45:04.760962986 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:56:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.uq4RSu/_old 2018-12-13 19:45:05.744961705 +0100 +++ /var/tmp/diff_new_pack.uq4RSu/_new 2018-12-13 19:45:05.748961700 +0100 @@ -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/ # @@ -24,11 +24,10 @@ Summary:Wikipedia tools (for Humans) License:MIT Group: Development/Languages/Python -Url:https://github.com/siznax/wptools/ +URL:https://github.com/siznax/wptools/ Source: https://files.pythonhosted.org/packages/source/w/wptools/%{pyname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM python-wptools-avoid-reading-readme.patch badshah...@gmail.com -- README.rst contains numerous spurious characters that are not readable in ascii. Skip reading this file in setup.py and manually insert a long description text instead Patch0: python-wptools-avoid-reading-readme.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -63,7 +62,8 @@ %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%doc HISTORY.rst LICENSE README.rst +%license LICENSE +%doc HISTORY.rst README.rst %python3_only %{_bindir}/wptool %{python_sitelib}/*
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-10-23 20:40:30 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Tue Oct 23 20:40:30 2018 rev:9 rq:643793 version:0.4.17 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-06-29 22:24:16.542579600 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-10-23 20:41:47.856443435 +0200 @@ -1,0 +2,13 @@ +Mon Oct 22 14:09:27 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.17: + * Support proxy authentication (gh#siznax/wptools#130). + * Support page links continuations (gh#siznax/wptools#129). + +--- +Wed Jul 18 07:27:54 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.16: + + Support for alternate API endpoint. + +--- Old: wptools-0.4.15.tar.gz New: wptools-0.4.17.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.rVsjDs/_old 2018-10-23 20:41:49.340441662 +0200 +++ /var/tmp/diff_new_pack.rVsjDs/_new 2018-10-23 20:41:49.360441638 +0200 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.15 +Version:0.4.17 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.rVsjDs/_old 2018-10-23 20:41:49.380441614 +0200 +++ /var/tmp/diff_new_pack.rVsjDs/_new 2018-10-23 20:41:49.384441609 +0200 @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.15', + version='0.4.17', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.15.tar.gz -> wptools-0.4.17.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.15/HISTORY.rst new/wptools-0.4.17/HISTORY.rst --- old/wptools-0.4.15/HISTORY.rst 2018-05-30 22:39:06.0 +0200 +++ new/wptools-0.4.17/HISTORY.rst 2018-08-17 01:52:21.0 +0200 @@ -3,9 +3,12 @@ Release History --- -0.4.15 (2018-05-30) +0.4.17 (2018-08-16) +++ +* Support proxy authentication (#130) +* Support page links continuations (#129) +* Support alternate API endpoints (#127) * Merged @mcepl update to package tests (#125) * Put API warnings in data attribute (#120) * Support getting backlinks w/continuations (#119, #122) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.15/PKG-INFO new/wptools-0.4.17/PKG-INFO --- old/wptools-0.4.15/PKG-INFO 2018-05-30 22:42:40.0 +0200 +++ new/wptools-0.4.17/PKG-INFO 2018-08-17 01:58:46.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.15 +Version: 0.4.17 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -295,9 +295,12 @@ Release History --- -0.4.15 (2018-05-30) +0.4.17 (2018-08-16) +++ +* Support proxy authentication (#130) +* Support page links continuations (#129) +* Support alternate API endpoints (#127) * Merged @mcepl update to package tests (#125) * Put API warnings in data attribute (#120) * Support getting backlinks w/continuations (#119, #122) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.15/setup.py new/wptools-0.4.17/setup.py --- old/wptools-0.4.15/setup.py 2018-05-30 22:35:29.0 +0200 +++ new/wptools-0.4.17/setup.py 2018-08-17 01:50:58.0 +0200 @@ -10,7 +10,7 @@ setup( name='wptools', -version='0.4.15', +version='0.4.17', description='Wikipedia tools (for Humans)', long_description=readme + '\n\n' + history, url='https://github.com/siznax/wptools/', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.15/tests/category.py new/wptools-0.4.17/tests/category.py --- old/wptools-0.4.15/tests/category.py2018-02-06 23:25:53.0 +0100 +++ new/wptools-0.4.17/tests/category.py2018-07-09 01:28:18.0 +0200 @@ -4,6 +4,6 @@ response = r"""{"batchcomplete":"","query":{"categorymembers":[
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-06-29 22:24:11 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Fri Jun 29 22:24:11 2018 rev:8 rq:615435 version:0.4.15 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-05-29 10:47:50.242033307 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-06-29 22:24:16.542579600 +0200 @@ -1,0 +2,7 @@ +Sat Jun 9 13:25:08 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.15: + + Include tests in distribution (nonetheless don't run checks +during specfile because tests need network connection). + +--- Old: wptools-0.4.14.tar.gz New: wptools-0.4.15.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.mbNrwM/_old 2018-06-29 22:24:20.382576716 +0200 +++ /var/tmp/diff_new_pack.mbNrwM/_new 2018-06-29 22:24:20.382576716 +0200 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.14 +Version:0.4.15 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.mbNrwM/_old 2018-06-29 22:24:20.398576704 +0200 +++ /var/tmp/diff_new_pack.mbNrwM/_new 2018-06-29 22:24:20.398576704 +0200 @@ -1,7 +1,7 @@ -Index: wptools-0.4.12/setup.py +Index: wptools-0.4.15/setup.py === wptools-0.4.12.orig/setup.py -+++ wptools-0.4.12/setup.py +--- wptools-0.4.15.orig/setup.py wptools-0.4.15/setup.py @@ -2,8 +2,6 @@ from setuptools import setup, find_packages @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.14', + version='0.4.15', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.14.tar.gz -> wptools-0.4.15.tar.gz ++ 21455 lines of diff (skipped)
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-05-29 10:47:49 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Tue May 29 10:47:49 2018 rev:7 rq:612424 version:0.4.14 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-05-01 23:28:41.193489374 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-05-29 10:47:50.242033307 +0200 @@ -1,0 +2,14 @@ +Fri May 25 16:34:44 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.14: + + Moved expensive backlinks request to page.get_more() and other +minor fixes. +- Changes from version 0.4.13: + + Support getting backlinks with continuations, and more general +continuation support in wptools.core +- Minor rebase of python-wptools-avoid-reading-readme.patch. +- Drop %%check entirely, tests require network. +- Fix up sed command to remove hashbang: check for a valid + hashbang on the first line of file only and delete a match. + +--- Old: wptools-0.4.12.tar.gz New: wptools-0.4.14.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.IQammh/_old 2018-05-29 10:47:51.345992576 +0200 +++ /var/tmp/diff_new_pack.IQammh/_new 2018-05-29 10:47:51.345992576 +0200 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.12 +Version:0.4.14 Release:0 Summary:Wikipedia tools (for Humans) License:MIT @@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-unittest2 Requires: python-certifi >= 2017.7.27.1 Requires: python-html2text >= 2016.9.19 Requires: python-lxml >= 3.8.0 @@ -54,7 +53,7 @@ %prep %setup -q -n wptools-%{version} %patch0 -p1 -sed -i '1d' scripts/wptool.py +sed -E -i "1{/^#!\/usr\/bin.*python/d}" scripts/wptool.py %build %python_build @@ -63,12 +62,6 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%check -# TESTS ONLY WORK WITH PY3 UNITTEST -%ifpython3 -%python_exec setup.py test -%endif - %files %{python_files} %doc HISTORY.rst LICENSE README.rst %python3_only %{_bindir}/wptool ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.IQammh/_old 2018-05-29 10:47:51.365991837 +0200 +++ /var/tmp/diff_new_pack.IQammh/_new 2018-05-29 10:47:51.369991690 +0200 @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.12', + version='0.4.14', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.12.tar.gz -> wptools-0.4.14.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.12/HISTORY.rst new/wptools-0.4.14/HISTORY.rst --- old/wptools-0.4.12/HISTORY.rst 2018-04-30 00:33:58.0 +0200 +++ new/wptools-0.4.14/HISTORY.rst 2018-05-23 05:56:54.0 +0200 @@ -3,9 +3,11 @@ Release History --- -0.4.12 (2018-04-29) +0.4.14 (2018-05-22) +++ +* Put API warnings in data attribute (#120) +* Support getting backlinks w/continuations (#119, #122) * Always respect silent flag (#118) * Improved infobox parsing (#91, #109) * Added image (license, assessment) metadata (#104, #105) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.12/PKG-INFO new/wptools-0.4.14/PKG-INFO --- old/wptools-0.4.12/PKG-INFO 2018-04-30 00:38:59.0 +0200 +++ new/wptools-0.4.14/PKG-INFO 2018-05-23 06:11:08.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.12 +Version: 0.4.14 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -295,9 +295,11 @@ Release History --- -0.4.12 (2018-04-29) +0.4.14 (2018-05-22) +++ +* Put API warnings in data attribute (#120) +* Support getting backlinks w/continuations (#119, #122) * Always respect silent flag (#118) * Improved infobox parsing (#91, #109) * Added image (license, assessment) metadata (#104, #105) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.12/setup.p
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-05-01 23:28:39 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Tue May 1 23:28:39 2018 rev:6 rq:602625 version:0.4.12 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-01-28 20:33:35.110436159 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-05-01 23:28:41.193489374 +0200 @@ -1,0 +2,9 @@ +Mon Apr 30 19:10:36 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.12 [list of changes cumulated from version + 0.4.9]: + * Respect silence (gh#siznax/wptools#118). + * Added more general infobox parsing alternative. + * Improved infobox parsing. + +--- Old: wptools-0.4.8.tar.gz New: wptools-0.4.12.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.fwUcM2/_old 2018-05-01 23:28:45.109346986 +0200 +++ /var/tmp/diff_new_pack.fwUcM2/_new 2018-05-01 23:28:45.113346840 +0200 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.8 +Version:0.4.12 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.fwUcM2/_old 2018-05-01 23:28:45.141345822 +0200 +++ /var/tmp/diff_new_pack.fwUcM2/_new 2018-05-01 23:28:45.145345677 +0200 @@ -1,7 +1,7 @@ -Index: wptools-0.4.6/setup.py +Index: wptools-0.4.12/setup.py === wptools-0.4.6.orig/setup.py -+++ wptools-0.4.6/setup.py +--- wptools-0.4.12.orig/setup.py wptools-0.4.12/setup.py @@ -2,8 +2,6 @@ from setuptools import setup, find_packages @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.8', + version='0.4.12', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.8.tar.gz -> wptools-0.4.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.8/HISTORY.rst new/wptools-0.4.12/HISTORY.rst --- old/wptools-0.4.8/HISTORY.rst 2018-01-19 22:27:38.0 +0100 +++ new/wptools-0.4.12/HISTORY.rst 2018-04-30 00:33:58.0 +0200 @@ -3,9 +3,11 @@ Release History --- -0.4.8 (2018-01-19) -++ +0.4.12 (2018-04-29) +* Always respect silent flag (#118) +* Improved infobox parsing (#91, #109) * Added image (license, assessment) metadata (#104, #105) * Fixed Wikidata pageid, image bugs (#101, #102) * Added support for category continuations, subcategories (#99) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.8/PKG-INFO new/wptools-0.4.12/PKG-INFO --- old/wptools-0.4.8/PKG-INFO 2018-01-19 22:32:57.0 +0100 +++ new/wptools-0.4.12/PKG-INFO 2018-04-30 00:38:59.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.8 +Version: 0.4.12 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -51,42 +51,161 @@ >>> import wptools +Get a page object: + .. code-block:: python >>> page = wptools.page('Gandhi') +Get `API:Query`_ data: + +.. _`API:Query`: https://www.mediawiki.org/wiki/API:Query + +.. code-block:: python + +>>> page.get_query() +en.wikipedia.org (query) Gandhi +en.wikipedia.org (imageinfo) File:Portrait Gandhi.jpg +Mahatma Gandhi (en) data +{ + aliases: M K Gandhi, Mohandas Gandhi, Bapu, Gandhi, M... + assessments: Pakistan, Alternative Views, South Afric... + description: pre-eminent leader of Indian nationalism ... + extext: Mahātmā **Mohandas Karamchand Gandhi** ( ; H... + extract: Mahātmā Mohandas Karamchand Gandhi {u'size': 2951123, 'kind': 'query-pageimage', u... + label: Mahatma Gandhi + length: 262,790 + links: 10 Janpath, 14th Dalai Lama, 1915 Singapore M... + modified: page + pageid: 19379 + random: Salt + redirected: {u'to':
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-01-28 20:32:26 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Sun Jan 28 20:32:26 2018 rev:5 rq:570013 version:0.4.8 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-01-16 09:43:04.467712234 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-01-28 20:33:35.110436159 +0100 @@ -1,0 +2,7 @@ +Fri Jan 26 16:49:40 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.7: + * Fixed Wikidata pageid, image bugs and added Commons image +metadata. + +--- Old: wptools-0.4.7.tar.gz New: wptools-0.4.8.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.xiZSzZ/_old 2018-01-28 20:33:35.814403275 +0100 +++ /var/tmp/diff_new_pack.xiZSzZ/_new 2018-01-28 20:33:35.818403089 +0100 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.7 +Version:0.4.8 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.xiZSzZ/_old 2018-01-28 20:33:35.882400099 +0100 +++ /var/tmp/diff_new_pack.xiZSzZ/_new 2018-01-28 20:33:35.886399912 +0100 @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.7', + version='0.4.8', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.7.tar.gz -> wptools-0.4.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.7/HISTORY.rst new/wptools-0.4.8/HISTORY.rst --- old/wptools-0.4.7/HISTORY.rst 2018-01-11 00:04:40.0 +0100 +++ new/wptools-0.4.8/HISTORY.rst 2018-01-19 22:27:38.0 +0100 @@ -3,9 +3,11 @@ Release History --- -0.4.7 (2018-01-10) +0.4.8 (2018-01-19) ++ +* Added image (license, assessment) metadata (#104, #105) +* Fixed Wikidata pageid, image bugs (#101, #102) * Added support for category continuations, subcategories (#99) * Merged @RobbieClarken fix for non-value Wikidata snaktypes (#98) * Merged @seansay fix for deleted Wikidata item (#97) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.7/PKG-INFO new/wptools-0.4.8/PKG-INFO --- old/wptools-0.4.7/PKG-INFO 2018-01-11 00:11:01.0 +0100 +++ new/wptools-0.4.8/PKG-INFO 2018-01-19 22:32:57.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.7 +Version: 0.4.8 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -139,9 +139,11 @@ Release History --- -0.4.7 (2018-01-10) +0.4.8 (2018-01-19) ++ +* Added image (license, assessment) metadata (#104, #105) +* Fixed Wikidata pageid, image bugs (#101, #102) * Added support for category continuations, subcategories (#99) * Merged @RobbieClarken fix for non-value Wikidata snaktypes (#98) * Merged @seansay fix for deleted Wikidata item (#97) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.7/setup.py new/wptools-0.4.8/setup.py --- old/wptools-0.4.7/setup.py 2018-01-11 00:05:17.0 +0100 +++ new/wptools-0.4.8/setup.py 2018-01-19 22:28:53.0 +0100 @@ -10,7 +10,7 @@ setup( name='wptools', -version='0.4.7', +version='0.4.8', description='Wikipedia tools (for Humans)', long_description=readme + '\n\n' + history, url='https://github.com/siznax/wptools/', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.7/wptools/__init__.py new/wptools-0.4.8/wptools/__init__.py --- old/wptools-0.4.7/wptools/__init__.py 2018-01-11 00:05:32.0 +0100 +++ new/wptools-0.4.8/wptools/__init__.py 2018-01-19 22:29:05.0 +0100 @@ -18,7 +18,7 @@ __contact__ = "https://github.com/siznax/wptools"; __license__ = "MIT" __title__ = "wptools" -__version__ = "0.4.7" +__version__ = "0.4.8" from . import core from . import query diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.7/w
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-01-16 09:43:03 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Tue Jan 16 09:43:03 2018 rev:4 rq:564489 version:0.4.7 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2018-01-10 23:36:43.607635081 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-01-16 09:43:04.467712234 +0100 @@ -1,0 +2,8 @@ +Sun Jan 14 18:36:17 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.7: + * Added support for non-value Wikidata snaktypes, and category +continuations. +- Rebase python-wptools-avoid-reading-readme.patch. + +--- Old: wptools-0.4.6.tar.gz New: wptools-0.4.7.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.XTbGZK/_old 2018-01-16 09:43:05.287673852 +0100 +++ /var/tmp/diff_new_pack.XTbGZK/_new 2018-01-16 09:43:05.291673666 +0100 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.6 +Version:0.4.7 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.XTbGZK/_old 2018-01-16 09:43:05.307672916 +0100 +++ /var/tmp/diff_new_pack.XTbGZK/_new 2018-01-16 09:43:05.311672730 +0100 @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.6', + version='0.4.7', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.6.tar.gz -> wptools-0.4.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.6/HISTORY.rst new/wptools-0.4.7/HISTORY.rst --- old/wptools-0.4.6/HISTORY.rst 2017-12-23 01:53:04.0 +0100 +++ new/wptools-0.4.7/HISTORY.rst 2018-01-11 00:04:40.0 +0100 @@ -3,10 +3,12 @@ Release History --- -0.4.6 (2017-12-22) +0.4.7 (2018-01-10) ++ -* Merged deleted Wikidata item PR by @seansay (#97) +* Added support for category continuations, subcategories (#99) +* Merged @RobbieClarken fix for non-value Wikidata snaktypes (#98) +* Merged @seansay fix for deleted Wikidata item (#97) * Fixed TypeError on Windows 10 (#95) * Fixed RESTBase LookupError on slash titles (#94) * Added boxterm param for more Infobox reach (#91) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.6/PKG-INFO new/wptools-0.4.7/PKG-INFO --- old/wptools-0.4.6/PKG-INFO 2017-12-23 01:58:54.0 +0100 +++ new/wptools-0.4.7/PKG-INFO 2018-01-11 00:11:01.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.6 +Version: 0.4.7 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -139,10 +139,12 @@ Release History --- -0.4.6 (2017-12-22) +0.4.7 (2018-01-10) ++ -* Merged deleted Wikidata item PR by @seansay (#97) +* Added support for category continuations, subcategories (#99) +* Merged @RobbieClarken fix for non-value Wikidata snaktypes (#98) +* Merged @seansay fix for deleted Wikidata item (#97) * Fixed TypeError on Windows 10 (#95) * Fixed RESTBase LookupError on slash titles (#94) * Added boxterm param for more Infobox reach (#91) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.6/setup.py new/wptools-0.4.7/setup.py --- old/wptools-0.4.6/setup.py 2017-12-23 01:53:13.0 +0100 +++ new/wptools-0.4.7/setup.py 2018-01-11 00:05:17.0 +0100 @@ -10,7 +10,7 @@ setup( name='wptools', -version='0.4.6', +version='0.4.7', description='Wikipedia tools (for Humans)', long_description=readme + '\n\n' + history, url='https://github.com/siznax/wptools/', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.6/wptools/__init__.py new/wptools-0.4.7/wptools/__init__.py --- old/wptools-0.4.6/wptools/__init__.py 2017-12-23 01:53:23.0 +0100 +++ new/wptools-0.4.7/wptools/__init__.py 2018-01-11 00:05:32.0 +0100 @@ -18,7 +18,7 @@ __contact__ = "https://github.com/siznax
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2018-01-10 23:36:29 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Wed Jan 10 23:36:29 2018 rev:3 rq:563082 version:0.4.6 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2017-12-20 10:39:58.946477342 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2018-01-10 23:36:43.607635081 +0100 @@ -1,0 +2,8 @@ +Tue Jan 9 16:16:21 UTC 2018 - badshah...@gmail.com + +- Update to version 0.4.6: + * Merged deleted Wikidata item PR (gh#siznax/wptools#97). +- Rebase python-wptools-avoid-reading-readme.patch to apply + cleanly against updated sources. + +--- Old: wptools-0.4.5.tar.gz New: wptools-0.4.6.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.R31zOx/_old 2018-01-10 23:36:44.115611248 +0100 +++ /var/tmp/diff_new_pack.R31zOx/_new 2018-01-10 23:36:44.119611060 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-wptools # -# 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 @@ -19,7 +19,7 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4.5 +Version:0.4.6 Release:0 Summary:Wikipedia tools (for Humans) License:MIT ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.R31zOx/_old 2018-01-10 23:36:44.135610309 +0100 +++ /var/tmp/diff_new_pack.R31zOx/_new 2018-01-10 23:36:44.139610122 +0100 @@ -1,7 +1,7 @@ -Index: wptools-0.4.5/setup.py +Index: wptools-0.4.6/setup.py === wptools-0.4.5.orig/setup.py -+++ wptools-0.4.5/setup.py +--- wptools-0.4.6.orig/setup.py wptools-0.4.6/setup.py @@ -2,8 +2,6 @@ from setuptools import setup, find_packages @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4.5', + version='0.4.6', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.5.tar.gz -> wptools-0.4.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.5/HISTORY.rst new/wptools-0.4.6/HISTORY.rst --- old/wptools-0.4.5/HISTORY.rst 2017-12-13 23:19:17.0 +0100 +++ new/wptools-0.4.6/HISTORY.rst 2017-12-23 01:53:04.0 +0100 @@ -3,9 +3,10 @@ Release History --- -0.4.5 (2017-12-13) +0.4.6 (2017-12-22) ++ +* Merged deleted Wikidata item PR by @seansay (#97) * Fixed TypeError on Windows 10 (#95) * Fixed RESTBase LookupError on slash titles (#94) * Added boxterm param for more Infobox reach (#91) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.5/PKG-INFO new/wptools-0.4.6/PKG-INFO --- old/wptools-0.4.5/PKG-INFO 2017-12-13 23:24:34.0 +0100 +++ new/wptools-0.4.6/PKG-INFO 2017-12-23 01:58:54.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wptools -Version: 0.4.5 +Version: 0.4.6 Summary: Wikipedia tools (for Humans) Home-page: https://github.com/siznax/wptools/ Author: Steve @siznax @@ -139,9 +139,10 @@ Release History --- -0.4.5 (2017-12-13) +0.4.6 (2017-12-22) ++ +* Merged deleted Wikidata item PR by @seansay (#97) * Fixed TypeError on Windows 10 (#95) * Fixed RESTBase LookupError on slash titles (#94) * Added boxterm param for more Infobox reach (#91) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.5/setup.py new/wptools-0.4.6/setup.py --- old/wptools-0.4.5/setup.py 2017-12-13 23:19:35.0 +0100 +++ new/wptools-0.4.6/setup.py 2017-12-23 01:53:13.0 +0100 @@ -10,7 +10,7 @@ setup( name='wptools', -version='0.4.5', +version='0.4.6', description='Wikipedia tools (for Humans)', long_description=readme + '\n\n' + history, url='https://github.com/siznax/wptools/', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wptools-0.4.5/wpt
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2017-12-20 10:39:58 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Wed Dec 20 10:39:58 2017 rev:2 rq:558346 version:0.4.5 Changes: --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2017-10-31 15:43:33.186746109 +0100 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2017-12-20 10:39:58.946477342 +0100 @@ -1,0 +2,25 @@ +Tue Dec 19 09:55:52 UTC 2017 - badshah...@gmail.com + +- Update to version 0.4.5: + * Fixed TypeError on Windows 10 (gh#siznax/wptools#95) + * Fixed RESTBase LookupError on slash titles +(gh#siznax/wptools#94) + * Added boxterm param for more Infobox reach +(gh#siznax/wptools#91) + * Improved stress tests, wptool CLI script output + * Fixed get_imageinfo() issue (gh#siznax/wptools#93) + * Getting ALL Wikidata (gh#siznax/wptools#56) + * Surfaced redirects, disambiguation links +(gh#siznax/wptools#25) + * Increased test coverage to 95%, pylint score 10.0 + * Added more page data, split off expensive queries + * Implemented basic category and site functionality + * Changed page._WIKIPROPS to wikidata.LABELS + * Refactored attributes to only cache, data, flags, params + * Unified Wikimedia APIs access pattern via wptools.core +- Rebase python-wptools-avoid-reading-readme.patch to apply + cleanly against updated sources. +- Run tests (BuildRequires: python3-unittest2); this only works + with py3 unittest module, so only enable tests conditionally. + +--- Old: wptools-0.4.tar.gz New: wptools-0.4.5.tar.gz Other differences: -- ++ python-wptools.spec ++ --- /var/tmp/diff_new_pack.AtcQ1N/_old 2017-12-20 10:39:59.602429724 +0100 +++ /var/tmp/diff_new_pack.AtcQ1N/_new 2017-12-20 10:39:59.602429724 +0100 @@ -19,12 +19,12 @@ %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools -Version:0.4 +Version:0.4.5 Release:0 Summary:Wikipedia tools (for Humans) License:MIT Group: Development/Languages/Python -URL:https://github.com/siznax/wptools/ +Url:https://github.com/siznax/wptools/ Source: https://files.pythonhosted.org/packages/source/w/wptools/%{pyname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM python-wptools-avoid-reading-readme.patch badshah...@gmail.com -- README.rst contains numerous spurious characters that are not readable in ascii. Skip reading this file in setup.py and manually insert a long description text instead Patch0: python-wptools-avoid-reading-readme.patch @@ -32,6 +32,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python3-unittest2 Requires: python-certifi >= 2017.7.27.1 Requires: python-html2text >= 2016.9.19 Requires: python-lxml >= 3.8.0 @@ -62,6 +63,12 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +# TESTS ONLY WORK WITH PY3 UNITTEST +%ifpython3 +%python_exec setup.py test +%endif + %files %{python_files} %doc HISTORY.rst LICENSE README.rst %python3_only %{_bindir}/wptool ++ python-wptools-avoid-reading-readme.patch ++ --- /var/tmp/diff_new_pack.AtcQ1N/_old 2017-12-20 10:39:59.626427982 +0100 +++ /var/tmp/diff_new_pack.AtcQ1N/_new 2017-12-20 10:39:59.626427982 +0100 @@ -1,7 +1,7 @@ -Index: wptools-0.4/setup.py +Index: wptools-0.4.5/setup.py === wptools-0.4.orig/setup.py -+++ wptools-0.4/setup.py +--- wptools-0.4.5.orig/setup.py wptools-0.4.5/setup.py @@ -2,8 +2,6 @@ from setuptools import setup, find_packages @@ -13,7 +13,7 @@ @@ -12,7 +10,16 @@ setup( name='wptools', - version='0.4', + version='0.4.5', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= ++ wptools-0.4.tar.gz -> wptools-0.4.5.tar.gz ++ 1694 lines of diff (skipped)
commit python-wptools for openSUSE:Factory
Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2017-10-31 15:43:32 Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new (New) Package is "python-wptools" Tue Oct 31 15:43:32 2017 rev:1 rq:537240 version:0.4 Changes: New Changes file: --- /dev/null 2017-10-14 16:26:57.428140955 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new/python-wptools.changes 2017-10-31 15:43:33.186746109 +0100 @@ -0,0 +1,17 @@ +--- +Wed Oct 25 07:47:36 UTC 2017 - aloi...@gmx.com + +- Update to version 0.4 +- Converted to single-spec +- Refreshed python3-wptools-avoid-reading-readme.patch as + python-wptools-avoid-reading-readme.patch + +--- +Tue Mar 14 02:00:28 UTC 2017 - badshah...@gmail.com + +- Initial package. +- Add python3-wptools-avoid-reading-readme.patch: README.rst + contains numerous spurious characters that are not readable in + ascii, causing setup.py to fail. Skip reading this file in + setup.py and manually insert a long description text instead. + New: python-wptools-avoid-reading-readme.patch python-wptools.changes python-wptools.spec wptools-0.4.tar.gz Other differences: -- ++ python-wptools.spec ++ # # spec file for package python-wptools # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # %define pyname wptools %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wptools Version:0.4 Release:0 Summary:Wikipedia tools (for Humans) License:MIT Group: Development/Languages/Python URL:https://github.com/siznax/wptools/ Source: https://files.pythonhosted.org/packages/source/w/wptools/%{pyname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM python-wptools-avoid-reading-readme.patch badshah...@gmail.com -- README.rst contains numerous spurious characters that are not readable in ascii. Skip reading this file in setup.py and manually insert a long description text instead Patch0: python-wptools-avoid-reading-readme.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-certifi >= 2017.7.27.1 Requires: python-html2text >= 2016.9.19 Requires: python-lxml >= 3.8.0 Requires: python-pycurl >= 7.43.0 BuildArch: noarch %python_subpackages %description Python and command-line MediaWiki access for Humans. Features: * get an HTML or plain text "extract" (lead or summary) * get a representative image (pageimage, thumb, etc.) * get an Infobox as a python dictionary * get any/all Wikidata by title * get info in any language * get random info %prep %setup -q -n wptools-%{version} %patch0 -p1 sed -i '1d' scripts/wptool.py %build %python_build %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} %doc HISTORY.rst LICENSE README.rst %python3_only %{_bindir}/wptool %{python_sitelib}/* %changelog ++ python-wptools-avoid-reading-readme.patch ++ Index: wptools-0.4/setup.py === --- wptools-0.4.orig/setup.py +++ wptools-0.4/setup.py @@ -2,8 +2,6 @@ from setuptools import setup, find_packages -with open('README.rst') as f: -readme = f.read() with open('HISTORY.rst') as f: history = f.read() @@ -12,7 +10,16 @@ setup( name='wptools', version='0.4', description='Wikipedia tools (for Humans)', -long_description=readme + '\n\n' + history, +long_description= +'''Python and command-line MediaWiki access for Humans. + +Features: +* get an HTML or plain text "extract" (lead or summary) +* get a representative image (pageimage, thumb, etc.) +* get an Infobox as a python dictionary +* get any/all Wikidata by title +* get info in any language +* get random info''' + '\n\n' + history, url='