diff --git a/dev-python/cython/cython-0.20.2.recipe b/dev-python/cython/cython-0.20.2.recipe new file mode 100644 index 000000000..9ff03fa10 --- /dev/null +++ b/dev-python/cython/cython-0.20.2.recipe @@ -0,0 +1,37 @@ +SUMMARY="Optimising static compiler for Python" +DESCRIPTION="Cython is an optimising static compiler for both the Python \ +programming language and the extended Cython programming language (based on \ +Pyrex). It makes writing C extensions for Python as easy as Python itself." +HOMEPAGE="http://cython.org" +COPYRIGHT="Stefan Behnel, Robert Bradshaw, Lisandro Dalcin, Mark Florisson, \ +Vitja Makarov, Dag Sverre Seljebotn" +LICENSE="Apache v2" +SRC_URI="http://cython.org/release/Cython-0.20.2.tar.gz" +CHECKSUM_SHA256="ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f" +REVISION="1" + +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + cython = $portVersion + cmd:cygdb + cmd:cython +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make + cmd:python +" + +SOURCE_DIR="Cython-$portVersion" +BUILD() +{ + make +} + +INSTALL() +{ + python setup.py install --prefix=$prefix +}