33 lines
864 B
Bash
33 lines
864 B
Bash
# Template file for 'python-termcolor'
|
|
pkgname=python-termcolor
|
|
version=1.1.0
|
|
revision=5
|
|
noarch=yes
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://pypi.python.org/pypi/termcolor"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/t/termcolor/termcolor-${version}.tar.gz"
|
|
checksum=1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt LICENSE
|
|
}
|
|
|
|
python3-termcolor_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="termcolor.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.txt LICENSE
|
|
}
|
|
}
|