File: cython3.patch

package info (click to toggle)
pygame-sdl2 8.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,192 kB
  • sloc: ansic: 9,677; python: 1,953; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Markus Koschany <apo@debian.org>
Date: Fri, 8 Jan 2021 19:47:27 +0100
Subject: cython3

---
 setuplib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/setuplib.py
+++ b/setuplib.py
@@ -62,7 +62,7 @@
 if windows:
     cython_command = os.path.join(os.path.dirname(sys.executable), "Scripts", "cython.exe")
 else:
-    cython_command = "cython"
+    cython_command = "cython3"
 
 if sys.version_info[0] >= 3:
     gen = "gen3"
@@ -249,6 +249,7 @@
                 version_flag,
                 "-X", "profile=False",
                 "-X", "embedsignature=True",
+                "-X", "legacy_implicit_noexcept=True",
                 "-Iinclude",
                 "-I" + gen,
                 "-a",