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 - [email protected] + +- 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 [email protected] -- 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)
