# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=py3-pathspec _pyname=pathspec pkgver=0.12.1 pkgrel=2 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 } package() { python3 -m installer -d "$pkgdir" \ .dist/pathspec-$pkgver-py3-none-any.whl } sha512sums=" 19d1a8ae5936e76eacd691b0e2fb33d0de376556751a9ae007f6b09d0aa36af7d171101df620cab3e93c9913be578ff3d6bba9d4460351ac248e5c9e015380ad py3-pathspec-0.12.1.tar.gz "