# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-pep440 pkgver=0.1.2 pkgrel=2 pkgdesc="Checks whether version numbers are PEP440 compliant" url="https://github.com/Carreau/pep440" arch="noarch" license="MIT" depends="python3" makedepends="py3-gpep517 py3-flit-core" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/Carreau/pep440/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/pep440-$pkgver" options="!check" # no checks build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl } sha512sums=" d52c69fb15ec979c916620a4d07bd4625c2e9b3a0bc29464b35a1bc1ec76cccd6c9f5cbb2f989e578333c15d0f451c15aa3cfc4654290dedde48e6291f184cab py3-pep440-0.1.2.tar.gz "