mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
python3-Cython: update to 3.0.12.
This commit is contained in:
parent
6cffdcc52d
commit
fe67a2a634
2 changed files with 3 additions and 20 deletions
|
@ -1,17 +0,0 @@
|
||||||
Revert https://github.com/cython/cython/pull/6124 which causes a
|
|
||||||
serious regression, e.g. sagemath FTBS with cython 3.0.11
|
|
||||||
|
|
||||||
--- a/Cython/Compiler/Nodes.py
|
|
||||||
+++ b/Cython/Compiler/Nodes.py
|
|
||||||
@@ -710,10 +710,8 @@ class CFuncDeclaratorNode(CDeclaratorNode):
|
|
||||||
and not self.has_explicit_exc_clause
|
|
||||||
and self.exception_check
|
|
||||||
and visibility != 'extern'):
|
|
||||||
- # If function is already declared from pxd, the exception_check has already correct value.
|
|
||||||
- if not (self.declared_name() in env.entries and not in_pxd):
|
|
||||||
- self.exception_check = False
|
|
||||||
# implicit noexcept, with a warning
|
|
||||||
+ self.exception_check = False
|
|
||||||
warning(self.pos,
|
|
||||||
"Implicit noexcept declaration is deprecated."
|
|
||||||
" Function declaration should contain 'noexcept' keyword.",
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-Cython'
|
# Template file for 'python3-Cython'
|
||||||
pkgname=python3-Cython
|
pkgname=python3-Cython
|
||||||
version=3.0.11
|
version=3.0.12
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
|
@ -12,7 +12,7 @@ license="Apache-2.0"
|
||||||
homepage="https://cython.org/"
|
homepage="https://cython.org/"
|
||||||
changelog="https://raw.githubusercontent.com/cython/cython/master/CHANGES.rst"
|
changelog="https://raw.githubusercontent.com/cython/cython/master/CHANGES.rst"
|
||||||
distfiles="${PYPI_SITE}/c/cython/cython-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cython/cython-${version}.tar.gz"
|
||||||
checksum=7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff
|
checksum=b988bb297ce76c671e28c97d017b95411010f7c77fa6623dd0bb47eed1aee1bc
|
||||||
# Tests are flaky
|
# Tests are flaky
|
||||||
make_check=no
|
make_check=no
|
||||||
conflicts="python3-Cython0.29>=0"
|
conflicts="python3-Cython0.29>=0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue