# Compiling Time: 0.05 SBU
# Maintainer: Melko <melko@frugalware.org>

pkgname=python3-pdm-backend
pkgver=2.4.4
pkgrel=1
pkgdesc="The build backend used by PDM that supports latest packaging standards"
depends=("python3-packaging" "python3-setuptools" "python3-pyproject-metadata")
makedepends=("python3-build" "python3-installer" "python3-wheel")
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name="pdm-backend"
_F_python_version="python3"
_F_archive_name="pdm_backend"
Finclude pypi
sha1sums=('0087bc7cea28830e9b33c58f19cca36d51b980c7')

build() {
	Fcd
	Fexec python3 -m build --wheel --no-isolation || Fdie
  	Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie
}

# optimization OK
