# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 COMMIT="c73a1c7a87aa53d92106a0db16ebd23a89cfa080" PYTHON_COMPAT=( python2_7 python3_{5,6} ) inherit distutils-r1 DESCRIPTION="FOSS implementation of Symantec's VIP Access client" HOMEPAGE="https://github.com/dlenski/python-vipaccess" SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" IUSE="test" RESTRICT="test" # Makes real network requests. RDEPEND="dev-python/lxml[${PYTHON_USEDEP}] dev-python/oath[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" S="${WORKDIR}/${PN}-${COMMIT}" python_test() { nosetests -d -w tests || die }