1 |
commit: 3f383ad16296d1038d515b8cf69f46d2556ca140 |
2 |
Author: Johann Schmitz <ercpe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 4 07:20:34 2017 +0000 |
4 |
Commit: Johann Schmitz <ercpe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 07:21:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f383ad1 |
7 |
|
8 |
dev-python/yubiotp: Support both, pycrypto and pycryptodome (wrt #611620) |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.2 |
11 |
|
12 |
dev-python/yubiotp/yubiotp-0.2.1.ebuild | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/yubiotp/yubiotp-0.2.1.ebuild b/dev-python/yubiotp/yubiotp-0.2.1.ebuild |
16 |
index 7c09af08235..3b7f736ef7e 100644 |
17 |
--- a/dev-python/yubiotp/yubiotp-0.2.1.ebuild |
18 |
+++ b/dev-python/yubiotp/yubiotp-0.2.1.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=5 |
25 |
@@ -10,7 +10,7 @@ inherit eutils distutils-r1 |
26 |
MY_PN="YubiOTP" |
27 |
MY_P="${MY_PN}-${PV}" |
28 |
|
29 |
-DESCRIPTION="Python library for verifying YubiKey OTP tokens, both locally and through a Yubico web service" |
30 |
+DESCRIPTION="Library for verifying YubiKey OTP tokens, both locally and through a Yubico web service" |
31 |
HOMEPAGE="https://bitbucket.org/psagers/yubiotp" |
32 |
SRC_URI="mirror://pypi/Y/${MY_PN}/${MY_P}.tar.gz" |
33 |
|
34 |
@@ -23,7 +23,7 @@ IUSE="test" |
35 |
S="${WORKDIR}/${MY_P}" |
36 |
|
37 |
CDEPEND="dev-python/six[${PYTHON_USEDEP}] |
38 |
- dev-python/pycrypto[${PYTHON_USEDEP}]" |
39 |
+ || ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )" |
40 |
|
41 |
RDEPEND="${CDEPEND}" |
42 |
DEPEND="test? ( ${CDEPEND} )" |