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

Frederik Schwan freswa at gemini.archlinux.org
Sun Jan 9 21:01:55 UTC 2022


    Date: Sunday, January 9, 2022 @ 21:01:54
  Author: freswa
Revision: 1098550

archrelease: copy trunk to community-testing-any

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

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

Copied: python-rich/repos/community-testing-any/PKGBUILD (from rev 1098549, python-rich/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-09 21:01:54 UTC (rev 1098550)
@@ -0,0 +1,25 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+pkgver=11.0.0
+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-pip' 'python-poetry')
+source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
+b2sums=('bd38f84a7e0623dc9474bdc369b452fc668cd4756f00f6dd1b185f95dffb3d55f6b95a7f6dfaed5ee1ec5f2d9514af6080835b9ffd010f150005b15afb761d97')
+
+build() {
+  cd rich-${pkgver}
+  poetry build --format wheel
+}
+
+package() {
+  cd rich-${pkgver}
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps dist/*.whl
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list