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
|
2019-12-29 11:40:22 +01:00
|
|
|
release=1
|
2021-10-14 20:48:48 +02:00
|
|
|
source=(https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz)
|
|
|
|
#source=(https://github.com/yaml/pyyaml/archive/$version/PyYAML-$version.tar.gz)
|
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
|
|
|
|
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
|
|
|
|
}
|