32 lines
896 B
Bash
32 lines
896 B
Bash
# Template file for 'python3-Cython'
|
|
pkgname=python3-Cython
|
|
version=3.0.11
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
depends="python3-setuptools"
|
|
short_desc="Python to C compiler"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://cython.org/"
|
|
changelog="https://raw.githubusercontent.com/cython/cython/master/CHANGES.rst"
|
|
distfiles="${PYPI_SITE}/c/cython/cython-${version}.tar.gz"
|
|
checksum=7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff
|
|
# Tests are flaky
|
|
make_check=no
|
|
conflicts="python3-Cython0.29>=0"
|
|
replaces="python3-Cython0.29>=0"
|
|
|
|
alternatives="
|
|
cython:cygdb:/usr/bin/cygdb3
|
|
cython:cython:/usr/bin/cython3
|
|
cython:cythonize:/usr/bin/cythonize3
|
|
"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/cygdb{,3}
|
|
mv ${DESTDIR}/usr/bin/cython{,3}
|
|
mv ${DESTDIR}/usr/bin/cythonize{,3}
|
|
}
|