python-stem: pycrypto -> cryptography

"Moved from the deprecated pycrypto module to cryptography for
validating signatures." (see docs/change_log.rst)
This commit is contained in:
Alessio Sergi 2018-06-06 12:06:16 +02:00
parent 961e34acfd
commit b37f15a70f

View file

@ -1,13 +1,13 @@
# Template file for 'python-stem'
pkgname=python-stem
version=1.6.0
revision=1
revision=2
noarch=yes
wrksrc=stem-${version/b/}
build_style=python-module
pycompile_module="stem"
hostmakedepends="python-devel python3-devel"
depends="python-crypto"
depends="python-cryptography"
short_desc="Python2 controller library for Tor"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="LGPL-3"
@ -18,7 +18,7 @@ alternatives="stem:tor-prompt:/usr/bin/tor-prompt2"
python3-stem_package() {
noarch=yes
depends="python3-crypto"
depends="python3-cryptography"
pycompile_module="stem"
short_desc="${short_desc/Python2/Python3}"
alternatives="stem:tor-prompt:/usr/bin/tor-prompt3"