From ccf9cd1601720c2bfa46f5955711da48504963c3a301c361ff6d5e8e62fb6b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 11 Mar 2020 11:46:24 +0000 Subject: [PATCH] Accepting request 783786 from home:pgajdos:python - 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 OBS-URL: https://build.opensuse.org/request/show/783786 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tldextract?expand=0&rev=11 --- python-tldextract.changes | 17 +++++++++++++++++ python-tldextract.spec | 13 +++++++------ tldextract-2.2.1.tar.gz | 3 --- tldextract-2.2.2.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 9 deletions(-) delete mode 100644 tldextract-2.2.1.tar.gz create mode 100644 tldextract-2.2.2.tar.gz diff --git a/python-tldextract.changes b/python-tldextract.changes index 9567c17..ba3f13c 100644 --- a/python-tldextract.changes +++ b/python-tldextract.changes @@ -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> diff --git a/python-tldextract.spec b/python-tldextract.spec index 5294547..1f4d704 100644 --- a/python-tldextract.spec +++ b/python-tldextract.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tldextract -Version: 2.2.1 +Version: 2.2.2 Release: 0 Summary: Python module to separate the TLD of a URL License: BSD-3-Clause 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 Source1: %{name}-rpmlintrc # 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 BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -41,9 +41,9 @@ BuildRequires: python-rpm-macros Requires: python-idna >= 2.1.0 Requires: python-requests >= 2.1.0 Requires: python-requests-file >= 1.4 +Requires: python-setuptools Obsoletes: python-tldextract <= 2.0.1 BuildArch: noarch - %python_subpackages %description @@ -58,6 +58,7 @@ as well. %autopatch -p1 %build +sed -i 's:--pylint::' pytest.ini %python_build %install @@ -66,7 +67,7 @@ as well. %check %python_exec setup.py develop --user -%python_exec -m pytest -v tests +%pytest tests %files %{python_files} %license LICENSE diff --git a/tldextract-2.2.1.tar.gz b/tldextract-2.2.1.tar.gz deleted file mode 100644 index 5c30525..0000000 --- a/tldextract-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b72bef6013de67c7fa181250bc2c2e089a994d259c09ca95a9771f2f97e29ed1 -size 54538 diff --git a/tldextract-2.2.2.tar.gz b/tldextract-2.2.2.tar.gz new file mode 100644 index 0000000..0cdaf78 --- /dev/null +++ b/tldextract-2.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9aa21a1f7827df4209e242ec4fc2293af5940ec730cde46ea80f66ed97bfc808 +size 63107