forked from ports/contrib
20 lines
488 B
Plaintext
20 lines
488 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=5.1.2
|
||
|
release=1
|
||
|
source=(https://pyyaml.org/download/pyyaml/PyYAML-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd PyYAML-$version
|
||
|
python3 setup.py --with-libyaml build
|
||
|
python3 setup.py --with-libyaml install \
|
||
|
--prefix=/usr \
|
||
|
--root=$PKG \
|
||
|
-O1 \
|
||
|
--skip-build
|
||
|
}
|