diff --git a/packages/p/python-tldextract/.files b/packages/p/python-tldextract/.files
index d2e2f08408d..47bdb7dcdb1 100644
Binary files a/packages/p/python-tldextract/.files and b/packages/p/python-tldextract/.files differ
diff --git a/packages/p/python-tldextract/.rev b/packages/p/python-tldextract/.rev
index f8aad671520..798678f3fb3 100644
--- a/packages/p/python-tldextract/.rev
+++ b/packages/p/python-tldextract/.rev
@@ -352,4 +352,17 @@ Features:
- Fix homepage URL in specfile
1132106
+
+ 1d2b687f4b1928ce7c9116ace0451e99
+ 5.1.2
+
+ anag+factory
+ - Update to 5.1.2:
+ * Remove socket.inet_pton, to fix platform-dependent IP parsing
+ #gh/john-kurkowski/tldextract#318
+ * Use non-capturing groups for IPv4 address detection, for a
+ slight speed boost
+ #gh/john-kurkowski/tldextract#323
+ 1163368
+
diff --git a/packages/p/python-tldextract/python-tldextract.changes b/packages/p/python-tldextract/python-tldextract.changes
index 37cbed7edb7..82ba8fc876e 100644
--- a/packages/p/python-tldextract/python-tldextract.changes
+++ b/packages/p/python-tldextract/python-tldextract.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Thu Mar 28 16:29:56 UTC 2024 - Mia Herkt
+
+- Update to 5.1.2:
+ * Remove socket.inet_pton, to fix platform-dependent IP parsing
+ #gh/john-kurkowski/tldextract#318
+ * Use non-capturing groups for IPv4 address detection, for a
+ slight speed boost
+ #gh/john-kurkowski/tldextract#323
+
-------------------------------------------------------------------
Fri Dec 8 13:44:38 UTC 2023 - Dirk Müller
diff --git a/packages/p/python-tldextract/python-tldextract.spec b/packages/p/python-tldextract/python-tldextract.spec
index ac8ffd5b243..dd67a4e78be 100644
--- a/packages/p/python-tldextract/python-tldextract.spec
+++ b/packages/p/python-tldextract/python-tldextract.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-tldextract
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-tldextract
-Version: 5.1.1
+Version: 5.1.2
Release: 0
Summary: Python module to separate the TLD of a URL
License: BSD-3-Clause
@@ -38,6 +38,7 @@ BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
+BuildRequires: %{python_module syrupy}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -46,10 +47,9 @@ Requires: python-idna >= 2.1.0
Requires: python-requests >= 2.1.0
Requires: python-requests-file >= 1.4
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
Obsoletes: %{oldpython}-tldextract <= 2.0.1
BuildArch: noarch
-
%python_subpackages
%description
diff --git a/packages/p/python-tldextract/tldextract-5.1.1.tar.gz b/packages/p/python-tldextract/tldextract-5.1.1.tar.gz
deleted file mode 120000
index d3eaf56dcea..00000000000
--- a/packages/p/python-tldextract/tldextract-5.1.1.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreie3nw7yapfvmnrzp4bahvefihanvc5fhov26dukn7w2fwehi2at2q
\ No newline at end of file
diff --git a/packages/p/python-tldextract/tldextract-5.1.2.tar.gz b/packages/p/python-tldextract/tldextract-5.1.2.tar.gz
new file mode 120000
index 00000000000..d256f7a5429
--- /dev/null
+++ b/packages/p/python-tldextract/tldextract-5.1.2.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreigj4f7xk3yfv622xlae72hxm3t6od474od23mmft4hveqeo4bqcaa
\ No newline at end of file