python-stem: fix bin script and short_desc of python3.4 version
This commit is contained in:
parent
28abdc5435
commit
5976d9de25
1 changed files with 12 additions and 7 deletions
|
@ -1,29 +1,34 @@
|
||||||
# Template file for 'python-stem'
|
# Template file for 'python-stem'
|
||||||
pkgname=python-stem
|
pkgname=python-stem
|
||||||
version=1.4.1b
|
version=1.4.1b
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc=stem-${version/b/}
|
wrksrc=stem-${version/b/}
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
pycompile_module="stem"
|
pycompile_module="stem"
|
||||||
hostmakedepends="python python3.4"
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
depends="python python-crypto"
|
depends="python-crypto"
|
||||||
short_desc="A python controller library for tor"
|
short_desc="Python2 controller library for Tor"
|
||||||
maintainer="Michael Gehring <mg@ebfe.org>"
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
license="LGPL-3"
|
license="LGPL-3"
|
||||||
homepage="https://stem.torproject.org/"
|
homepage="https://stem.torproject.org/"
|
||||||
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.bz2"
|
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.bz2"
|
||||||
checksum=475ba00120d571bd959d7ef24e45c4c698bb568c9321043eb7a10c1f6e554325
|
checksum=475ba00120d571bd959d7ef24e45c4c698bb568c9321043eb7a10c1f6e554325
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vbin build-3.4/scripts-3.4/tor-prompt tor-prompt3.4
|
||||||
|
}
|
||||||
|
|
||||||
python3.4-stem_package() {
|
python3.4-stem_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4 python3.4-crypto"
|
depends="python3.4-crypto"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="stem"
|
pycompile_module="stem"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove /usr/lib/python3.4
|
vmove usr/bin/tor-prompt3.4
|
||||||
vbin ${DESTDIR}/usr/bin/tor-prompt tor-prompt3.4
|
vmove usr/lib/python3.4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue