python3Packages.numexpr: 2.10.1 -> 2.10.2
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
dos2unix,
|
||||
fetchPypi,
|
||||
fetchpatch2,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
@@ -11,29 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numexpr";
|
||||
version = "2.10.1";
|
||||
version = "2.10.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-m7qZ01SmXxoAiri4fwfYRATGaOZrq2JN9ba1NzQDz4E=";
|
||||
hash = "sha256-sK/2tI68mdL1Tye19zpYy5L95lCu/xs5fHHIeItP/xo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# https://github.com/pydata/numexpr/pull/491
|
||||
name = "fix-test.patch";
|
||||
url = "https://github.com/pydata/numexpr/commit/2c7bb85e117147570db5619ed299497a42af9f54.patch";
|
||||
hash = "sha256-cv2logZ8dKeWNB5+bPmPfpfiWaV7k8+2sE9lZa+dUsA=";
|
||||
})
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
dos2unix numexpr/tests/test_numexpr.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ dos2unix ];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
numpy
|
||||
|
||||
Reference in New Issue
Block a user