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:
Johann Schmitz
2017-03-04 08:20:34 +01:00
parent 37e65bba34
commit 3f383ad162

View File

@@ -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} )"