1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_6 )
11 DESCRIPTION="A Python wrapper around the RIPE Atlas API"
12 HOMEPAGE="https://atlas.ripe.net/"
13 SRC_URI="mirror://pypi/${PN:0:1}/ripe.atlas.cousteau/ripe.atlas.cousteau-${PV}.tar.gz"
19 RESTRICT="!test? ( test )"
21 S="${WORKDIR}/${MY_PN}-${PVR}"
23 DOCS=( CHANGES.rst README.rst )
26 >=dev-python/socketio-client-0.6.5[${PYTHON_USEDEP}]
27 >=dev-python/requests-2.7.0[${PYTHON_USEDEP}]
28 dev-python/python-dateutil[${PYTHON_USEDEP}]"
30 dev-python/setuptools[${PYTHON_USEDEP}]
33 dev-python/nose[${PYTHON_USEDEP}]
34 dev-python/jsonschema[${PYTHON_USEDEP}]
35 $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
38 nosetests --verbose || die "Tests failed with ${EPYTHON}"