Files
guru/dev-python/tld/tld-0.13.2.ebuild
T

30 lines
651 B
Bash
Raw Normal View History

2026-10-17 20:48:19 +03:00
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
2026-10-31 12:33:56 +01:00
PYTHON_COMPAT=( python3_{13..14} )
2026-10-17 20:48:19 +03:00
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="
}