From 6f81ac36fa31c067d9c79cfa61ec9a069f6c8b14 Mon Sep 17 00:00:00 2001 From: Joseph M LaFreniere Date: Sat, 24 Dec 2016 15:36:38 -0600 Subject: [PATCH] New package: python-ansicolor-0.2.4 (#5283) --- srcpkgs/python-ansicolor/template | 26 ++++++++++++++++++++++++++ srcpkgs/python3-ansicolor | 1 + 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/python-ansicolor/template create mode 120000 srcpkgs/python3-ansicolor 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