dev-python/tld - 0.13.2 (guru)

Search

Install

Install this version:

emerge -a =dev-python/tld-0.13.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/tld-0.13.2

Or alternatively:

emerge --autounmask-write -a =dev-python/tld-0.13.2

Package Information

Description:
Extracts the top level domain (TLD) from the URL given
Homepage:
https://github.com/barseghyanartur/tld
License:
|| ( MPL-1.1 GPL-2 LGPL-2.1+ )

Ebuild Details

Version EAPI Keywords Slot
0.13.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="Extracts the top level domain (TLD) from the URL given"
HOMEPAGE="https://github.com/barseghyanartur/tld"
SRC_URI="https://github.com/barseghyanartur/tld/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1+ )"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	test? (
		dev-python/fake[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	epytest --override-ini="addopts="
}

Inherited Eclasses

Dependencies

BDEPEND

	test? (
		dev-python/fake[]
	)

Manifest for 0.13.2

Type File Size Source URLs
DIST tld-0.13.2.tar.gz 464689 bytes https://github.com/barseghyanartur/tld/archive/refs/tags/0.13.2.tar.gz