# Contributor: Jean-Louis Fuchs <safe.pen2857@rhizoome.ch>
# Maintainer: Jean-Louis Fuchs <safe.pen2857@rhizoome.ch>
pkgname=py3-fasteners
_pyname=fasteners
pkgver=0.19
pkgrel=2
pkgdesc="A python package that provides useful locks"
url="https://github.com/harlowja/fasteners/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/f/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/fasteners-$pkgver"
options="!check" # no tests

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/fasteners*.whl
}

sha512sums="
ac698c590cdb17d202e3a3bca794bf6e3bafac2ddc7b112ca972bfa81f4faa666461f90b6d779536f8edbeb5b56fbbcbe7fa21c612a47bf3e34a4beaf2cd43f3  fasteners-0.19.tar.gz
"
