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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:19:27 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:19:26
  Author: felixonmars
Revision: 753428

archrelease: copy trunk to community-staging-any

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

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

Copied: python-crayons/repos/community-staging-any/PKGBUILD (from rev 753426, python-crayons/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:19:26 UTC (rev 753428)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-crayons
+pkgver=0.4.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=('99656373876f33d4b63e1ed8859f3c88c17af2c2b0b0c82359504b78dc8454a5366ec0297d0baea306ed7a315334d4b3ec109d368d2c92a3aeca26dc68cc05a4')
+
+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