python3-numpy: fix checksum, remove patch

It seems upstream numpy amended the release with a "fix" for
whatever the patch was fixing.
This commit is contained in:
q66 2022-02-05 04:01:58 +01:00
parent 9a3aebfc71
commit 09307b887d
2 changed files with 1 additions and 30 deletions

View file

@ -1,29 +0,0 @@
From 7ed13c0e43c679dac4575f9911581665c62e6ad2 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 1 Feb 2022 10:18:42 -0500
Subject: [PATCH] Revert "MAINT: Raise RuntimeError if setuptools version is
too recent."
This reverts commit eb6be7c4765665724cd12431bfefb050ba0f2d4b.
---
setup.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/setup.py b/setup.py
index 06170df51..703fe79e1 100755
--- a/setup.py
+++ b/setup.py
@@ -80,10 +80,6 @@
# so that it is in sys.modules
import numpy.distutils.command.sdist
import setuptools
-if int(setuptools.__version__.split('.')[0]) >= 60:
- raise RuntimeError(
- "Setuptools version is '{}', version < '60.0.0' is required. "
- "See pyproject.toml".format(setuptools.__version__))
# Initialize cmdclass from versioneer
from numpy.distutils.core import numpy_cmdclass
--
2.35.0

View file

@ -13,7 +13,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://www.numpy.org/"
distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz"
checksum=8dfb2aa643bf9bc5b673006f60e2b7bfe4bcecb0686234e6f4902eb0596a32cc
checksum=3428c3bd846beca1cd4417ebee6eab8bb62e987fc3101e5858d74c92b312d096
alternatives="numpy:f2py:/usr/bin/f2py3"
# Tests do not function propery in a build directory
make_check="no"