# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-hatch-nodejs-version pkgver=0.3.1 pkgrel=2 pkgdesc="Hatch plugin for versioning from a Node.js package.json" url="https://github.com/agoose77/hatch-nodejs-version" arch="noarch" license="MIT" depends="py3-hatchling" makedepends="py3-gpep517 py3-installer" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/agoose77/hatch-nodejs-version/archive/v$pkgver/python-hatch-nodejs-version-$pkgver.tar.gz" builddir="$srcdir/hatch-nodejs-version-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl } sha512sums=" 98a0ecc4a4271073f4ae7c09d631cf29a2e7a3a52beed82ad7afddcbeb764993352224faf144eade37c48eb79106ad69424837197acb8ab755b18a62b4cae072 python-hatch-nodejs-version-0.3.1.tar.gz "