From 1e91fef58eb2db2e70932095a695a34159ad35a9 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sat, 9 Jul 2016 14:36:24 -0300 Subject: [PATCH] New package: python-stormssh-0.6.9 (#4404) --- srcpkgs/python-stormssh/template | 36 ++++++++++++++++++++++++++++++++ srcpkgs/python3.4-stormssh | 1 + 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/python-stormssh/template create mode 120000 srcpkgs/python3.4-stormssh diff --git a/srcpkgs/python-stormssh/template b/srcpkgs/python-stormssh/template new file mode 100644 index 00000000000..3e471bba1fd --- /dev/null +++ b/srcpkgs/python-stormssh/template @@ -0,0 +1,36 @@ +# Template file for 'python-stormssh' +pkgname=python-stormssh +version=0.6.9 +revision=1 +wrksrc=storm-${version} +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-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 " +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" + +post_install() { + vlicense LICENSE +} + +python3.4-stormssh_package() { + noarch=yes + depends="python3.4-setuptools python3.4-six python3.4-paramiko python3.4-termcolor python3.4-Flask" + pycompile_version="3.4" + pycompile_module="storm" + short_desc="${short_desc/Python2/Python3.4}" + alternatives="stormssh:storm:/usr/bin/storm3.4" + pkg_install() { + vmove usr/bin/*3.4 + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-stormssh b/srcpkgs/python3.4-stormssh new file mode 120000 index 00000000000..ce8b3d005c1 --- /dev/null +++ b/srcpkgs/python3.4-stormssh @@ -0,0 +1 @@ +python-stormssh \ No newline at end of file