2019-12-29 11:40:22 +01:00
|
|
|
# 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
|
2023-07-19 19:52:24 +02:00
|
|
|
version=6.0.1
|
2023-07-23 17:02:48 +02:00
|
|
|
release=2
|
|
|
|
source=(https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz
|
|
|
|
731.patch)
|
2021-03-18 08:58:24 +00:00
|
|
|
|
2019-12-29 11:40:22 +01:00
|
|
|
build() {
|
2021-10-14 20:48:48 +02:00
|
|
|
cd PyYAML-$version
|
2023-07-23 17:02:48 +02:00
|
|
|
|
|
|
|
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
|
2019-12-29 11:40:22 +01:00
|
|
|
}
|