[arch-commits] Commit in python-rich/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 11:36:26 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:36:26
Author: foutrelis
Revision: 1059223
archrelease: copy trunk to community-staging-any
Added:
python-rich/repos/community-staging-any/
python-rich/repos/community-staging-any/PKGBUILD
(from rev 1059222, python-rich/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-rich/repos/community-staging-any/PKGBUILD (from rev 1059222, python-rich/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:36:26 UTC (rev 1059223)
@@ -0,0 +1,25 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+pkgver=10.15.1
+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-pip' 'python-poetry')
+source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
+b2sums=('e91a9d168d88c1d8db4b0901809c4da29d32b2dd582b0a7584a2f20cc60ff4418a95e593c9085babb948c0ffb4568da3b752e60d36adfc85ee704d7dd4dfc7e7')
+
+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