29 lines
822 B
Bash
29 lines
822 B
Bash
# Template file for 'python-Cython'
|
|
pkgname=python-Cython
|
|
version=0.29.36
|
|
revision=1
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
makedepends="python-devel"
|
|
depends="python-setuptools"
|
|
short_desc="C-Extensions for Python"
|
|
maintainer="Orphaned <orphan@voidlinux.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=41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f
|
|
# Tests are flaky
|
|
make_check=no
|
|
|
|
alternatives="
|
|
cython:cygdb:/usr/bin/cygdb2
|
|
cython:cython:/usr/bin/cython2
|
|
cython:cythonize:/usr/bin/cythonize2"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/cygdb{,2}
|
|
mv ${DESTDIR}/usr/bin/cython{,2}
|
|
mv ${DESTDIR}/usr/bin/cythonize{,2}
|
|
}
|