mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-rich-click: upgrade to 1.7.1
This commit is contained in:
parent
aa7918086a
commit
3baa23de35
@ -1,7 +1,7 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=py3-rich-click
|
||||
pkgver=1.6.1
|
||||
pkgver=1.7.1
|
||||
pkgrel=0
|
||||
pkgdesc="Format click help output nicely with rich"
|
||||
url="https://github.com/ewels/rich-click"
|
||||
@ -17,9 +17,9 @@ makedepends="
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ewels/rich-click/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="!check" # No tests in releases
|
||||
builddir="$srcdir/rich-click-$pkgver"
|
||||
|
||||
build() {
|
||||
@ -28,11 +28,17 @@ build() {
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c04c4dc61856c4273fd88f47d85f6470d23a0ebc5f5cf0178108fc7bc0f2d5cb2bdc88943af07c6e2854d0bea357deef3fa5e6d190eff534c8134daf8348706f py3-rich-click-1.6.1.tar.gz
|
||||
1ec59fea129263a709ffa2b686089cd0c4098b92f5b731aa2c2b1fcdef07cfd92723b9727ac76a46a5c528863867825864b9383f0f9d7f96b7c26f5b37ba5228 py3-rich-click-1.7.1.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user