mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
Merge pull request #5665 from pulux/ptyhon-sh
New package: python-sh-1.12.9
This commit is contained in:
commit
b7053594db
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-sh/template
Normal file
31
srcpkgs/python-sh/template
Normal 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
1
srcpkgs/python3-sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-sh
|
Loading…
Add table
Reference in a new issue