Giovanni Harting pushed to branch main at Arch Linux / Packaging / Packages /
python-rich-click
Commits:
2a801f78 by Giovanni Harting at 2025-09-26T16:25:29+02:00
upgpkg: 1.9.1-1: upstream release
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + coverage.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,13 @@
pkgbase = python-rich-click
pkgdesc = Format click help output nicely with rich.
- pkgver = 1.8.9
+ pkgver = 1.9.1
pkgrel = 1
url = https://github.com/ewels/rich-click
arch = any
license = MIT
checkdepends = python-pytest
+ checkdepends = python-typer
+ checkdepends = python-inline-snapshot
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
@@ -16,7 +18,9 @@ pkgbase = python-rich-click
depends = python-typing_extensions
depends = python-rich
depends = python-importlib-metadata
- source = git+https://github.com/ewels/rich-click.git#tag=v1.8.9
- b2sums =
7e363dcf4becd5d0c3794aa55ddd47bdb738e861e138928e09634073f519a3b4cb6fe30070ee295224a3bbbd39b463c857d3cf6bef8fda6e4aa69857af16c7c7
+ source = git+https://github.com/ewels/rich-click.git#tag=v1.9.1
+ source = coverage.patch
+ b2sums =
2c3a9e21ccdb97d725a22891000aee84168543ad4b6fc0034960ce391d97ac48ec2a0ed10e2102f752013656be4af179c9c2b6bcbc34a2d8e7c5cce4c91b714b
+ b2sums =
ce76531f596c44b9da8b5ae0b462a9a41e1003f46a2b8b7141f75ae127e0c285dcf0ae4cc0655381f839c196f8097789e83c6f236c5661d8cf30b20c455329d8
pkgname = python-rich-click
=====================================
PKGBUILD
=====================================
@@ -2,17 +2,25 @@
pkgname=python-rich-click
_name=${pkgname#python-}
-pkgver=1.8.9
+pkgver=1.9.1
pkgrel=1
pkgdesc='Format click help output nicely with rich.'
arch=(any)
url='https://github.com/ewels/rich-click'
depends=(python python-click python-typing_extensions python-rich
python-importlib-metadata)
makedepends=(python-build python-installer python-wheel python-setuptools git)
-checkdepends=(python-pytest)
+checkdepends=(python-pytest python-typer python-inline-snapshot)
license=(MIT)
-source=(git+$url.git#tag=v$pkgver)
-b2sums=('7e363dcf4becd5d0c3794aa55ddd47bdb738e861e138928e09634073f519a3b4cb6fe30070ee295224a3bbbd39b463c857d3cf6bef8fda6e4aa69857af16c7c7')
+source=(git+$url.git#tag=v$pkgver
+ coverage.patch)
+b2sums=('2c3a9e21ccdb97d725a22891000aee84168543ad4b6fc0034960ce391d97ac48ec2a0ed10e2102f752013656be4af179c9c2b6bcbc34a2d8e7c5cce4c91b714b'
+
'ce76531f596c44b9da8b5ae0b462a9a41e1003f46a2b8b7141f75ae127e0c285dcf0ae4cc0655381f839c196f8097789e83c6f236c5661d8cf30b20c455329d8')
+
+prepare() {
+ cd $_name
+ # patch pytest command line args for a newer version
+ patch -p1 <../coverage.patch
+}
build() {
cd $_name
=====================================
REUSE.toml
=====================================
@@ -17,6 +17,7 @@ path = [
"*.timer",
"*.desktop",
"*.hook",
+ "*.patch",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
=====================================
coverage.patch
=====================================
@@ -0,0 +1,13 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index f951637..941b13a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -118,7 +118,7 @@ lint.isort.lines-after-imports = 2
+ indent = 4
+
+ [tool.pytest.ini_options]
+-addopts = "-s -rP -v --showlocals --cov --cov-report term"
++addopts = "-s -rP -v --showlocals"
+ pythonpath = [ "tests", "src" ]
+ testpaths = [ "tests" ]
+
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-rich-click/-/commit/2a801f785930ebb81d301e090de2a740216897ce
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-rich-click/-/commit/2a801f785930ebb81d301e090de2a740216897ce
You're receiving this email because of your account on gitlab.archlinux.org.