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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:34:49 UTC 2019


    Date: Monday, November 4, 2019 @ 08:34:48
  Author: felixonmars
Revision: 523774

archrelease: copy trunk to community-staging-any

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

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

Copied: python-crayons/repos/community-staging-any/PKGBUILD (from rev 523773, python-crayons/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:34:48 UTC (rev 523774)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-crayons
+pkgver=0.3.0
+pkgrel=2
+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