Commit e579d44b authored by Mauricio Collares's avatar Mauricio Collares
Browse files

python312Packages.cysignals: 1.11.4 -> 1.12.3

parent 5b8517d0
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
{
  lib,
  autoreconfHook,
  fetchPypi,
  buildPythonPackage,
  meson-python,
  cython,
  pariSupport ? true,
  pari, # for interfacing with the PARI/GP signal handler
@@ -15,14 +15,19 @@ assert pariSupport -> pari != null;

buildPythonPackage rec {
  pname = "cysignals";
  version = "1.11.4";
  format = "setuptools";
  version = "1.12.3";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Dx4yHlWgf5AchqNqHkSX9v+d/nAGgdATCjjDbk6yOMM=";
    hash = "sha256-ifdibb8p21qz1u/xWomXj061GTwyDpCZvMFX2s3v0es=";
  };

  build-system = [
    cython
    meson-python
  ];

  # explicit check:
  # build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE"
  hardeningDisable = [ "fortify" ];
@@ -45,8 +50,6 @@ buildPythonPackage rec {
      pari
    ];

  nativeBuildInputs = [ autoreconfHook ];

  enableParallelBuilding = true;

  passthru.tests = {