mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/yubiotp: Support both, pycrypto and pycryptodome (wrt #611620)
Package-Manager: Portage-2.3.3, Repoman-2.3.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
@@ -10,7 +10,7 @@ inherit eutils distutils-r1
|
||||
MY_PN="YubiOTP"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python library for verifying YubiKey OTP tokens, both locally and through a Yubico web service"
|
||||
DESCRIPTION="Library for verifying YubiKey OTP tokens, both locally and through a Yubico web service"
|
||||
HOMEPAGE="https://bitbucket.org/psagers/yubiotp"
|
||||
SRC_URI="mirror://pypi/Y/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
@@ -23,7 +23,7 @@ IUSE="test"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
CDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]"
|
||||
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="test? ( ${CDEPEND} )"
|
||||
|
||||
Reference in New Issue
Block a user