[arch-commits] Commit in python-rich/repos (2 files)
Frederik Schwan
freswa at archlinux.org
Sat Mar 27 23:34:17 UTC 2021
Date: Saturday, March 27, 2021 @ 23:34:17
Author: freswa
Revision: 905784
archrelease: copy trunk to community-testing-any
Added:
python-rich/repos/community-testing-any/
python-rich/repos/community-testing-any/PKGBUILD
(from rev 905783, python-rich/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-rich/repos/community-testing-any/PKGBUILD (from rev 905783, python-rich/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-03-27 23:34:17 UTC (rev 905784)
@@ -0,0 +1,30 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+pkgver=10.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-setuptools' 'python-dephell')
+source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
+b2sums=('2604bf6a3bd57a9465fc2a001b497ff7f0afe83953d42fa8e5d9c0edfeadb0992503e2cf91cea30f177a641ebb3bb94d669945b601c88e5e796a107a08792e2f')
+
+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