mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-23 04:13:06 +02:00
28 lines
828 B
Bash
28 lines
828 B
Bash
# Template file for 'python-Cython'
|
|
pkgname=python-Cython
|
|
version=0.29.35
|
|
revision=1
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
makedepends="python-devel"
|
|
depends="python-setuptools"
|
|
short_desc="C-Extensions for Python3"
|
|
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=6e381fa0bf08b3c26ec2f616b19ae852c06f5750f4290118bf986b6f85c8c527
|
|
# 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}
|
|
}
|