backports/*: sync with 3.19 testing #278

Merged
ayakael merged 40 commits from 3.19-initial into edge 2023-11-24 22:35:29 +00:00
Showing only changes of commit c360ae7a79 - Show all commits

View file

@ -1,36 +0,0 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-hatch-fancy-pypi-readme
_pkgname=${pkgname/py3-/}
pkgver=23.1.0
pkgrel=1
pkgdesc="Fancy PyPI READMEs with Hatch"
url="https://github.com/hynek/hatch-fancy-pypi-readme"
arch="noarch"
license="MIT"
makedepends="py3-gpep517 py3-installer py3-hatchling py3-hatch-vcs"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/hynek/hatch-fancy-pypi-readme/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--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 -k 'not test_end_to_end.py'
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
a26b8205877815292c7c65380f3fff43a3222ec5044556a29fb0b570f0822b548f8f4403cb6a800044671692806b257ecee5f9ec0f3efb597e9a5780a8885424 py3-hatch-fancy-pypi-readme-23.1.0.tar.gz
"