forked from pool/python-wptools
Accepting request 612424 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/612424 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wptools?expand=0&rev=7
This commit is contained in:
@@ -13,7 +13,7 @@ Index: wptools-0.4.12/setup.py
|
||||
|
||||
@@ -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=
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 25 16:34:44 UTC 2018 - badshah400@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 30 19:10:36 UTC 2018 - badshah400@gmail.com
|
||||
|
||||
|
||||
@@ -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 devel}
|
||||
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 @@ Features:
|
||||
%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 @@ sed -i '1d' scripts/wptool.py
|
||||
%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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6bc3e55abcc8b9f3b565dd1dd86f4276a820594596e3f3c0920a1cfa1f445b31
|
||||
size 33633
|
||||
3
wptools-0.4.14.tar.gz
Normal file
3
wptools-0.4.14.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bdc7b234939fb5e170194773fde21a2a7010720d7832c932418b0b6f55afaf49
|
||||
size 34293
|
||||
Reference in New Issue
Block a user