# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PV_COMMIT="c92f510520ffb32374dc35298e2c865644f1d691" inherit distutils-r1 DESCRIPTION="a command line client to manage the privacyIDEA server" HOMEPAGE="https://www.privacyidea.org/" SRC_URI="https://github.com/privacyidea/${PN}/archive/${PV_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="" S=${WORKDIR}/${PN}-${PV_COMMIT} DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}]" RDEPEND="dev-python/cffi[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*') dev-python/python-yubico[${PYTHON_USEDEP}] dev-python/pyusb[${PYTHON_USEDEP}] dev-python/qrcode[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}]" src_prepare(){ rm -rf tests emake man eapply_user }