Date: Tuesday, October 27, 2020 @ 13:54:47 Author: freswa Revision: 734417
archrelease: copy trunk to community-any Added: python-rich/repos/community-any/PKGBUILD (from rev 734416, python-rich/trunk/PKGBUILD) Deleted: python-rich/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-27 13:54:44 UTC (rev 734416) +++ PKGBUILD 2020-10-27 13:54:47 UTC (rev 734417) @@ -1,34 +0,0 @@ -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Hao Long <imlong...@archlinuxcn.org> - -pkgname=python-rich -_name=rich -pkgver=9.0.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-setuptools' 'python-dephell') -source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz" - "https://github.com/willmcgugan/rich/commit/cbac633ab30f3b3e4e836ff87a3a88a28bffca48.patch") -b2sums=('03304eab96beb683833efcacf3b15548d23850210bb06275fab78b8e76e4351f0b2d5e00e87ea8c4c3d8281a050c63ad636e214ce38b11d3906641071163bd46' - '9a7e358673c9c051f040beb96b5a85ac4718f7bc9ff820c04ebee7c84b0646361096c439b4fc86e91d67af31017a25dd6d1103f5f7657e545b86b89b85a6b65c') - -prepare() { - cd rich-${pkgver} - patch -Np1 < ../cbac633ab30f3b3e4e836ff87a3a88a28bffca48.patch - 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 -} Copied: python-rich/repos/community-any/PKGBUILD (from rev 734416, python-rich/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-27 13:54:47 UTC (rev 734417) @@ -0,0 +1,31 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Hao Long <imlong...@archlinuxcn.org> + +pkgname=python-rich +_name=rich +pkgver=9.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-setuptools' 'python-dephell') +source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz") +b2sums=('d1bc9b854b840125316d396bdff79476db8fe98e731cc2f2bc734236122c600e7133bbf4626c9fe1cbdf1aed6e4ac7b16a0af81fd24d8da302895c3fd0b8e3de') + +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 +}