Date: Thursday, April 8, 2021 @ 11:52:31 Author: freswa Revision: 913898
archrelease: copy trunk to community-any Added: python-rich/repos/community-any/PKGBUILD (from rev 913897, python-rich/trunk/PKGBUILD) Deleted: python-rich/repos/community-any/PKGBUILD ----------+ PKGBUILD | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-08 11:52:28 UTC (rev 913897) +++ PKGBUILD 2021-04-08 11:52:31 UTC (rev 913898) @@ -1,25 +0,0 @@ -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Hao Long <imlong...@archlinuxcn.org> - -pkgname=python-rich -pkgver=10.1.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=('880fe5354b41a8a2accf7dc0d2f80163b850a28d3f4bd10b9f06008f3059c6a46681b3a344289c031589eeaa6120c5cad4a03d2c25f7a440829ff21e3fe20d63') - -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 -} Copied: python-rich/repos/community-any/PKGBUILD (from rev 913897, python-rich/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-08 11:52:31 UTC (rev 913898) @@ -0,0 +1,26 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Hao Long <imlong...@archlinuxcn.org> + +pkgname=python-rich +pkgver=10.1.0 +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=('880fe5354b41a8a2accf7dc0d2f80163b850a28d3f4bd10b9f06008f3059c6a46681b3a344289c031589eeaa6120c5cad4a03d2c25f7a440829ff21e3fe20d63') + +build() { + cd rich-${pkgver} + poetry build --format wheel +} + +package() { + cd rich-${pkgver} + export PYTHONHASHSEED=0 + 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 +}