From f625b9919a60a30f1bd860f7d1b2eac183ced593 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 8 Aug 2018 20:11:47 +0100 Subject: gentoo resync : 08.08.2018 --- dev-python/serverfiles/serverfiles-0.2.1.ebuild | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-python/serverfiles/serverfiles-0.2.1.ebuild (limited to 'dev-python/serverfiles/serverfiles-0.2.1.ebuild') diff --git a/dev-python/serverfiles/serverfiles-0.2.1.ebuild b/dev-python/serverfiles/serverfiles-0.2.1.ebuild new file mode 100644 index 000000000000..5c1263570932 --- /dev/null +++ b/dev-python/serverfiles/serverfiles-0.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6}) +inherit distutils-r1 + +DESCRIPTION="Utility for accessing HTTP server and storing files locally for reuse" +HOMEPAGE="https://github.com/biolab/serverfiles" +SRC_URI="https://github.com/biolab/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/requests-2.11.1[${PYTHON_USEDEP}]" +DEPEND="${DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test(){ + py.test -v || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3