From 7070da83e6a9742effc1c3ac85c3e8bed8f01602 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 11 Apr 2018 20:44:50 +0000 Subject: python-termcolor: dep of python-pytest-plugins --- abs/core/python_modules/python-termcolor/PKGBUILD | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 abs/core/python_modules/python-termcolor/PKGBUILD diff --git a/abs/core/python_modules/python-termcolor/PKGBUILD b/abs/core/python_modules/python-termcolor/PKGBUILD new file mode 100644 index 0000000..bced757 --- /dev/null +++ b/abs/core/python_modules/python-termcolor/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Tim Hatch + +pkgbase=python-termcolor +pkgname=('python-termcolor' 'python2-termcolor') +pkgver=1.1.0 +pkgrel=5 +pkgdesc="ANSII Color formatting for output in terminal" +arch=('any') +license=('GPL') +url="http://pypi.python.org/pypi/termcolor" +makedepends=('python' 'python2') +source=(https://pypi.python.org/packages/source/t/termcolor/termcolor-$pkgver.tar.gz) +sha256sums=('1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b') + +package_python-termcolor() { + depends=('python') + + cd "$srcdir"/termcolor-$pkgver + python setup.py install --root="$pkgdir" +} + +package_python2-termcolor() { + depends=('python2') + + cd "$srcdir"/termcolor-$pkgver + python2 setup.py install --root="$pkgdir" +} -- cgit v0.12