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
|
2020-04-29 17:13:55 +00:00
|
|
|
version=5.3.1
|
2019-12-29 11:40:22 +01:00
|
|
|
release=1
|
|
|
|
source=(https://pyyaml.org/download/pyyaml/PyYAML-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd PyYAML-$version
|
2020-11-03 21:12:23 +00:00
|
|
|
/usr/bin/python3 setup.py --with-libyaml build
|
|
|
|
/usr/bin/python3 setup.py --with-libyaml install \
|
2019-12-29 11:40:22 +01:00
|
|
|
--prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
-O1 \
|
|
|
|
--skip-build
|
|
|
|
}
|