diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/tld/tld-0.12.6.ebuild | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/tld/tld-0.12.6.ebuild')
-rw-r--r-- | dev-python/tld/tld-0.12.6.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/tld/tld-0.12.6.ebuild b/dev-python/tld/tld-0.12.6.ebuild new file mode 100644 index 000000000000..e969ca8f57ba --- /dev/null +++ b/dev-python/tld/tld-0.12.6.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Extract the top level domain (TLD) from the URL given" +HOMEPAGE="https://github.com/barseghyanartur/tld" +SRC_URI="https://github.com/barseghyanartur/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/Faker[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/--cov/d' pytest.ini || die +} |