Files
ports/main/python3-vdf/spkgbuild
2023-06-17 17:29:53 +00:00

16 lines
489 B
Plaintext
Executable File

# description : Pure python module for (de)serialization to and from VDF that works just like json
# homepage : https://github.com/ValvePython/vdf
# depends : python3-setuptools
name=python3-vdf
version=3.4
release=1
source="$name-$vesion.tar.gz::https://pypi.python.org/packages/source/v/vdf/vdf-$version.tar.gz"
build() {
cd vdf-$version
python3 setup.py build
python3 setup.py install -O2 --root=$PKG --skip-build
chmod 644 $PKG/usr/lib/python3.*/site-packages/vdf-$version-*/*
}