From 7dfb664b171c350937b72c8f15563fd2cbd1e4f1 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Tue, 22 Oct 2024 19:07:09 +0200 Subject: [PATCH] python312Packages.cypari2: 2.1.5 -> 2.2.0 --- .../python-modules/cypari2/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/cypari2/default.nix b/pkgs/development/python-modules/cypari2/default.nix index f987ee07a64e1..384d8d07c278e 100644 --- a/pkgs/development/python-modules/cypari2/default.nix +++ b/pkgs/development/python-modules/cypari2/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, python, - fetchpatch, fetchPypi, pari, gmp, @@ -16,24 +15,14 @@ buildPythonPackage rec { pname = "cypari2"; # upgrade may break sage, please test the sage build or ping @timokau on upgrade - version = "2.1.5"; + version = "2.2.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-GiWGXDTyCx3JWDB5jjSrZDbieLjgyA3HvwqzTF2wOrg="; + hash = "sha256-gXYGv2YbcdM+HQEkIZB6T4+wndgbfT464Xmzl4Agu/E="; }; - patches = [ - # patch to avoid some segfaults in sage's totallyreal.pyx test. - # (https://trac.sagemath.org/ticket/27267). - (fetchpatch { - name = "use-trashcan-for-gen.patch"; - url = "https://raw.githubusercontent.com/sagemath/sage/b6ea17ef8e4d652de0a85047bac8d41e90b25555/build/pkgs/cypari/patches/trashcan.patch"; - hash = "sha256-w4kktWb9/aR9z4CjrUvAMOxEwRN2WkubaKzQttN8rU8="; - }) - ]; - preBuild = '' # generate cythonized extensions (auto_paridecl.pxd is crucial) ${python.pythonOnBuildForHost.interpreter} setup.py build_ext --inplace