Skip to content

Commit

Permalink
Update python-tldextract to version 5.0.1 / rev 20 via SR 1119465
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1119465
by user mia + anag+factory
- 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 whitespace
  • Loading branch information
mia authored and bmwiedemann committed Oct 23, 2023
1 parent 98b9bc5 commit e8afca6
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 12 deletions.
Binary file modified packages/p/python-tldextract/.files
Binary file not shown.
34 changes: 34 additions & 0 deletions packages/p/python-tldextract/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,38 @@ Bugfixes
<comment></comment>
<requestid>1096279</requestid>
</revision>
<revision rev="20" vrev="1">
<srcmd5>80a617fd31bcfe802a516ccbac4de223</srcmd5>
<version>5.0.1</version>
<time>1698097234</time>
<user>anag+factory</user>
<comment>- 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</comment>
<requestid>1119465</requestid>
</revision>
</revisionlist>
31 changes: 31 additions & 0 deletions packages/p/python-tldextract/python-tldextract.changes
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
19 changes: 8 additions & 11 deletions packages/p/python-tldextract/python-tldextract.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 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}
### SECTION test requirements
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
### /SECTION test requirements
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-filelock >= 3.0.8
Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion packages/p/python-tldextract/tldextract-3.4.4.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-tldextract/tldextract-5.0.1.tar.gz

0 comments on commit e8afca6

Please sign in to comment.