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

Pierre Neidhardt ambrevar at archlinux.org
Wed Nov 1 21:16:26 UTC 2017


    Date: Wednesday, November 1, 2017 @ 21:16:25
  Author: ambrevar
Revision: 265061

archrelease: copy trunk to community-any

Added:
  python-colorlog/repos/community-any/
  python-colorlog/repos/community-any/PKGBUILD
    (from rev 265060, python-colorlog/trunk/PKGBUILD)

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

Copied: python-colorlog/repos/community-any/PKGBUILD (from rev 265060, python-colorlog/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-11-01 21:16:25 UTC (rev 265061)
@@ -0,0 +1,32 @@
+# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: mdraw.gh at gmail dot com
+
+pkgbase='python-colorlog'
+pkgname=('python-colorlog' 'python2-colorlog')
+pkgver='3.1.0'
+pkgrel=1
+pkgdesc="Log formatting with colors"
+arch=('any')
+url='https://github.com/borntyping/python-colorlog'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/borntyping/python-colorlog/archive/v$pkgver.tar.gz")
+sha256sums=('e766265cf249947f1690d5d7f4fe566a2d48a86640f6777374671aa05f6214b8')
+
+package_python-colorlog() {
+	depends=('python')
+	conflicts=('python-colorlog-git')
+
+	cd "$srcdir/$pkgbase-$pkgver"
+	python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+	install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgbase/LICENSE"
+}
+
+package_python2-colorlog() {
+	depends=('python2')
+	conflicts=('python2-colorlog-git')
+
+	cd "$srcdir/$pkgbase-$pkgver"
+	python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+	install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgbase/LICENSE"
+}


More information about the arch-commits mailing list