mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
# description : Python bindings for YAML, using fast libYAML library
|
|
# depends : python3 yaml cython3
|
|
|
|
name=python3-yaml
|
|
version=6.0.1
|
|
release=1
|
|
source="$name-$version.tar.gz::https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz
|
|
cython3.patch"
|
|
|
|
build() {
|
|
|
|
cd PyYAML-$version
|
|
patch -Np1 -i $SRC/cython3.patch
|
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|