smlinux/base/cython/cython.SMBuild
2022-01-28 23:06:05 +05:30

25 lines
571 B
Text
Executable file

APP=cython
VERSION=0.29.21
BUILD=1sml
HOMEPAGE="https://pypi.org/project/Cython"
REQUIRES="python3 python-setuptools"
DESC="C-Extensions for Python3"
build() {
mkandenterbuilddir
rm -rf Cython-$VERSION
tar xf $SRCDIR/Cython-$VERSION.tar.?z*
cd Cython-$VERSION
fixbuilddirpermissions
python3 setup.py install --prefix="" --root=$PKG
cp COPYING.txt LICENSE.txt $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
6216e63996e83b887cdcee6cd912d42e7da853640336b9190f5115d687848a902ee5a8edd6bfaef645c066b89e17dcd80ca1387688eb80a527ec23a0a4636e8f Cython-0.29.21.tar.gz
"