smlinux/base/python-m2crypto/python-m2crypto.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
625 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-m2crypto
version=0.36.0
build=1sml
homepage="https://gitlab.com/m2crypto/m2crypto"
desc="Cryptography toolkit for Python"
requires="python3 swig"
prepbuilddir() {
mkandenterbuilddir
rm -rf M2Crypto-$version
tar xf $srcdir/M2Crypto-$version.tar.?z*
cd M2Crypto-$version
fixbuilddirpermissions
}
build() {
python setup.py install --root=$pkg
cp CHANGES LICENCE $pkgdocs/
mkfinalpkg
}
sha512sums="
5a27b6f75257b907f63600f6cda094f52909a5b0d4dcfa2f2d7e423f89b156cfe1f71718f02b01e167d87c68740c49aeda75c29c30e9b8f9729536e8f824593a M2Crypto-0.36.0.tar.lz
"