summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin Cadiou2023-10-10 23:29:11 +0200
committerCorentin Cadiou2023-10-10 23:29:11 +0200
commita03cf24467fe7651b89ac800cb74a94349c46a41 (patch)
tree42d5451387b677dea338c797013d7b59e79d7f88
parent85a7ef461928c9ebdcf6e7d3d6f4523634140ce2 (diff)
downloadaur-a03cf24467fe7651b89ac800cb74a94349c46a41.tar.gz
Remove now useless patch
-rwxr-xr-x.SRCINFO4
-rwxr-xr-xPKGBUILD13
-rw-r--r--cython-3.patch26
3 files changed, 4 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00dec0d398db..1d0c1cd31b36 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-yt
pkgdesc = A community-developed analysis and visualization toolkit for volumetric data.
pkgver = 4.3.0
- pkgrel = 1
+ pkgrel = 2
url = http://yt-project.org
arch = any
license = BSD
@@ -34,8 +34,6 @@ pkgbase = python-yt
optdepends = python-glue: input/output to glueviz format
options = !emptydirs
source = https://pypi.io/packages/source/y/yt/yt-4.3.0.tar.gz
- source = cython-3.patch
sha256sums = cdcab7c07d8c46fe87d94fcec4bbac750394aa40b88cb7381abc843dcdce30ee
- sha256sums = 77b66fed1befda2906160889c42752cda1b571a495d337d8af4f10d3291933ec
pkgname = python-yt
diff --git a/PKGBUILD b/PKGBUILD
index 06f4fe4ede02..bbd6c466db5f 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-yt
_module_name=yt
pkgver=4.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A community-developed analysis and visualization toolkit for volumetric data."
arch=(any)
url="http://yt-project.org"
@@ -42,15 +42,8 @@ optdepends=(
'python-glue: input/output to glueviz format'
)
options=(!emptydirs)
-source=("https://pypi.io/packages/source/y/${_module_name}/${_module_name}-${pkgver}.tar.gz"
- "cython-3.patch")
-sha256sums=('cdcab7c07d8c46fe87d94fcec4bbac750394aa40b88cb7381abc843dcdce30ee'
- '77b66fed1befda2906160889c42752cda1b571a495d337d8af4f10d3291933ec')
-
-prepare() {
- cd "$srcdir/${_module_name}-${pkgver}"
- patch --forward --strip=1 --input="${srcdir}/cython-3.patch"
-}
+source=("https://pypi.io/packages/source/y/${_module_name}/${_module_name}-${pkgver}.tar.gz")
+sha256sums=('cdcab7c07d8c46fe87d94fcec4bbac750394aa40b88cb7381abc843dcdce30ee')
build() {
cd "$srcdir/${_module_name}-$pkgver"
diff --git a/cython-3.patch b/cython-3.patch
deleted file mode 100644
index b16bd358d3fe..000000000000
--- a/cython-3.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From c17063508dcab1bfe853f3fac5ab4727b3923f1c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= <cr52@protonmail.com>
-Date: Thu, 13 Jul 2023 14:55:40 +0200
-Subject: [PATCH] BLD: switch to Cython>=3.0,<3.1
-
----
- pyproject.toml | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index d3a8ec6119..1d52e9b038 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -5,10 +5,8 @@ requires = [
- # see https://github.com/numpy/numpy/pull/18389
- "wheel>=0.36.2",
-
-- # Cython 3.0 is the next version after 0.29, and a major change,
-- # we forbid it until we can properly test against it
-- # https://github.com/yt-project/yt/issues/4355
-- "Cython>=0.29.33,<3.0",
-+ # see https://github.com/yt-project/yt/issues/4044
-+ "Cython>=3.0, <3.1",
- "oldest-supported-numpy",
- "ewah-bool-utils>=1.0.2",
- ]