mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
Cython: cross build support.
This commit is contained in:
parent
79f677ced9
commit
9e72fcdb19
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue