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

Frederik Schwan freswa at archlinux.org
Sat Aug 22 23:09:11 UTC 2020


    Date: Saturday, August 22, 2020 @ 23:09:11
  Author: freswa
Revision: 686898

archrelease: copy trunk to community-any

Added:
  python-rich/repos/community-any/
  python-rich/repos/community-any/PKGBUILD
    (from rev 686897, python-rich/trunk/PKGBUILD)

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

Copied: python-rich/repos/community-any/PKGBUILD (from rev 686897, python-rich/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-08-22 23:09:11 UTC (rev 686898)
@@ -0,0 +1,26 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+_name=rich
+pkgver=5.2.1
+pkgrel=1
+pkgdesc='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal'
+arch=(any)
+url='https://github.com/willmcgugan/rich'
+license=('MIT')
+depends=('python-colorama' 'python-pygments' 'python-typing_extensions' 'python-commonmark')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/r/rich/rich-${pkgver}.tar.gz")
+b2sums=('a9ff2857c4e1174421257c40dbe82419015ec63977b34329525415d509ffa80de868b7562041543946dde1d37ed698ef4de0596f33a42fdc7716a2c1711f81f2')
+
+build() {
+  cd rich-${pkgver}
+  python3 setup.py build
+}
+
+package() {
+  cd rich-${pkgver}
+  python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list