# Template file for 'Cython'
pkgname=Cython
version=0.17.3
revision=1
build_style=python-module
makedepends="python-devel Pyrex"
short_desc="C-Extensions for Python"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cython.org"
license="Apache-2.0"
distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz"
checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece

if [ "$CROSS_BUILD" ]; then
	hostmakedepends="${makedepends}"
fi

Cython_package() {
	depends="Pyrex"
	pycompile_module="pyximport Cython cython.py"
	pkg_install() {
		vmove usr
	}
}
