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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:53:25 UTC 2020


    Date: Monday, November 9, 2020 @ 19:53:21
  Author: foutrelis
Revision: 748100

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rich/repos/community-staging-any/PKGBUILD (from rev 748099, python-rich/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:53:21 UTC (rev 748100)
@@ -0,0 +1,31 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+_name=rich
+pkgver=9.1.0
+pkgrel=2
+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' 'python-dephell')
+source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
+b2sums=('d1bc9b854b840125316d396bdff79476db8fe98e731cc2f2bc734236122c600e7133bbf4626c9fe1cbdf1aed6e4ac7b16a0af81fd24d8da302895c3fd0b8e3de')
+
+prepare() {
+  cd rich-${pkgver}
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+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