commit: 6151ecf80b974dd70fca3dd00855f496b5e9dfe6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 23 05:24:40 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 23 05:33:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6151ecf8
dev-python/tldextract: Bump to 5.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tldextract/Manifest | 1 +
dev-python/tldextract/tldextract-5.3.0.ebuild | 45 +++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest
index 61d58e34dbe6..44e91161c5a6 100644
--- a/dev-python/tldextract/Manifest
+++ b/dev-python/tldextract/Manifest
@@ -1,2 +1,3 @@
DIST tldextract-5.1.3.tar.gz 125033 BLAKE2B
b2557ae29cf049c06bb3b520f11e47e174d23709de7d785cbd78ac184e14635ab9923f9390633246c6342c6c040333bc4cc4dc06d09f0e64a7fbcaefbac9ccc5
SHA512
be10b4a6f227af9249f59c3b810a2ba08efb45ca18bbd9cef3f554671bc665ba596d7ee3f2bbfa789dacca6fc4b09c9178e9f658f7c920f8667566652ee5624f
DIST tldextract-5.2.0.tar.gz 126839 BLAKE2B
a8560b381e2969ad7161949a1820b3b55ebe5fc74c9cf15ea1ff5ecd9f4245c2a33e7cdeb0b4033e5b6474eed961d3737b5271e45e974a9285aeb31652b4962d
SHA512
574146034076280dd524ef33530471d14485e3602fe3b1ce06c72ecea4f99918efee25cc8f26e6809244e053c084d0f37ca4477348400be67f13da68448aebbe
+DIST tldextract-5.3.0.tar.gz 128502 BLAKE2B
36579f832c508283fc78c514d9274659d5f55b2d60f3af93a686d9470fc8e8473f30e3404dda15f6e0dd4a0020b841e98eaf3506feeeb591ed1c27d7b2b45185
SHA512
8745464464355be830f30ee4a694ede58f3e6ee3339c38d32e2cdca4c5cffb5178b64f8c463d0c824034ea1c0b3eefd42e5b1dd694fa8971771444c34f4c01f5
diff --git a/dev-python/tldextract/tldextract-5.3.0.ebuild
b/dev-python/tldextract/tldextract-5.3.0.ebuild
new file mode 100644
index 000000000000..83b32d3ca664
--- /dev/null
+++ b/dev-python/tldextract/tldextract-5.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Accurately separate the TLD from the registered domain and
subdomains of a URL"
+HOMEPAGE="
+ https://github.com/john-kurkowski/tldextract/
+ https://pypi.org/project/tldextract/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}]
+ dev-python/idna[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-file-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # we don't need release tests, also deps
+ tests/test_release.py
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_mock
+}