1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_{6,7} )
9 DESCRIPTION="Python module to provide iteration for datetime object"
10 HOMEPAGE="https://github.com/kiorky/croniter https://pypi.org/project/croniter/"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~arm64 ~x86"
17 RESTRICT="!test? ( test )"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
21 dev-python/pytest[${PYTHON_USEDEP}]
22 dev-python/pytz[${PYTHON_USEDEP}]
24 RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
26 py.test -v src/croniter/tests || die "tests failed"