python312Packages.symengine: drop upstreamed patch
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cython,
|
||||
cmake,
|
||||
symengine,
|
||||
@@ -30,16 +29,6 @@ buildPythonPackage rec {
|
||||
SymEngine_DIR = "${symengine}";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Distutils has been removed in python 3.12
|
||||
# See https://github.com/symengine/symengine.py/pull/478
|
||||
(fetchpatch {
|
||||
name = "no-distutils.patch";
|
||||
url = "https://github.com/symengine/symengine.py/pull/478/commits/e72006d5f7425cd50c54b22766e0ed4bcd2dca85.patch";
|
||||
hash = "sha256-kGJRGkBgxOfI1wf88JwnSztkOYd1wvg62H7wA6CcYEQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "'cython>=0.29.24'" "'cython'"
|
||||
|
||||
Reference in New Issue
Block a user