Achill Gilgenast b01c471c95
*/*: update my email address
- Remove all contributor lines

- Move to maintainer variable

- Add myself to .mailmap
2025-08-08 21:56:10 +02:00

43 lines
1001 B
Plaintext

maintainer="Achill Gilgenast <achill@achill.org>"
pkgname=py3-findpython
pkgver=0.7.0
pkgrel=1
pkgdesc="Utility to find python versions on your system"
url="https://github.com/frostming/findpython/"
arch="all"
license="MIT"
depends="
py3-packaging
py3-platformdirs
"
makedepends="
py3-gpep517
py3-pdm-backend
py3-setuptools
py3-wheel
"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/frostming/findpython/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/findpython-$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
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
1e9ea0c53d818f4b091f4713adbd84d37d03fbb326ad12120bcca114a8d38dd698d71dad42336291f48ecdde0bffc3c28b1b8e901d3819d33b2f2f33349207be py3-findpython-0.7.0.tar.gz
"