pentoo-overlay/dev-python/tldextract/tldextract-2.2.1.ebuild
2019-04-29 16:17:18 +08:00

21 lines
611 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains"
HOMEPAGE="https://github.com/john-kurkowski/tldextract"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/idna[${PYTHON_USEDEP}]
>=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
>=dev-python/requests-file-1.4[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"