[arch-commits] Commit in python-crayons/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Oct 20 06:14:16 UTC 2019
Date: Sunday, October 20, 2019 @ 06:14:13
Author: felixonmars
Revision: 517634
archrelease: copy trunk to community-testing-any
Added:
python-crayons/repos/community-testing-any/
python-crayons/repos/community-testing-any/PKGBUILD
(from rev 517633, python-crayons/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-crayons/repos/community-testing-any/PKGBUILD (from rev 517633, python-crayons/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2019-10-20 06:14:13 UTC (rev 517634)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-crayons
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='TextUI colors for Python'
+arch=('any')
+license=('MIT')
+url='https://github.com/kennethreitz/crayons'
+depends=('python-colorama')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kennethreitz/crayons/archive/v$pkgver.tar.gz")
+sha512sums=('45f149f53a1f1b251bf4309b593dbb84986bc7a73b003306d99bef74dcef11e59c5f2b3a06843227afddbac131afe5f157be907c263b53c6a4f15eb7d968f054')
+
+build() {
+ cd crayons-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd crayons-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ # install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list