36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'python-Cython'
|
|
pkgname=python-Cython
|
|
version=0.29.32
|
|
revision=2
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python-setuptools"
|
|
short_desc="C-Extensions for Python2"
|
|
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=8733cf4758b79304f2a4e39ebfac5e92341bce47bcceb26c1254398b2f8c1af7
|
|
# Tests are flaky
|
|
make_check=no
|
|
|
|
alternatives="
|
|
cython:cygdb:/usr/bin/cygdb2
|
|
cython:cython:/usr/bin/cython2
|
|
cython:cythonize:/usr/bin/cythonize2"
|
|
|
|
python3-Cython_package() {
|
|
alternatives="
|
|
cython:cygdb:/usr/bin/cygdb3
|
|
cython:cython:/usr/bin/cython3
|
|
cython:cythonize:/usr/bin/cythonize3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
depends="python3-setuptools"
|
|
pkg_install() {
|
|
vmove "usr/bin/*3"
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|