[arch-commits] Commit in python-rich/repos (2 files)
Frederik Schwan
freswa at archlinux.org
Tue Mar 30 22:07:43 UTC 2021
Date: Tuesday, March 30, 2021 @ 22:07:43
Author: freswa
Revision: 910532
archrelease: copy trunk to community-testing-any
Added:
python-rich/repos/community-testing-any/
python-rich/repos/community-testing-any/PKGBUILD
(from rev 910531, python-rich/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-rich/repos/community-testing-any/PKGBUILD (from rev 910531, python-rich/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-03-30 22:07:43 UTC (rev 910532)
@@ -0,0 +1,25 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+pkgver=10.0.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-pip' 'python-poetry')
+source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
+b2sums=('3992282b72ea97a364df3ca67e10a90baadb36ff207f64edee7e11df957b078d4b2c67bf3485efb7dddd0b3e8c2d3ae87e1d9b4d063db91f30c1a9510f7da976')
+
+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