summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-26 15:15:56 +0200
committerMichał Górny <mgorny@gentoo.org>2017-03-26 15:17:32 +0200
commit604b7f9e23649d71f74552986adac6aaa39aa29b (patch)
tree7d0e6015fb8aa623a64aa815bc80498c3bb77124 /net-p2p/bittornado
parentapp-editors/emacs-vcs: Add missing local variable declaration. (diff)
downloadgentoo-604b7f9e23649d71f74552986adac6aaa39aa29b.tar.gz
gentoo-604b7f9e23649d71f74552986adac6aaa39aa29b.tar.bz2
gentoo-604b7f9e23649d71f74552986adac6aaa39aa29b.zip
net-p2p/bittornado: Add missing dev-python/pycrypto* dep, #611636
The package requires Crypto modules for encryption, and seems to work correctly both with dev-python/pycryptodome and dev-python/pycrypto.
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/bittornado-0.4.1_p20160925-r1.ebuild (renamed from net-p2p/bittornado/bittornado-0.4.1_p20160925.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-p2p/bittornado/bittornado-0.4.1_p20160925.ebuild b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r1.ebuild
index 6b50002cc3e2..88be5502c1d3 100644
--- a/net-p2p/bittornado/bittornado-0.4.1_p20160925.ebuild
+++ b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r1.ebuild
@@ -20,7 +20,11 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="test"
-RDEPEND=""
+RDEPEND="
+ || (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ )"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT}