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