mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
python3-cysignals: rebuild for pari-2.17.0
This commit is contained in:
parent
e642407312
commit
528fc8f111
2 changed files with 23 additions and 1 deletions
22
srcpkgs/python3-cysignals/patches/verify_exc_value.patch
Normal file
22
srcpkgs/python3-cysignals/patches/verify_exc_value.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff --git a/src/cysignals/signals.pyx b/src/cysignals/signals.pyx
|
||||
index 114a156..4bb7476 100644
|
||||
--- a/src/cysignals/signals.pyx
|
||||
+++ b/src/cysignals/signals.pyx
|
||||
@@ -376,7 +376,7 @@ cdef void verify_exc_value() noexcept:
|
||||
# to the exception.
|
||||
try:
|
||||
handled = sys.last_value
|
||||
- except AttributeError:
|
||||
+ except:
|
||||
pass
|
||||
else:
|
||||
if <PyObject*>handled is cysigs.exc_value:
|
||||
@@ -388,7 +388,7 @@ cdef void verify_exc_value() noexcept:
|
||||
# references to our exception.
|
||||
try:
|
||||
collect()
|
||||
- except Exception:
|
||||
+ except:
|
||||
# This can happen when Python is shutting down and the gc module
|
||||
# is not functional anymore.
|
||||
pass
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3-cysignals'
|
||||
pkgname=python3-cysignals
|
||||
version=1.11.4
|
||||
revision=2
|
||||
revision=3
|
||||
# need gnu-configure build style to support cross build
|
||||
build_style=gnu-configure
|
||||
build_helper=python3
|
||||
|
|
Loading…
Add table
Reference in a new issue