# Compiling Time: 0.01 SBU
# Maintainer: DeX77 <dex+fw@dragonslave.de>

pkgname=python3-pyproject-hooks
pkgver=1.2.0
pkgrel=1
pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project"
depends=('python3-tomli')
makedepends=('python3-build' 'python3-installer' 'python3-flit_core' 'python3-wheel')
groups=('devel-extra')
archs=('x86_64')
_F_python_version=python3
_F_pypi_name=pyproject_hooks
Finclude pypi
sha1sums=('7fc15e02f720d813ac8135c9a5d45767bd8f61e4')

build() {
	Fcd
	Fpatchall

	Fexec python3 -m build --wheel --skip-dependency-check --no-isolation || Fdie
	Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie

}

# optimization OK
