[arch-commits] Commit in python-rich/repos (2 files)
Frederik Schwan
freswa at gemini.archlinux.org
Fri Mar 11 00:12:36 UTC 2022
Date: Friday, March 11, 2022 @ 00:12:36
Author: freswa
Revision: 1146253
archrelease: copy trunk to community-testing-any
Added:
python-rich/repos/community-testing-any/
python-rich/repos/community-testing-any/PKGBUILD
(from rev 1146252, python-rich/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-rich/repos/community-testing-any/PKGBUILD (from rev 1146252, python-rich/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-03-11 00:12:36 UTC (rev 1146253)
@@ -0,0 +1,25 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+pkgver=12.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=('b9f7761ab1084765f804fd22f9fb18e659f91b917bb452217752683f6d61320d2703eee28de3be3bd70009fc06d04165528393c4c0ec32a49b1dc7e94989a224')
+
+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