contrib/python3-cython/Pkgfile

23 lines
519 B
Plaintext
Raw Normal View History

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
2018-12-06 12:52:58 +01:00
version=0.29.1
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
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
}