From 27326aed44a4f206f3ec4a0be10e65897e7c9ee7 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Wed, 24 Jan 2024 17:20:03 -0800 Subject: [PATCH] packages/cysignals: Add https://github.com/sagemath/cysignals/pull/193 as patch --- packages/cysignals/meta.yaml | 2 ++ packages/cysignals/patches/193.patch | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 packages/cysignals/patches/193.patch diff --git a/packages/cysignals/meta.yaml b/packages/cysignals/meta.yaml index b10cfdf716bc..aa44bf3c7968 100644 --- a/packages/cysignals/meta.yaml +++ b/packages/cysignals/meta.yaml @@ -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 diff --git a/packages/cysignals/patches/193.patch b/packages/cysignals/patches/193.patch new file mode 100644 index 000000000000..fb3be2959116 --- /dev/null +++ b/packages/cysignals/patches/193.patch @@ -0,0 +1,27 @@ +From 474179c87ab0ff562fdfd2471b02797e4bdd3148 Mon Sep 17 00:00:00 2001 +From: Jerome Benoit +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 +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, + )) + +