smlinux/base/python-regex/python-regex.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
666 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-regex
version=2021.4.4
build=1sml
homepage="https://bitbucket.org/mrabarnett/mrab-regex"
desc="Alternative to standard regex module supplied by python with additional features"
requires="python-tqdm"
prepbuilddir() {
mkandenterbuilddir
rm -rf regex-$version
tar xf $srcdir/regex-$version.tar.?z*
cd regex-$version
fixbuilddirpermissions
}
build() {
python3 setup.py install --root=$pkg
cp LICENSE.txt $pkgdocs/
mkfinalpkg
}
sha512sums="
2eff9867639f16ad7894997f399262d653a9ef0bb4e8d40bd977e5c55625cf57b4bb593f84504009a0b3cd50b3876d1938c71fd733c0ad1a076de32b6b4b33b9 regex-2021.4.4.tar.gz
"