diff --git a/srcpkgs/python-ansicolor/template b/srcpkgs/python-ansicolor/template new file mode 100644 index 00000000000..f94d8fccb6b --- /dev/null +++ b/srcpkgs/python-ansicolor/template @@ -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 " +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* + } +} diff --git a/srcpkgs/python3-ansicolor b/srcpkgs/python3-ansicolor new file mode 120000 index 00000000000..9a095f0d4cf --- /dev/null +++ b/srcpkgs/python3-ansicolor @@ -0,0 +1 @@ +python-ansicolor \ No newline at end of file