20 lines
551 B
Plaintext
20 lines
551 B
Plaintext
# Description: Python bindings for YAML, using fast libYAML library
|
|
# URL: https://pyyaml.org/wiki/PyYAML
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libyaml python3-cython
|
|
|
|
name=python3-yaml
|
|
version=6.0.1
|
|
release=2
|
|
source=(https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz
|
|
731.patch)
|
|
|
|
build() {
|
|
cd PyYAML-$version
|
|
|
|
patch -Np1 -i $SRC/731.patch
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|