1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{5,6})
9 DESCRIPTION="Utility for accessing HTTP server and storing files locally for reuse"
10 HOMEPAGE="https://github.com/biolab/serverfiles"
11 SRC_URI="https://github.com/biolab/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
17 RESTRICT="!test? ( test )"
19 RDEPEND=">=dev-python/requests-2.11.1[${PYTHON_USEDEP}]"
21 dev-python/setuptools[${PYTHON_USEDEP}]
22 dev-python/setuptools_scm[${PYTHON_USEDEP}]
23 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
26 py.test -v || die "Tests fail with ${EPYTHON}"