# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=py3-pathspec _pyname=pathspec pkgver=0.11.2 pkgrel=0 pkgdesc="Utility library for gitignore style pattern matching of file paths" url="https://github.com/cpburnz/python-path-specification" license="MPL-2.0" arch="noarch" depends="python3" makedepends="py3-flit-core py3-gpep517" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m unittest discover tests } package() { python3 -m installer -d "$pkgdir" \ .dist/pathspec-$pkgver-py3-none-any.whl } sha512sums=" bb1a178db145fee8011f579fb3a87564245e94b22adfac42bda921d8e2b95cab32617379e22d8ec2bd6aa7e6f9d96c10df4503e638aabfe6b358050912ab98a8 py3-pathspec-0.11.2.tar.gz "