Files
guru/dev-python/dateparser/dateparser-0.7.4.ebuild
Maciej Barć e86799f243 dev-python/dateparser: add python3_8 impl compat
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-09-27 06:01:20 +02:00

35 lines
799 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
HOMEPAGE="https://github.com/scrapinghub/dateparser"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-4"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
)
"
RDEPEND="
dev-python/convertdate[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
"
distutils_enable_tests nose
distutils_enable_sphinx docs