Update to Python 3.9.0a6

Sed a SyntaxError out not to bother with a patch that would most likely go away in a7.

No other patch changes.
This commit is contained in:
Miro Hrončok 2020-04-29 01:42:28 +02:00
commit 341bcbc115
8 changed files with 30 additions and 22 deletions

View file

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
%global general_version %{pybasever}.0
%global prerel a5
%global prerel a6
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
@ -626,6 +626,10 @@ rm Lib/ensurepip/_bundled/*.whl
%patch274 -p1
%patch328 -p1
# https://bugs.python.org/issue40431
# https://github.com/python/cpython/pull/19777
sed -i 's/ else"/ else "/' Lib/turtledemo/__main__.py
# Remove files that should be generated by the build
# (This is after patching, so that we can use patches directly from upstream)
@ -870,6 +874,7 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/_
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
install -D -m 0644 Lib/idlelib/Icons/idle_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle3.png
install -D -m 0644 Lib/idlelib/Icons/idle_256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/idle3.png
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE10}
# Install and validate appdata file
@ -1569,6 +1574,9 @@ CheckPython optimized
# ======================================================
%changelog
* Tue Apr 28 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a6-1
- Update to Python 3.9.0a6
* Tue Mar 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a5-1
- Update to Python 3.9.0a5