Files
ports/core/python3-yaml/spkgbuild
2020-04-13 14:53:21 +08:00

14 lines
362 B
Plaintext

# description : Python bindings for YAML, using fast libYAML library
# depends : python3 yaml
name=python3-yaml
version=5.3.1
release=1
source="http://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
}