14
0

- Update to 5.0.1:

Bugfixes:
  * Indicate MD5 not used in a security context (FIPS compliance)
    #gh/john-kurkowski/tldextract#309
Misc.:
  * Increase typecheck aggression
- Changes in 5.0.0:
Breaking Changes:
  * Migrate `ExtractResult` from `namedtuple` to `dataclass`
    #gh/john-kurkowski/tldextract#306
Bugfixes:
  * Drop support for EOL Python 3.7
- Changes in 4.0.0:
Breaking Bugfixes:
  * Always include suffix if private suffix enabled and private
    suffix exists
    #gh/john-kurkowski/tldextract#300
- Changes in 3.5.0:
Features:
  * Support IPv6 addresses
    #gh/john-kurkowski/tldextract#298
Bugfixes:
  * Accept only 4 decimal octet IPv4 addresses
    #gh/john-kurkowski/tldextract#292
  * Support IPv4 addresses with unicode dots
  * Reject IPv4 addresses with trailing whitespaces + non-whitespaces
    #gh/john-kurkowski/tldextract#293

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tldextract?expand=0&rev=41
This commit is contained in:
2023-10-23 01:08:57 +00:00
committed by Git OBS Bridge
parent 66ad0a5e37
commit 8a54570db3
4 changed files with 43 additions and 15 deletions

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Oct 23 00:56:58 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to 5.0.1:
Bugfixes:
* Indicate MD5 not used in a security context (FIPS compliance)
#gh/john-kurkowski/tldextract#309
Misc.:
* Increase typecheck aggression
- Changes in 5.0.0:
Breaking Changes:
* Migrate `ExtractResult` from `namedtuple` to `dataclass`
#gh/john-kurkowski/tldextract#306
Bugfixes:
* Drop support for EOL Python 3.7
- Changes in 4.0.0:
Breaking Bugfixes:
* Always include suffix if private suffix enabled and private
suffix exists
#gh/john-kurkowski/tldextract#300
- Changes in 3.5.0:
Features:
* Support IPv6 addresses
#gh/john-kurkowski/tldextract#298
Bugfixes:
* Accept only 4 decimal octet IPv4 addresses
#gh/john-kurkowski/tldextract#292
* Support IPv4 addresses with unicode dots
* Reject IPv4 addresses with trailing whitespaces + non-whitespaces
#gh/john-kurkowski/tldextract#293
-------------------------------------------------------------------
Sat Jul 1 09:06:29 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -17,9 +17,8 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-tldextract
Version: 3.4.4
Version: 5.0.1
Release: 0
Summary: Python module to separate the TLD of a URL
License: BSD-3-Clause
@@ -29,17 +28,16 @@ Source: https://files.pythonhosted.org/packages/source/t/tldextract/tlde
Source1: %{name}-rpmlintrc
BuildRequires: %{python_module filelock >= 3.0.8}
BuildRequires: %{python_module idna >= 2.1.0}
BuildRequires: %{python_module requests >= 2.1.0}
BuildRequires: %{python_module requests-file >= 1.4}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
### SECTION test requirements
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.1.0}
BuildRequires: %{python_module requests-file >= 1.4}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
### /SECTION test requirements
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-filelock >= 3.0.8
@@ -50,6 +48,7 @@ Requires(post): update-alternatives
Requires(postun):update-alternatives
Obsoletes: %{oldpython}-tldextract <= 2.0.1
BuildArch: noarch
%{?sle15_python_module_pythons}
%python_subpackages
%description
@@ -63,16 +62,14 @@ as well.
%setup -q -n tldextract-%{version}
%build
sed -i 's:--pylint::' pytest.ini
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/tldextract
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py develop --user
%pytest tests
%post

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fe3210c577463545191d45ad522d3d5e78d55218ce97215e82004dcae1e1234
size 105688

3
tldextract-5.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac1c5daa02616e9c2608f5fb6dd93049db03d0cf46c7f6fad46e2850a984f019
size 111023