summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredponike2025-03-09 13:43:07 +0100
committerredponike2025-03-09 13:43:07 +0100
commit4582057540a0bdc779fcbf7f9c3a1be019d53424 (patch)
tree508af5b8be58ad3e534bcc01af96b56e5bc5e399
parentf7c24656523a7082377af82fafed4719cbb230f0 (diff)
downloadaur-4582057540a0bdc779fcbf7f9c3a1be019d53424.tar.gz
upgpkg: 1.8.7-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD34
2 files changed, 16 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6590d5e9874a..68667d4c595a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-rich-click
pkgdesc = Python module to format click help output nicely with Rich.
- pkgver = 1.8.6
+ pkgver = 1.8.7
pkgrel = 1
url = https://github.com/ewels/rich-click
arch = any
@@ -14,7 +14,7 @@ pkgbase = python-rich-click
depends = python-click
depends = python-rich
depends = python-typing_extensions
- source = python-rich-click-1.8.6.tar.gz::https://github.com/ewels/rich-click/archive/v1.8.6.tar.gz
- sha256sums = c86c0c2f19c285bde21d022027252202058460ef3e9404798b217acbda5732e1
+ source = python-rich-click-1.8.7.tar.gz::https://github.com/ewels/rich-click/archive/v1.8.7.tar.gz
+ sha256sums = 7aca19a6e1ca58de53425024f06fbe9bbbe209720f6a0b59424b5c78c8953311
pkgname = python-rich-click
diff --git a/PKGBUILD b/PKGBUILD
index 20336e10e330..0179b3fa043d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
-# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
+# Maintainer: redponike <proton (dot) me>
+# Contributor:: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
# Contributor: Carl Smedstad <carsme@archlinux.org>
# Contributor: GI Jack <GI_Jack@hackermail.com>\
pkgname=python-rich-click
_pkgname=${pkgname#python-}
-pkgver=1.8.6
+pkgver=1.8.7
pkgrel=1
pkgdesc="Python module to format click help output nicely with Rich."
-arch=(any)
+arch=('any')
url="https://github.com/ewels/rich-click"
-license=(MIT)
+license=('MIT')
depends=(
python
python-click
@@ -24,30 +25,21 @@ makedepends=(
)
checkdepends=(python-pytest)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('c86c0c2f19c285bde21d022027252202058460ef3e9404798b217acbda5732e1')
+sha256sums=('7aca19a6e1ca58de53425024f06fbe9bbbe209720f6a0b59424b5c78c8953311')
-_archive="$_pkgname-$pkgver"
build() {
- cd "$_archive"
-
- python -m build --wheel --no-isolation
+ cd "${_pkgname}-${pkgver}"
+ python -m build --wheel --no-isolation
}
check() {
- cd "$_archive"
-
- PYTHONPATH=src pytest -vv
-
- # Deselected tests invoke the program via subprocesses which I wasn't able to
- # get working in the build environment.
- # pytest --deselect tests/test_rich_click_cli.py
+ cd "${_pkgname}-${pkgver}"
+ PYTHONPATH=src pytest -vv
}
package() {
- cd "$_archive"
-
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+ cd "${_pkgname}-${pkgver}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}