2020-09-08 16:56:41 +02:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
2022-08-12 18:34:13 +02:00
|
|
|
PYTHON_COMPAT=( python3_{5,6,7,8} )
|
2020-09-08 16:56:41 +02:00
|
|
|
|
|
|
|
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="virtual/python-cffi[${PYTHON_USEDEP}]
|
|
|
|
dev-python/flask-script[${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
|
|
|
|
}
|