8ddd61d984
[ci skip]
30 lines
913 B
Bash
30 lines
913 B
Bash
# Template file for 'python-stem'
|
|
pkgname=python-stem
|
|
version=1.7.1
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="stem-${version/b/}"
|
|
build_style=python-module
|
|
pycompile_module="stem"
|
|
hostmakedepends="python-devel python3-devel"
|
|
depends="python-cryptography"
|
|
short_desc="Python2 controller library for Tor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3"
|
|
homepage="https://stem.torproject.org/"
|
|
changelog="https://stem.torproject.org/change_log.html#version-1-7"
|
|
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.gz"
|
|
checksum=c9eaf3116cb60c15995cbd3dec3a5cbc50e9bb6e062c4d6d42201e566f498ca2
|
|
alternatives="stem:tor-prompt:/usr/bin/tor-prompt2"
|
|
|
|
python3-stem_package() {
|
|
archs=noarch
|
|
depends="python3-cryptography"
|
|
pycompile_module="stem"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="stem:tor-prompt:/usr/bin/tor-prompt3"
|
|
pkg_install() {
|
|
vmove usr/bin/tor-prompt3
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|