New package: python-sh-1.12.9

This commit is contained in:
pulux 2017-02-02 21:24:23 +01:00
parent 110eef79e2
commit 8b89aa136f
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'python-sh'
pkgname=python-sh
version=1.12.9
revision=1
wrksrc="${pkgname#*-}-${version}"
noarch=yes
build_style=python-module
pycompile_module="sh.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python subprocess replacement (Python2)"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="https://github.com/amoffat/sh"
distfiles="${PYPI_SITE}/s/sh/sh-${version}.tar.gz"
checksum=579aa19bae7fe86b607df1afaf4e8537c453d2ce3d84e1d3957e099359a51677
post_install() {
vlicense LICENSE.txt
}
python3-sh_package() {
depends="python3"
noarch=yes
pycompile="sh.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

1
srcpkgs/python3-sh Symbolic link
View File

@ -0,0 +1 @@
python-sh