2015-02-06 20:38:38 +11:00
|
|
|
# Description: C extensions for Python.
|
2010-11-13 17:12:56 +11:00
|
|
|
# URL: http://www.cython.org/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-02-05 16:32:37 +11:00
|
|
|
# Depends on: python-setuptools
|
2010-11-13 17:12:56 +11:00
|
|
|
|
2018-08-08 00:16:58 +10:00
|
|
|
name=python-cython
|
2021-02-23 00:07:18 +11:00
|
|
|
version=0.29.22
|
2010-11-13 17:12:56 +11:00
|
|
|
release=1
|
2017-12-12 00:16:30 +11:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/C/Cython/Cython-$version.tar.gz)
|
2010-11-13 17:12:56 +11:00
|
|
|
|
|
|
|
build() {
|
2011-10-13 00:20:09 +11:00
|
|
|
cd Cython-$version
|
2018-08-08 00:16:58 +10:00
|
|
|
|
2017-12-12 00:16:30 +11:00
|
|
|
/usr/bin/python setup.py build
|
2018-08-08 00:16:58 +10:00
|
|
|
|
|
|
|
/usr/bin/python setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2010-11-13 17:12:56 +11:00
|
|
|
}
|