[arch-commits] Commit in python-ansicolor/repos (community-any community-any/PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 27 07:44:10 UTC 2018


    Date: Thursday, December 27, 2018 @ 07:44:09
  Author: polyzen
Revision: 418482

archrelease: copy trunk to community-any

Added:
  python-ansicolor/repos/community-any/
  python-ansicolor/repos/community-any/PKGBUILD
    (from rev 418481, python-ansicolor/trunk/PKGBUILD)

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

Copied: python-ansicolor/repos/community-any/PKGBUILD (from rev 418481, python-ansicolor/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-12-27 07:44:09 UTC (rev 418482)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Darshit Shah <darnir at gmail.com>
+
+_name=ansicolor
+pkgname=python-ansicolor
+pkgver=0.2.6
+pkgrel=5
+pkgdesc='Library to produce ansi color output and colored highlighting and diffing'
+depends=('python')
+makedepends=('python-setuptools')
+arch=('any')
+url=https://github.com/numerodix/ansicolor
+license=('Apache')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('d17e1b07b9dd7ded31699fbca53ae6cd373584f9b6dcbc124d1f321ebad31f1d')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list