python-cython 3.0.11-1

This commit is contained in:
xhaa123 2024-10-29 23:59:13 +08:00
parent 6c76a72a0c
commit 9803eb4fd2

View File

@ -5,7 +5,7 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-cython
pkgver=3.0.9
pkgver=3.0.11
pkgrel=1
pkgdesc="C-Extensions for Python"
arch=('x86_64')
@ -13,8 +13,16 @@ url="https://cython.org"
license=('Apache-2.0')
depends=('glibc' 'python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=(https://github.com/cython/cython/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
sha256sums=(ca7758a3a87340a93f5bde4747e4a5ff1708cf2df407dee533b63ef6cc845777)
source=(https://github.com/cython/cython/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz
numpy-2.patch)
sha256sums=(2ec7d66d23d6da2328fb24f5c1bec6c63a59ec2e91027766ab904f417e1078aa
6f98a6cc46d0d65a01a1fb5ac9f40e6d2612f80a34ad8e95bd9ad1116e24855d)
prepare() {
cd ${pkgname#*-}-${pkgver}
patch -Np1 -i ${srcdir}/numpy-2.patch # Fix tests with numpy 2
}
build() {
cd ${pkgname#*-}-${pkgver}