Files
ports/extra/python3-yaml/spkgbuild
2019-06-12 14:25:07 +08:00

15 lines
404 B
Plaintext

# description : Python bindings for YAML, using fast libYAML library
# depends : python3 yaml
name=python3-yaml
version=5.1.1
release=1
source=(http://pyyaml.org/download/pyyaml/PyYAML-$version.tar.gz)
md5sum=(7e5a8d073b4084742c1d80105423ee9f)
build() {
cd PyYAML-$version
python3 setup.py --with-libyaml build
python3 setup.py --with-libyaml install --prefix=/usr --root="$PKG" -O1 --skip-build
}