void-packages/srcpkgs/python-stormssh/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

34 lines
1 KiB
Bash

# Template file for 'python-stormssh'
pkgname=python-stormssh
version=0.6.9
revision=3
noarch=yes
wrksrc=storm-${version}
build_style=python-module
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)"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="https://github.com/emre/storm"
distfiles="https://github.com/emre/storm/archive/${version}.tar.gz"
checksum=29c20e4ed27604a7cdf2f77fe97d861100d87c0dbaa9ecf6628cf9da917e98ce
alternatives="stormssh:storm:/usr/bin/storm2"
post_install() {
vlicense LICENSE
}
python3-stormssh_package() {
noarch=yes
depends="python3-setuptools python3-six python3-paramiko python3-termcolor python3-Flask"
pycompile_module="storm"
short_desc="${short_desc/Python2/Python3}"
alternatives="stormssh:storm:/usr/bin/storm3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}