[arch-commits] Commit in python-termcolor/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 24 11:29:25 UTC 2016


    Date: Saturday, December 24, 2016 @ 11:29:25
  Author: bpiotrowski
Revision: 201454

archrelease: copy trunk to community-staging-any

Added:
  python-termcolor/repos/community-staging-any/
  python-termcolor/repos/community-staging-any/PKGBUILD
    (from rev 201453, python-termcolor/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-termcolor/repos/community-staging-any/PKGBUILD (from rev 201453, python-termcolor/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-24 11:29:25 UTC (rev 201454)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Tim Hatch <tim at timhatch.com>
+
+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"
+}



More information about the arch-commits mailing list