commit 9b72118e615978b71de136b7d62f91b9f49fd24c
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Jul 30 20:13:36 2018 +0200
Rename async.py modules to async_.py to avoid clash with async keyword
fs-uae-launcher.spec | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/fs-uae-launcher.spec b/fs-uae-launcher.spec
index 1123c7b..89cfdc9 100644
--- a/fs-uae-launcher.spec
+++ b/fs-uae-launcher.spec
@@ -39,6 +39,19 @@ FS-UAE Launcher is a graphical configuration program and launcher for
FS-UAE.
%prep
%autosetup -p0
+# In Python 3.7 async is a keyword, and so we can't have a module named async
+#
https://github.com/mcfletch/pyopengl/issues/14
+#
https://github.com/FrodeSolheim/fs-uae-launcher/issues/62
+#
https://src.fedoraproject.org/rpms/python-pyopengl/c/fcae096bceb00a479903...
+mv OpenGL/GL/SGIX/async.py \
+ OpenGL/GL/SGIX/async_.py
+
+mv OpenGL/raw/GL/SGIX/async.py \
+ OpenGL/raw/GL/SGIX/async_.py
+
+sed -i -e 's/from OpenGL.raw.GL.SGIX.async/from OpenGL.raw.GL.SGIX.async_/g' \
+ OpenGL/GL/SGIX/async_.py
+
# Remove bundled lib
rm -rf six