python-stem: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:31:31 +07:00
parent d5f4d024cc
commit 8f05f13167
3 changed files with 16 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-stem'
pkgname=python-stem
version=1.8.0
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.0-or-later"
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=a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2
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*
}
}

View file

@ -1 +0,0 @@
python-stem

View file

@ -0,0 +1,16 @@
# Template file for 'python3-stem'
pkgname=python3-stem
version=1.8.0
revision=2
wrksrc="stem-${version/b/}"
build_style=python3-module
hostmakedepends="python3-devel"
depends="python3-cryptography"
short_desc="Python3 controller library for Tor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
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=a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2
conflicts="python-stem>=0"