python-stormssh: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 09:57:46 +02:00
parent 02e9b483a8
commit 96149c3a98
2 changed files with 18 additions and 12 deletions
srcpkgs

View file

@ -1,11 +1,11 @@
# Template file for 'python-stormssh'
pkgname=python-stormssh
version=0.6.9
revision=1
revision=2
noarch=yes
wrksrc=storm-${version}
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six python-paramiko python-termcolor python-Flask"
pycompile_module="storm"
short_desc="Manage your SSH like a boss (Python2)"
@ -14,23 +14,28 @@ license="MIT"
homepage="https://github.com/emre/storm"
distfiles="https://github.com/emre/storm/archive/${version}.tar.gz"
checksum=29c20e4ed27604a7cdf2f77fe97d861100d87c0dbaa9ecf6628cf9da917e98ce
noarch=yes
alternatives="stormssh:storm:/usr/bin/storm2.7"
alternatives="stormssh:storm:/usr/bin/storm2"
post_install() {
vlicense LICENSE
}
python3.4-stormssh_package() {
python3-stormssh_package() {
noarch=yes
depends="python3.4-setuptools python3.4-six python3.4-paramiko python3.4-termcolor python3.4-Flask"
pycompile_version="3.4"
depends="python3-setuptools python3-six python3-paramiko python3-termcolor python3-Flask"
pycompile_module="storm"
short_desc="${short_desc/Python2/Python3.4}"
alternatives="stormssh:storm:/usr/bin/storm3.4"
replaces="python3.4-stormssh>=0"
short_desc="${short_desc/Python2/Python3}"
alternatives="stormssh:storm:/usr/bin/storm3"
pkg_install() {
vmove usr/bin/*3.4
vmove usr/lib/python3.4
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-stormssh_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-stormssh>=${version}_${revision}"
}

1
srcpkgs/python3-stormssh Symbolic link
View file

@ -0,0 +1 @@
python-stormssh