21 lines
625 B
Plaintext
21 lines
625 B
Plaintext
# Description: A simple, correct PEP517 package builder
|
|
# URL: https://github.com/pypa/build
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-packaging python3-pyproject-hooks
|
|
|
|
name=python3-build
|
|
version=1.2.1
|
|
release=1
|
|
source=(https://pypi.python.org/packages/source/b/build/build-$version.tar.gz)
|
|
|
|
build() {
|
|
cd build-$version
|
|
|
|
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG \
|
|
--ignore-installed --no-deps .
|
|
|
|
/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
|
|
}
|