Files
ports/main/python3-yaml/spkgbuild

15 lines
384 B
Plaintext

# description : Python bindings for YAML, using fast libYAML library
# depends : python3 yaml cython3
name=python3-yaml
version=6.0
release=1
source="https://pypi.python.org/packages/source/P/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
}