smlinux/base/python-pyyaml/python-pyyaml.SMBuild
PktSurf fd5cb987b4 Renamed and repacked python tarball in base
Removed executable bit from some python package build files in base
2024-10-29 15:46:43 +05:30

27 lines
610 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-pyyaml
version=5.4.1
build=1sml
homepage="https://pyyaml.org"
desc="Next-generation YAML parser and emitter for python"
requires="python-markdown"
prepbuilddir() {
mkandenterbuilddir
rm -rf PyYAML-$version
tar xf $srcdir/PyYAML-$version.tar.?z*
cd PyYAML-$version
fixbuilddirpermissions
}
build() {
python3 setup.py install --root=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
359c45d843fd839797572efeab121f17b1947647960dfb062f3618f25f71e1a6bc4bab14a1720b6b67f256089d5d48c452ec5419e3130222765c7ca41db11dad PyYAML-5.4.1.tar.gz
"