unitas/www-apps/privacyideaadm/privacyideaadm-2.23.5.ebuild

39 lines
951 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( 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-2.0[${PYTHON_USEDEP}]"
RDEPEND="dev-python/cffi[${PYTHON_USEDEP}]
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
}