2023-09-17 09:18:48 +02:00
|
|
|
# Description: PEP 621 metadata parsing
|
|
|
|
# URL: https://github.com/FFY00/python-pyproject-metadata
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-flit-core python3-build python3-wheel python3-installer
|
|
|
|
|
|
|
|
name=python3-pyproject-metadata
|
2024-04-18 17:24:27 +02:00
|
|
|
version=0.8.0
|
2023-09-17 09:18:48 +02:00
|
|
|
release=1
|
2024-04-18 17:24:27 +02:00
|
|
|
source=(https://pypi.org/packages/source/p/pyproject_metadata/pyproject_metadata-$version.tar.gz)
|
2023-09-17 09:18:48 +02:00
|
|
|
|
|
|
|
build() {
|
2024-04-18 17:24:27 +02:00
|
|
|
cd pyproject_metadata-$version
|
2023-09-17 09:18:48 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
|
|
}
|