diff --git a/.gitignore b/.gitignore index f83a8dc..3c5d48c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /Python-*.tar.xz* -/python-docs-theme-2018.7.tar.gz +/python-docs-theme-*.tar.gz diff --git a/20383.patch b/20383.patch new file mode 100644 index 0000000..7d078b1 --- /dev/null +++ b/20383.patch @@ -0,0 +1,26 @@ +diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc +index c39048d..c8f6e8f 100644 +--- a/Doc/using/venv-create.inc ++++ b/Doc/using/venv-create.inc +@@ -91,7 +91,7 @@ The command, if run with ``-h``, will show the available options:: + PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser + + See `About Execution Policies +- `_ ++ `_ + for more information. + + The created ``pyvenv.cfg`` file also includes the +diff --git a/Lib/venv/scripts/common/Activate.ps1 b/Lib/venv/scripts/common/Activate.ps1 +index 90af274..2fb3852 100644 +--- a/Lib/venv/scripts/common/Activate.ps1 ++++ b/Lib/venv/scripts/common/Activate.ps1 +@@ -45,7 +45,7 @@ command: + PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser + + For more information on Execution Policies: +-ttps:/go.microsoft.com/fwlink/?LinkID=135170 ++https://go.microsoft.com/fwlink/?LinkID=135170 + + #> + Param( diff --git a/20388.patch b/20388.patch new file mode 100644 index 0000000..0b61f2d --- /dev/null +++ b/20388.patch @@ -0,0 +1,94 @@ +From 2a34ba728bc16b02ff5b5e53ec572e018edb2cf4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Mon, 25 May 2020 17:35:49 +0200 +Subject: [PATCH] bpo-39245: Fix docs links to the stable ABI + +--- + Doc/c-api/call.rst | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst +index 06db12666d787..0832e7e219360 100644 +--- a/Doc/c-api/call.rst ++++ b/Doc/c-api/call.rst +@@ -144,7 +144,7 @@ Vectorcall Support API + However, the function ``PyVectorcall_NARGS`` should be used to allow + for future extensions. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.8 + +@@ -158,7 +158,7 @@ Vectorcall Support API + This is mostly useful to check whether or not *op* supports vectorcall, + which can be done by checking ``PyVectorcall_Function(op) != NULL``. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.8 + +@@ -172,7 +172,7 @@ Vectorcall Support API + It does not check the :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag + and it does not fall back to ``tp_call``. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.8 + +@@ -256,7 +256,7 @@ please see individual documentation for details. + Return the result of the call on success, or raise an exception and return + *NULL* on failure. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + +@@ -343,7 +343,7 @@ please see individual documentation for details. + Return the result of the call on success, or raise an exception and return + *NULL* on failure. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + +@@ -357,7 +357,7 @@ please see individual documentation for details. + Return the result of the call on success, or raise an exception and return + *NULL* on failure. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + +@@ -372,7 +372,7 @@ please see individual documentation for details. + Return the result of the call on success, or raise an exception and return + *NULL* on failure. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + +@@ -388,7 +388,7 @@ please see individual documentation for details. + already has a dictionary ready to use for the keyword arguments, + but not a tuple for the positional arguments. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + +@@ -410,7 +410,7 @@ please see individual documentation for details. + Return the result of the call on success, or raise an exception and return + *NULL* on failure. + +- This function is not part of the `limited API `_. ++ This function is not part of the :ref:`limited API `. + + .. versionadded:: 3.9 + diff --git a/python3-docs.spec b/python3-docs.spec index 20af5b1..8527b2d 100644 --- a/python3-docs.spec +++ b/python3-docs.spec @@ -2,9 +2,9 @@ Name: python3-docs Summary: Documentation for the Python 3 programming language # The Version should be in-sync with the python3 package: -%global pybasever 3.8 -%global general_version %{pybasever}.2 -#global prerel ... +%global pybasever 3.9 +%global general_version %{pybasever}.0 +%global prerel b1 %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} Release: 1%{?dist} @@ -14,9 +14,15 @@ Source0: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.t Source1: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz.asc Source2: %{url}static/files/pubkeys.txt -%global theme_version 2018.7 +%global theme_version 2020.1 Source3: %{pypi_source python-docs-theme %{theme_version}} +# Fix typos in PowerShell Execution Policies links +# https://github.com/python/cpython/pull/20383 (rebased for line endings mix up) +Patch1: 20383.patch +# Fix docs links to the stable ABI +Patch2: https://github.com/python/cpython/pull/20388.patch + BuildArch: noarch Recommends: python3 = %{version} @@ -72,6 +78,9 @@ linkchecker \ %doc Misc/NEWS Misc/HISTORY Misc/README Doc/build/html %changelog +* Mon May 25 2020 Miro HronĨok - 3.9.0~b1-1 +- Update to 3.9.0b1 + * Wed Mar 25 2020 Tomas Hrnciar - 3.8.2-1 - Update to 3.8.2 diff --git a/sources b/sources index 84ff48f..5ded7c3 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (Python-3.8.2.tar.xz) = ca37ad0e7c5845f5f228566aa8ff654a8f428c7d4a5aaabff29baebb0ca3219b31ba8bb2607f89e37cf3fc564f023b8407e53a4f2c47bd99122c1cc222613e37 -SHA512 (Python-3.8.2.tar.xz.asc) = 765796ab5539576bbf1578e05cdb041dbc9a9ca0d6d2040a473a00a293b49f90be11ea6e33b47889da33b25f8e360fad4adeec292f0d43e5fae233d1f03bafd2 -SHA512 (python-docs-theme-2018.7.tar.gz) = 2d06eb3b39221fe3f0244866c475518ced30ac318d57dc97cc53cfe8ac3be165265ad8f37e2123ada0b7f5d5db769601a34fbec734a8f489e2a28d66b1d456dc +SHA512 (Python-3.9.0b1.tar.xz) = ed82ed2ef58940129d940b613c6495517741ebf3d6834b1e2498b294f1c4485d1cb180455d345937fe5a1da529a9df6278a17e7fe6aa5a4c6151745119b866bb +SHA512 (Python-3.9.0b1.tar.xz.asc) = 57d9fe67a7e876298288229c45c102ed01d67453be06d183a3ceab65cd8f52ca2fb8328466c4b536892cf1fa06297edc733eb3b2998bc3d4138d428c14f22ebe +SHA512 (python-docs-theme-2020.1.tar.gz) = df5d714c02dffece5eebf7df1964b76a98e2623bf2d40c0a524530d36773ebe8fd79f707066bd3374607038e0c63695d5bccead8778670e2d0caf3c7be593c8e