contrib/python3-pdm-backend/Pkgfile

17 lines
613 B
Plaintext

# Description: The build backend used by PDM that supports latest packaging standards
# URL: https://github.com/pdm-project/pdm-backend
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-wheel
name=python3-pdm-backend
version=2.3.0
release=1
source=(https://github.com/pdm-project/pdm-backend/archive/$version/$name-$version.tar.gz)
build() {
cd pdm-backend-$version
PDM_BUILD_SCM_VERSION=$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}