2022-07-10 19:43:58 +02:00
|
|
|
# Description: A simple, correct PEP517 package builder
|
|
|
|
# URL: https://github.com/pypa/build
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-09-01 23:16:48 +02:00
|
|
|
# Depends on: python3-packaging python3-pyproject-hooks
|
2022-07-10 19:43:58 +02:00
|
|
|
|
|
|
|
name=python3-build
|
2024-03-30 16:10:54 +01:00
|
|
|
version=1.2.1
|
2022-07-10 19:43:58 +02:00
|
|
|
release=1
|
|
|
|
source=(https://pypi.python.org/packages/source/b/build/build-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build-$version
|
2023-01-12 18:56:41 +00:00
|
|
|
|
2023-04-02 21:12:07 +02:00
|
|
|
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG \
|
|
|
|
--ignore-installed --no-deps .
|
2023-01-12 18:56:41 +00:00
|
|
|
|
2023-04-08 16:27:00 +02:00
|
|
|
/usr/bin/python3 -m compileall -d /usr/lib $PKG
|
|
|
|
/usr/bin/python3 -O -m compileall -d /usr/lib $PKG
|
|
|
|
/usr/bin/python3 -OO -m compileall -d /usr/lib $PKG
|
2022-07-10 19:43:58 +02:00
|
|
|
}
|