[arch-commits] Commit in python-rich/repos/community-any (PKGBUILD PKGBUILD)

Frederik Schwan freswa at archlinux.org
Thu Oct 22 13:43:20 UTC 2020


    Date: Thursday, October 22, 2020 @ 13:43:20
  Author: freswa
Revision: 729137

archrelease: copy trunk to community-any

Added:
  python-rich/repos/community-any/PKGBUILD
    (from rev 729136, python-rich/trunk/PKGBUILD)
Deleted:
  python-rich/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 34 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-22 13:43:16 UTC (rev 729136)
+++ PKGBUILD	2020-10-22 13:43:20 UTC (rev 729137)
@@ -1,31 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Hao Long <imlonghao at archlinuxcn.org>
-
-pkgname=python-rich
-_name=rich
-pkgver=9.0.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' 'python-dephell')
-source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
-b2sums=('03304eab96beb683833efcacf3b15548d23850210bb06275fab78b8e76e4351f0b2d5e00e87ea8c4c3d8281a050c63ad636e214ce38b11d3906641071163bd46')
-
-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
-}

Copied: python-rich/repos/community-any/PKGBUILD (from rev 729136, python-rich/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-22 13:43:20 UTC (rev 729137)
@@ -0,0 +1,34 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Hao Long <imlonghao at 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
+}



More information about the arch-commits mailing list