2018-08-15 13:45:16 +02:00
|
|
|
# Description: C extensions for Python.
|
|
|
|
# URL: http://www.cython.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-cython
|
2022-07-30 10:11:10 +02:00
|
|
|
version=0.29.32
|
2018-08-15 13:45:16 +02:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/C/Cython/Cython-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Cython-$version
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2018-08-15 14:04:16 +02:00
|
|
|
|
|
|
|
for f in cygdb cython cythonize; do
|
|
|
|
mv $PKG/usr/bin/$f $PKG/usr/bin/${f}3
|
|
|
|
done
|
2018-08-15 13:45:16 +02:00
|
|
|
}
|