Commit 79770473 authored by Weijia Wang's avatar Weijia Wang
Browse files

python312Packages.symengine: drop upstreamed patch

parent 68944efe
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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'"