# Maintainer: pkgname=nihtest pkgver=1.1.0 pkgrel=1 pkgdesc="Testing tool for command line utilities" url="https://github.com/nih-at/nihtest" arch="noarch" license="BSD-3-Clause" makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-doc $pkgname-pyc" source="https://nih.at/nihtest/nihtest-$pkgver.tar.gz" options="!check" # need some intricate setup with cmake.. build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl install -Dm644 manpages/nihtest-case.man \ "$pkgdir"/usr/share/man/man5/nihtest-case.5 install -Dm644 manpages/nihtest.conf.man \ "$pkgdir"/usr/share/man/man5/nihtest.conf.5 install -Dm644 manpages/nihtest.man \ "$pkgdir"/usr/share/man/man1/nihtest.1 } sha512sums=" af254724257845d99495505bddea8e2edd6ddd49d4f9d4d1169ebf142742cdf3756386d0153eb6a81552538e8deb7401f23fa2daf91946e7263be3ff82ce42d5 nihtest-1.1.0.tar.gz "