New package: python-ansicolor-0.2.4 (#5283)

This commit is contained in:
Joseph M LaFreniere 2016-12-24 15:36:38 -06:00 committed by Alessio Sergi
parent f456a956e6
commit 6f81ac36fa
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# 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*
}
}

1
srcpkgs/python3-ansicolor Symbolic link
View File

@ -0,0 +1 @@
python-ansicolor