forked from pool/python-tldextract
Accepting request 783797 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/783797 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tldextract?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 11 11:24:28 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 2.2.2
|
||||||
|
* Bugfixes
|
||||||
|
* Catch file not found
|
||||||
|
* Use pkgutil instead of pkg_resources ([#163](https://github.com/john-kurkowski/tldextract/pull/163))
|
||||||
|
* Performance: avoid recomputes, a regex, and a partition
|
||||||
|
* Misc.
|
||||||
|
* Update LICENSE from GitHub template
|
||||||
|
* Fix warning about literal comparison
|
||||||
|
* Modernize testing ([#177](https://github.com/john-kurkowski/tldextract/issues/177))
|
||||||
|
* Use the latest pylint that works in Python 2
|
||||||
|
* Appease pylint with the new rules
|
||||||
|
* Support Python 3.8-dev
|
||||||
|
* Drop support for EOL Python 3.4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 10 19:57:13 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
|
Sun Mar 10 19:57:13 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tldextract
|
# spec file for package python-tldextract
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 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
|
||||||
@@ -18,16 +18,16 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-tldextract
|
Name: python-tldextract
|
||||||
Version: 2.2.1
|
Version: 2.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module to separate the TLD of a URL
|
Summary: Python module to separate the TLD of a URL
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/john-kurkowski/tldextract
|
URL: https://github.com/john-kurkowski/tldextract
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tldextract/tldextract-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tldextract/tldextract-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
# No internet connection on OBS build hosts; skip suffix list snapshot diff
|
# No internet connection on OBS build hosts; skip suffix list snapshot diff
|
||||||
Patch: tldextract-tests-offline.patch
|
Patch0: tldextract-tests-offline.patch
|
||||||
### BEGIN test requirements
|
### BEGIN test requirements
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -41,9 +41,9 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-idna >= 2.1.0
|
Requires: python-idna >= 2.1.0
|
||||||
Requires: python-requests >= 2.1.0
|
Requires: python-requests >= 2.1.0
|
||||||
Requires: python-requests-file >= 1.4
|
Requires: python-requests-file >= 1.4
|
||||||
|
Requires: python-setuptools
|
||||||
Obsoletes: python-tldextract <= 2.0.1
|
Obsoletes: python-tldextract <= 2.0.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -58,6 +58,7 @@ as well.
|
|||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
sed -i 's:--pylint::' pytest.ini
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -66,7 +67,7 @@ as well.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py develop --user
|
%python_exec setup.py develop --user
|
||||||
%python_exec -m pytest -v tests
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b72bef6013de67c7fa181250bc2c2e089a994d259c09ca95a9771f2f97e29ed1
|
|
||||||
size 54538
|
|
3
tldextract-2.2.2.tar.gz
Normal file
3
tldextract-2.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9aa21a1f7827df4209e242ec4fc2293af5940ec730cde46ea80f66ed97bfc808
|
||||||
|
size 63107
|
Reference in New Issue
Block a user