New package: python3-Cython0.29-0.29.36

This commit is contained in:
Andrew J. Hesford 2023-08-26 13:17:50 -04:00
parent 77d67f7e71
commit 4af03fdffc
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'python3-Cython0.29'
pkgname=python3-Cython0.29
version=0.29.36
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-setuptools"
short_desc="Python to C compiler (legacy version)"
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=41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f
# Test are flaky
make_check=no
conflicts="python3-Cython>=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}
}

View File

@ -0,0 +1,3 @@
pkgname=Cython
pattern="Cython-\K0\.[\d\.]+(?=.tar.gz)"
ignore="*[A-Za-z]*"