# Contributor: Leo # Maintainer: pkgname=py3-path pkgver=13.2.0 pkgrel=0 pkgdesc="Module wrapper for os.path" options="!check" # Requires unpackaged 'pytest-checkdocs' url="https://github.com/jaraco/path" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools py3-setuptools_scm" source="$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path/archive/v$pkgver.tar.gz" builddir="$srcdir/path-$pkgver" build() { git init # WORKAROUND python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="59c9df45996eb227df101a13da968bcb006d9b89cb5c36ffcd08bdfb1102e7bd91bbe340b04ffea7478a0dda3dfa2df33412fcf9b6e6fb5af06952a82a6b6914 py3-path-13.2.0.tar.gz"