dev-python/tld: Bump to 0.13.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-22 17:24:38 +02:00
parent 7343a86e4a
commit 6c6afc2393
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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=
}