# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.26.3
pkgrel=0
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"
arch="noarch"
depends="python3 py3-editables py3-packaging py3-pathspec py3-pluggy py3-trove-classifiers"
makedepends="py3-installer"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-$pkgver-py3-none-any.whl"
options="!check"

package() {
	# this causes a lot of circular dependencies, namely this depends on
	# poetry-core, which needs jsonschema, which needs this
	python3 -m installer -d "$pkgdir" \
		"$srcdir"/hatchling-$pkgver-py3-none-any.whl
}

sha512sums="
237f1cd411fa9d550272a97e8f5c9f1b9be7a8d99c34de5e763b8fd0b7d386fae0052f38f1483234ce78d049a05097a5fc0c3c8b050c165351d8a71363e3237c  hatchling-1.26.3-py3-none-any.whl
"
