# Contributor: Leo # Maintainer: Bart Ribbers pkgname=py3-path pkgver=16.7.1 pkgrel=0 pkgdesc="Module wrapper for os.path" url="https://github.com/jaraco/path" arch="noarch" license="MIT" depends="python3" makedepends="py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/jaraco/path/archive/v$pkgver/path-v$pkgver.tar.gz" builddir="$srcdir/path-$pkgver" build() { export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/path*.whl } sha512sums=" f39fef10fe1f30cc11534855bc4775e8bf5b43930770f4dbf3c6815db8ad3121671ba97b892479a5a5c8f4b960df215881585ffc52f9ee78573cdf2af7be046a path-v16.7.1.tar.gz "