Cython: cross build support.
This commit is contained in:
@@ -11,6 +11,10 @@ license="Apache-2.0"
|
|||||||
distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece
|
checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="${makedepends}"
|
||||||
|
fi
|
||||||
|
|
||||||
Cython_package() {
|
Cython_package() {
|
||||||
depends="Pyrex"
|
depends="Pyrex"
|
||||||
pycompile_module="pyximport Cython cython.py"
|
pycompile_module="pyximport Cython cython.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user