# Contributor: lauren n. liberda # Maintainer: lauren n. liberda pkgname=py3-pathvalidate pkgver=3.2.0 pkgrel=0 pkgdesc="Python library to sanitize/validate a string such as filenames/file-paths/etc" url="https://github.com/thombashi/pathvalidate" arch="noarch" license="MIT" depends="python3" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends="py3-pytest py3-click py3-faker" options="!check" # tests require unpackaged unmaintained dependencies subpackages="$pkgname-pyc" source="https://github.com/thombashi/pathvalidate/archive/refs/tags/v$pkgver/pathvalidate-$pkgver.tar.gz" builddir="$srcdir/pathvalidate-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" d1b0e49028bc5497558d9a0c15b4e3c301cacb439bebccffc467fc23001854877dbc81a214cc6eb34c5a905a88c4f9394f5865a4de42f354b2450a3bfe10bb9e pathvalidate-3.2.0.tar.gz "