python-sh: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:59:18 +07:00
parent bb991bf484
commit ed08761388
3 changed files with 18 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# Template file for 'python-sh'
pkgname=python-sh
version=1.13.1
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
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=97a3d2205e3c6a842d87ebbc9ae93acae5a352b1bc4609b428d0fd5bb9e286a3
post_install() {
vlicense LICENSE.txt
}
python3-sh_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View File

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

View File

@ -0,0 +1,18 @@
# Template file for 'python3-sh'
pkgname=python3-sh
version=1.13.1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python subprocess replacement (Python3)"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="https://github.com/amoffat/sh"
distfiles="${PYPI_SITE}/s/sh/sh-${version}.tar.gz"
checksum=97a3d2205e3c6a842d87ebbc9ae93acae5a352b1bc4609b428d0fd5bb9e286a3
post_install() {
vlicense LICENSE.txt
}