mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
Add Cython recipe.
This commit is contained in:
37
dev-python/cython/cython-0.20.2.recipe
Normal file
37
dev-python/cython/cython-0.20.2.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user