smlinux/base/python-lunr/python-lunr.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
593 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-lunr
version=0.5.8
build=1sml
homepage="https://github.com/yeraydiazdiaz/lunr.py"
desc="Python fork of lunr.js"
requires="python-tornado"
prepbuilddir() {
mkandenterbuilddir
rm -rf lunr-$version
tar xf $srcdir/lunr-$version.tar.?z*
cd lunr-$version
fixbuilddirpermissions
}
build() {
python3 setup.py install --root=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
ebdbf322ce6dde022e5d9a9aaee010b7eb727eb340c155a69072cd573c05d7e5b9f4aeef9cf34a3b86f7716f767053c05061ac79a1c9ebf24322fe94102f4c6b lunr-0.5.8.tar.gz
"