27 lines
750 B
Bash
27 lines
750 B
Bash
# Template file for 'python-ansicolor'
|
|
pkgname=python-ansicolor
|
|
version=0.2.4
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="ansicolor-${version}"
|
|
build_style=python-module
|
|
pycompile_module="ansicolor"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Library to produce ansi color output (Python2)"
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
homepage="https://github.com/numerodix/ansicolor"
|
|
license="Apache-2.0"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=f66c4e3446d419813de1bfd011f6dab3d96de9369388727fed434a63e7d8edbd
|
|
|
|
python3-ansicolor_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="ansicolor"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|