commit: 6c6afc2393a32e545b46bb4aa3dfdf014c4273b4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 15:24:38 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 22 15:27:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6afc23
dev-python/tld: Bump to 0.13.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tld/Manifest | 1 +
dev-python/tld/tld-0.13.1.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/dev-python/tld/Manifest b/dev-python/tld/Manifest
index 54d915d2e989..1f96d2ed0cf4 100644
--- a/dev-python/tld/Manifest
+++ b/dev-python/tld/Manifest
@@ -1 +1,2 @@
+DIST tld-0.13.1.gh.tar.gz 459349 BLAKE2B
5b32729ee5b6fbb45d94091d88a6c351952b2fc3dd530e341eb54302a4f5d642858c56c226f3e48dd2c5b83ed8742fa06b6901f7b45921ea6aa7618882f64413
SHA512
5b4dbf8cdb88e62d9da6f7b084d76497637a6d144a452c749c37b6a845133ec1aeb288d599072488f59193ab21bb303a2baf4f502cd10e4b5e00db71a35ac3cd
DIST tld-0.13.gh.tar.gz 443877 BLAKE2B
9f84307ce704500096dd2abff75ead534dbd17b59ea0d3dae84394b791aeee873638e6e224ddd3b5c598293a46ead964ae36022b0c3c7411de7c64096d0c69cc
SHA512
87157ca2fc8977a96f6289269015bc5a90f3f033fb8ea96552eb8d00d05a346d8f3c61123a311803aa301c735a510a2c0986364f3b2ae4366e2c34aea15b538d
diff --git a/dev-python/tld/tld-0.13.1.ebuild b/dev-python/tld/tld-0.13.1.ebuild
new file mode 100644
index 000000000000..4e3e72180812
--- /dev/null
+++ b/dev-python/tld/tld-0.13.1.ebuild
@@ -0,0 +1,42 @@
+# 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_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Extract the top level domain (TLD) from the URL given"
+HOMEPAGE="
+ https://github.com/barseghyanartur/tld/
+ https://pypi.org/project/tld/
+"
+SRC_URI="
+ https://github.com/barseghyanartur/tld/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/fake-py[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ # remove pytest-codeblock nonsense
+ rm conftest.py || die
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -o addopts=
+}