2010-11-02 18:57:29 +01:00
|
|
|
# Template file for 'Cython'
|
|
|
|
pkgname=Cython
|
2013-01-03 14:53:07 +01:00
|
|
|
version=0.17.3
|
|
|
|
revision=1
|
2010-11-02 18:57:29 +01:00
|
|
|
build_style=python-module
|
2013-04-12 09:01:46 +02:00
|
|
|
makedepends="python-devel Pyrex"
|
2010-11-02 18:57:29 +01:00
|
|
|
short_desc="C-Extensions for Python"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 15:35:54 +02:00
|
|
|
homepage="http://cython.org"
|
|
|
|
license="Apache-2.0"
|
2013-01-03 14:53:07 +01:00
|
|
|
distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece
|
2013-04-12 09:01:46 +02:00
|
|
|
|
2013-08-06 09:12:47 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="${makedepends}"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 09:01:46 +02:00
|
|
|
Cython_package() {
|
|
|
|
depends="Pyrex"
|
|
|
|
pycompile_module="pyximport Cython cython.py"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|