# Maintainer: pkgname=pipx pkgver=1.2.0 pkgrel=1 pkgdesc="Install and Run Python Applications in Isolated Environments" url="https://github.com/pypa/pipx" arch="noarch" license="MIT" depends=" py3-argcomplete py3-colorama py3-packaging py3-platformdirs py3-userpath " makedepends=" py3-gpep517 py3-hatchling " checkdepends=" py3-pytest " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pipx/archive/refs/tags/$pkgver.tar.gz" options="!check" # need some packages that i'm not sure of 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 -p no:warnings } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 3563b986ecb80a57dab6a811f3c9d952f50647b530ceacdb4103bcc16f14b53602040b102830354c3b9a3518e095045a6e3bfd8fc5499cf25b6061d30b19cd6c pipx-1.2.0.tar.gz "