[arch-commits] Commit in python-rich/repos/community-any (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Thu Aug 27 22:17:12 UTC 2020
Date: Thursday, August 27, 2020 @ 22:17:11
Author: freswa
Revision: 690105
archrelease: copy trunk to community-any
Added:
python-rich/repos/community-any/PKGBUILD
(from rev 690104, python-rich/trunk/PKGBUILD)
Deleted:
python-rich/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++--------------------------
1 file changed, 31 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-27 22:17:04 UTC (rev 690104)
+++ PKGBUILD 2020-08-27 22:17:11 UTC (rev 690105)
@@ -1,26 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Hao Long <imlonghao at archlinuxcn.org>
-
-pkgname=python-rich
-_name=rich
-pkgver=5.2.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-setuptools')
-source=("https://files.pythonhosted.org/packages/source/r/rich/rich-${pkgver}.tar.gz")
-b2sums=('a9ff2857c4e1174421257c40dbe82419015ec63977b34329525415d509ffa80de868b7562041543946dde1d37ed698ef4de0596f33a42fdc7716a2c1711f81f2')
-
-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 690104, python-rich/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-27 22:17:11 UTC (rev 690105)
@@ -0,0 +1,31 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at archlinuxcn.org>
+
+pkgname=python-rich
+_name=rich
+pkgver=6.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=('8d44bd8c2976532df0675307ed2ecbfdcd5c4d90561d05fbde23cd30e563ec6b4b9de98898e41750a2ec5b031c4b4fa656517100437cba2cce6a08b93a7f4ca5')
+
+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