blob: 9630e84a0735731c4a335851fafad27963ada75c (
plain)
1 # Description: Python bindings for YAML, using fast libYAML library
2 # URL: https://pyyaml.org/wiki/PyYAML
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: libyaml python3-cython
5
6 name=python3-yaml
7 version=6.0
8 release=1
9 source=(https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz)
10 #source=(https://github.com/yaml/pyyaml/archive/$version/PyYAML-$version.tar.gz)
11
12 build() {
13 #cd pyyaml-$version
14 cd PyYAML-$version
15 /usr/bin/python3 setup.py --with-libyaml build
16 /usr/bin/python3 setup.py --with-libyaml install \
17 --prefix=/usr \
18 --root=$PKG \
19 -O1 \
20 --skip-build
21 }
|