Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
cython
Commits:
da4a4c94 by Antonio Rojas at 2025-02-11T16:27:36+01:00
upgpkg: 3.0.12-1: Update to 3.0.12
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − numpy-2.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = cython
pkgdesc = C-Extensions for Python
- pkgver = 3.0.11
- pkgrel = 2
+ pkgver = 3.0.12
+ pkgrel = 1
url = https://cython.org
arch = x86_64
license = Apache-2.0
@@ -17,9 +17,7 @@ pkgbase = cython
depends = glibc
depends = python
replaces = cython-dev
- source = git+https://github.com/cython/cython#tag=3.0.11
- source = numpy-2.patch
- sha256sums =
8f6bc386d85aaf9bbab8174bc3f8c771204b0bedacd6e7502261a5fdcc4d9c75
- sha256sums =
6f98a6cc46d0d65a01a1fb5ac9f40e6d2612f80a34ad8e95bd9ad1116e24855d
+ source = git+https://github.com/cython/cython#tag=3.0.12
+ sha256sums =
903f0cde1b595019edd5a49d4f991c1636ff4fe5e72cc9678cb2985c41c00836
pkgname = cython
=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
# Contributor: Igor Scabini <furester @ gmail.com>
pkgname=cython
-pkgver=3.0.11
-pkgrel=2
+pkgver=3.0.12
+pkgrel=1
pkgdesc='C-Extensions for Python'
arch=(x86_64)
url='https://cython.org'
@@ -21,15 +21,8 @@ checkdepends=(gdb
python-numpy
python-pytest
python-tests)
-source=(git+https://github.com/cython/cython#tag=$pkgver
- numpy-2.patch)
-sha256sums=('8f6bc386d85aaf9bbab8174bc3f8c771204b0bedacd6e7502261a5fdcc4d9c75'
- '6f98a6cc46d0d65a01a1fb5ac9f40e6d2612f80a34ad8e95bd9ad1116e24855d')
-
-prepare() {
- cd cython
- patch -p1 -i ../numpy-2.patch # Fix tests with numpy 2
-}
+source=(git+https://github.com/cython/cython#tag=$pkgver)
+sha256sums=('903f0cde1b595019edd5a49d4f991c1636ff4fe5e72cc9678cb2985c41c00836')
build() {
cd cython
=====================================
numpy-2.patch deleted
=====================================
@@ -1,13 +0,0 @@
-diff --git a/tests/run/ufunc.pyx b/tests/run/ufunc.pyx
-index f489a07d5..47bb0bfbc 100644
---- a/tests/run/ufunc.pyx
-+++ b/tests/run/ufunc.pyx
-@@ -125,7 +125,7 @@ def test_plus_one_twice():
- >>> plus_one_twice(int_arr_1d) # doctest: +ELLIPSIS
- (array([ 1, 5, 9, 13, 17]...), array([ 1, 5, 9, 13, 17]...))
- >>> plus_one_twice(1.j)
-- ((1+1j), (1+1j))
-+ (np.complex128(1+1j), np.complex128(1+1j))
-
- 2D variant skipped because it's hard to sensible doctest
- """
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cython/-/commit/da4a4c9447dba6b17a5cacf38e2604ab2438206c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cython/-/commit/da4a4c9447dba6b17a5cacf38e2604ab2438206c
You're receiving this email because of your account on gitlab.archlinux.org.