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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 15:45:49 UTC 2018


    Date: Saturday, June 30, 2018 @ 15:45:49
  Author: felixonmars
Revision: 348297

archrelease: copy trunk to community-staging-any

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

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

Copied: python-termcolor/repos/community-staging-any/PKGBUILD (from rev 348296, python-termcolor/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 15:45:49 UTC (rev 348297)
@@ -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=6
+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