-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
30 lines (29 loc) · 913 Bytes
/
template
File metadata and controls
30 lines (29 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'python-stem'
pkgname=python-stem
version=1.7.1
revision=2
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*
}
}