Skip to content

Commit

Permalink
packages/cysignals: Add sagemath/cysignals#193 as patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jan 25, 2024
1 parent 756f74d commit 27326ae
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cysignals/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ package:
source:
url: https://pypi.io/packages/source/c/cysignals/cysignals-1.11.4.tar.gz
sha256: 0f1e321e55a07f901c86a36a1e4497f6ff9dfe700681d0130a38c36e4eb238c3
patches:
- patches/193.patch
about:
home: https://github.com/sagemath/cysignals
PyPI: https://pypi.org/project/cysignals
Expand Down
27 changes: 27 additions & 0 deletions packages/cysignals/patches/193.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 474179c87ab0ff562fdfd2471b02797e4bdd3148 Mon Sep 17 00:00:00 2001
From: Jerome Benoit <[email protected]>
Date: Sat, 4 Nov 2023 23:22:30 +0100
Subject: [PATCH] cythonize: discard now obsoleted directive

Description: upstream: fix: obsoleted compiler directive: discard
This patch discards the now obsolete compiler directive
`legacy_implicit_noexcept`.
Origin: vendor, Debian
Author: Jerome Benoit <[email protected]>
Last-Update: 2023-11-04
---
setup.py | 1 -
1 file changed, 1 deletion(-)

diff --git a/setup.py b/setup.py
index eb9c8f5a..79531705 100755
--- a/setup.py
+++ b/setup.py
@@ -173,7 +173,6 @@ def cythonize(self, extensions):
compiler_directives=dict(
binding=True,
language_level=2,
- legacy_implicit_noexcept=True,
))


0 comments on commit 27326ae

Please sign in to comment.