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