python-termcolor: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:23:29 +07:00
parent 8526ca969b
commit b40f696372
3 changed files with 19 additions and 33 deletions

View file

@ -1,32 +0,0 @@
# Template file for 'python-termcolor'
pkgname=python-termcolor
version=1.1.0
revision=6
archs=noarch
wrksrc="termcolor-${version}"
build_style=python-module
hostmakedepends="python-devel python3-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="termcolor.py"
short_desc="Python2 ANSII Color formatting for output in terminal"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://pypi.org/project/termcolor/"
license="MIT"
distfiles="${PYPI_SITE}/t/termcolor/termcolor-${version}.tar.gz"
checksum=1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
post_install() {
vlicense COPYING.txt LICENSE
}
python3-termcolor_package() {
archs=noarch
depends="python3"
pycompile_module="termcolor.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING.txt LICENSE
}
}

View file

@ -1 +0,0 @@
python-termcolor

View file

@ -0,0 +1,19 @@
# Template file for 'python3-termcolor'
pkgname=python3-termcolor
version=1.1.0
revision=7
wrksrc="termcolor-${version}"
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="${hostmakedepends}"
depends="python3"
short_desc="Python3 ANSII Color formatting for output in terminal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://pypi.org/project/termcolor/"
distfiles="${PYPI_SITE}/t/termcolor/termcolor-${version}.tar.gz"
checksum=1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
post_install() {
vlicense COPYING.txt LICENSE
}