34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Template file for 'python-stormssh'
|
|
pkgname=python-stormssh
|
|
version=0.7.0
|
|
revision=2
|
|
archs=noarch
|
|
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=c2e5da1cb4a27b309ed7e470c5acebe2822f7928c5ef0e38f9dade247cf9a6c6
|
|
alternatives="stormssh:storm:/usr/bin/storm2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-stormssh_package() {
|
|
archs=noarch
|
|
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
|
|
}
|
|
}
|