pentoo-overlay/dev-python/tldextract/tldextract-2.2.1-r1.ebuild
2019-07-21 18:47:19 +03:00

24 lines
689 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="${PYTHON_DEPS}
dev-python/idna[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-file[${PYTHON_USEDEP}]"
# https://github.com/john-kurkowski/tldextract#note-about-caching
PATCHES=( "${FILESDIR}/${P}_change_tldextract_cache_defaults.patch" )