Update to new upstream release 3.1.4

This commit is contained in:
Scott Talbert 2019-12-01 16:29:22 -05:00
parent 4b08fdf265
commit 54dbca9c1d
3 changed files with 9 additions and 20 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/PyOpenGL-accelerate-3.1.1a1.tar.gz
/formathandler.pxd
/wrapper.pxd
/PyOpenGL-3.1.4.tar.gz
/PyOpenGL-accelerate-3.1.4.tar.gz

View File

@ -2,8 +2,8 @@
%global shortname pyopengl
Name: python-%{shortname}
Version: 3.1.1a1
Release: 21%{?dist}
Version: 3.1.4
Release: 1%{?dist}
Summary: Python bindings for OpenGL
License: BSD
URL: https://github.com/mcfletch/pyopengl
@ -61,24 +61,8 @@ Requires: python3-tkinter
# Add missing .pxd files
# https://github.com/mcfletch/pyopengl/issues/12
mkdir %{srcname}-accelerate-%{version}/OpenGL_accelerate
cp %{SOURCE2} %{SOURCE3} %{srcname}-accelerate-%{version}/OpenGL_accelerate
cat > %{srcname}-accelerate-%{version}/OpenGL_accelerate/__init__.py <<EOF
__version__ = %{version}
EOF
# 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
mv %{srcname}-%{version}/OpenGL/GL/SGIX/async.py \
%{srcname}-%{version}/OpenGL/GL/SGIX/async_.py
mv %{srcname}-%{version}/OpenGL/raw/GL/SGIX/async.py \
%{srcname}-%{version}/OpenGL/raw/GL/SGIX/async_.py
sed -i -e 's/from OpenGL.raw.GL.SGIX.async/from OpenGL.raw.GL.SGIX.async_/g' \
%{srcname}-%{version}/OpenGL/GL/SGIX/async_.py
%build
# Delete all Cython generated .c files to force a rebuild in py3_build
# (py2_build then reuses the Cython output)
@ -126,6 +110,9 @@ popd
%changelog
* Sun Dec 01 2019 Scott Talbert <swt@techie.net> - 3.1.4-1
- Update to new upstream release 3.1.4
* Tue Nov 19 2019 Scott Talbert <swt@techie.net> - 3.1.1a1-21
- Remove Python 2 support

View File

@ -1,4 +1,4 @@
SHA512 (PyOpenGL-3.1.1a1.tar.gz) = 8f4f57b153ee014dc238fe83180cc92f8e789a274fc6b0cbef6f5dec9dbc44cb1ae1f6b142a6c2b4c8c000709338d64f5968939eeb6a2384f87fb63ae99b40d8
SHA512 (PyOpenGL-accelerate-3.1.1a1.tar.gz) = 6881e3b435da5a33ff31c0991f403166236b44a5bd21ca60418d131dafc1159d6b1c73e60b935d1761d4fc848b824422abbe0e850fe860fa694b64536dddc35c
SHA512 (PyOpenGL-3.1.4.tar.gz) = daddd91d6e4e5c731cb335c2a780388fbbc6829d819275d3daedea84f4c75e94de25608e0297abc339250c6dc11431ca653777287c2ca098b3e7f64473eac16e
SHA512 (PyOpenGL-accelerate-3.1.4.tar.gz) = ead92c4ac8047379e8cbde4189e04ef0e25265f472c3eac089a81ebad271fba6f646cfdd43402b21966de5ee20ccab7e27faf94771adb1a93ccad8a3eaf610e8
SHA512 (formathandler.pxd) = c7d846aaf9b3af526ae8870d9821846ddbfb132b4db05a974f0198dea9bf76684f4473bb6ba88e0c6dd3732865b1963489a506dca91d0613b53af598e4fdb684
SHA512 (wrapper.pxd) = cc8c06550fb365929ca0fae237298ad64c2d4c14fda8963ab0601bd55c9b43c15787bd77784419d8590335fee4be73b916a19436a752f33ceedc7d6ab3e48c9e