# Maintainer: Pawel Krawczyk # https://wiki.archlinux.org/title/Python_package_guidelines pkgname=python-sigstore _name=${pkgname#python-} pkgver=2.0.1 pkgrel=1 pkgdesc="sigstore is a tool for signing and verifying Python package distributions." arch=('any') url='https://pypi.org/project/sigstore/' license=('Apache') depends=(python python-requests python-pydantic python-pyopenssl python-securesystemslib python-pyjwt) makedepends=(python-flit-core python-build python-installer python-wheel) checkdepends=(python) source=(https://github.com/sigstore/sigstore-python/archive/refs/tags/v${pkgver}.tar.gz) b2sums=(db055baeeeb07a8616a28bc9b2d71c2f9d043de63d03c7373142b8c9ec45bc58889897f51e4d36fd790f8171022788ca289d405c6b1b4618ce84b6e19f2dbe80) build() { cd "sigstore-python-$pkgver" python -m build --wheel --no-isolation } check() { cd "sigstore-python-$pkgver" #pytest } package() { cd "sigstore-python-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }