fe0338f
Name:           python3-docs
fe0338f
Summary:        Documentation for the Python 3 programming language
e7e60eb
fe0338f
# The Version should be in-sync with the python3 package:
f8b3978
%global         pybasever 3.12
f8b3978
%global         general_version %{pybasever}.0
2da4015
%global         prerel rc2
fe0338f
%global         upstream_version %{general_version}%{?prerel}
fe0338f
Version:        %{general_version}%{?prerel:~%{prerel}}
c92fe61
Release:        1%{?dist}
fcb5033
# The documentation is licensed as Python itself: Python-2.0.1
fcb5033
# Examples, recipes, and other code in the documentation are dual licensed under Python-2.0.1/0BSD
fcb5033
License:        Python-2.0.1 AND (Python-2.0.1 OR 0BSD)
fe0338f
URL:            https://www.python.org/
5ce3d1a
Source0:        %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz
5ce3d1a
Source1:        %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz.asc
f8b3978
# The release manager for Python 3.12 is Thomas Wouters
f8b3978
Source2: https://github.com/Yhg1s.gpg
e7e60eb
fe0338f
BuildArch:      noarch
e7e60eb
fe0338f
Recommends:     python3 = %{version}
fe2e238
%{?python_provide:%python_provide %{name}}
fe2e238
398e7f0
BuildRequires: make
fe0338f
BuildRequires:  %{__python3}
0a9e2ca
BuildRequires:  python3-docs-theme >= 2022.1
7b1c53e
BuildRequires:  (python3-sphinx < 1:3 or python3-sphinx >= 1:3.2)
fe0338f
BuildRequires:  python3-docutils
fe0338f
BuildRequires:  python3-pygments
5ce3d1a
BuildRequires:  gnupg2
e7e60eb
fe0338f
%bcond_without linkchecker
fe0338f
%if %{with linkchecker}
fe0338f
BuildRequires:  linkchecker
e7e60eb
%endif
e7e60eb
e7e60eb
e7e60eb
%description
e7e60eb
The python3-docs package contains documentation on the Python 3
e7e60eb
programming language and interpreter.
e7e60eb
e7e60eb
%prep
5ce3d1a
%gpgverify -k2 -s1 -d0
fe0338f
%autosetup -p1 -n Python-%{upstream_version}
fe0338f
e7e60eb
%build
074a861
make -C Doc html PYTHON=%{__python3}
e7e60eb
rm Doc/build/html/.buildinfo
e7e60eb
e7e60eb
%install
fe0338f
mkdir -p %{buildroot}
e7e60eb
e7e60eb
%check
e7e60eb
# Verify that all of the local links work (see rhbz#670493 - doesn't apply
e7e60eb
# to python3-docs, but only to older python-docs)
e7e60eb
#
e7e60eb
# (we can't check network links, as we shouldn't be making network connections
e7e60eb
# within a build.  Also, don't bother checking the .txt source files; some
e7e60eb
# contain example URLs, which don't work)
fe0338f
%if %{with linkchecker}
e7e60eb
linkchecker \
e7e60eb
  --ignore-url=^mailto: --ignore-url=^http --ignore-url=^ftp \
14004de
  --ignore-url=.txt\$ --no-warnings \
e7e60eb
  Doc/build/html/index.html
e7e60eb
%endif
e7e60eb
e7e60eb
%files
e7e60eb
%doc Misc/NEWS Misc/HISTORY Misc/README Doc/build/html
e7e60eb
e7e60eb
%changelog
2da4015
* Wed Sep 06 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~rc2-1
2da4015
- Update to 3.12.0rc2
2da4015
c92fe61
* Wed Aug 09 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~rc1-1
c92fe61
- Update to 3.12.0rc1
c92fe61
04a32ac
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0~b4-2
04a32ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
04a32ac
66f9f4c
* Wed Jul 12 2023 Miro Hrončok <mhroncok@redhat.com> - 3.12.0~b4-1
66f9f4c
- Update to 3.12.0b4
66f9f4c
f8b3978
* Mon Jun 19 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~b3-1
f8b3978
- Update to 3.12.0b3
f8b3978
cd65a36
* Mon Jun 19 2023 Python Maint <python-maint@redhat.com> - 3.11.4-2
cd65a36
- Rebuilt for Python 3.12
cd65a36
ad7c5ab
* Wed Jun 07 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.4-1
ad7c5ab
- Update to 3.11.4
ad7c5ab
324d791
* Wed Apr 05 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.3-1
324d791
- Update to 3.11.3
324d791
306196c
* Mon Feb 13 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.2-1
306196c
- Update to 3.11.2
306196c
d4b48d5
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.1-2
d4b48d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d4b48d5
fdd8700
* Wed Dec 07 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.1-1
fdd8700
- Update to 3.11.1
fdd8700
5aff7fa
* Mon Oct 24 2022 Miro Hrončok <mhroncok@redhat.com> - 3.11.0-1
5aff7fa
- Update to 3.11.0
5aff7fa
ee2be41
* Tue Sep 13 2022 Miro Hrončok <mhroncok@redhat.com> - 3.11.0~rc2-1
ee2be41
- Update to 3.11.0rc2
ee2be41
956b11d
* Mon Aug 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.0~rc1-1
956b11d
- Update to 3.11.0rc1
956b11d
cd9bc5a
* Tue Jul 26 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.0~b5-1
cd9bc5a
- Update to 3.11.0b5
cd9bc5a
151cab4
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0~b4-2
151cab4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
151cab4
f6230be
* Tue Jul 12 2022 Miro Hrončok <mhroncok@redhat.com> - 3.11.0~b4-1
f6230be
- Update to 3.11.0b4
f6230be
3b4c91a
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.11.0~b3-2
3b4c91a
- Rebuilt for Python 3.11
3b4c91a
93a55b5
* Mon Jun 13 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.0~b3-1
93a55b5
- Update to 3.11.0b3
93a55b5
9cd34f5
* Tue Jun 07 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.5-1
9cd34f5
- Update to 3.10.5
9cd34f5
fb2bc59
* Fri Mar 25 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.4-1
fb2bc59
- Update to 3.10.4
fb2bc59
3304320
* Fri Mar 18 2022 Miro Hrončok <mhroncok@redhat.com> - 3.10.3-1
3304320
- Update to 3.10.3
3304320
be8fb79
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.2-2
be8fb79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
be8fb79
0a9e2ca
* Mon Jan 17 2022 Miro Hrončok <mhroncok@redhat.com> - 3.10.2-1
0a9e2ca
- Update to 3.10.2
0a9e2ca
b6a70d4
* Tue Dec 07 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.1-1
b6a70d4
- Update to 3.10.1
b6a70d4
98df502
* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10.0-1
98df502
- Update to 3.10.0 final
98df502
ec49233
* Thu Sep 09 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.10.0~rc2-1
ec49233
- Update to 3.10.0rc2
ec49233
aae4b82
* Wed Aug 04 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.10.0~rc1-1
aae4b82
- Update to 3.10.0rc1
aae4b82
d9edb40
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0~b4-2
d9edb40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d9edb40
ef2c8a1
* Sun Jul 11 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10.0~b4-1
ef2c8a1
- Update to 3.10.0b4
ef2c8a1
e7e023f
* Tue Jun 22 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10.0~b3-1
e7e023f
- Update to 3.10.0b3
e7e023f
e07114d
* Tue Jun 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.10.0~b2-1
e07114d
- Update to 3.10.0b2
e07114d
15ffa9f
* Wed May 05 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.9.5-1
15ffa9f
- Update to 3.9.5
15ffa9f
9ef563c
* Tue Apr 06 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.9.4-1
9ef563c
- Update to 3.9.4
9ef563c
d7bd6e3
* Mon Mar 08 2021 Lumír Balhar <lbalhar@redhat.com> - 3.9.2-2
d7bd6e3
- Unbundle python-docs-theme
d7bd6e3
b0ff586
* Mon Mar 08 2021 Lumír Balhar <lbalhar@redhat.com> - 3.9.2-1
b0ff586
- Update to 3.9.2
b0ff586
f7cf495
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.1-2
f7cf495
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f7cf495
0f395d2
* Tue Dec 08 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.9.1-1
0f395d2
- Update to 3.9.1 final
0f395d2
a522332
* Tue Oct 06 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0-1
a522332
- Update to 3.9.0 final
a522332
7b1c53e
* Thu Sep 17 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~rc2-1
7b1c53e
- Update to 3.9.0rc2
7b1c53e
09900ab
* Thu Aug 13 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~rc1-1
09900ab
- Update to 3.9.0rc1
eb986ee
134c0ea
* Tue Jul 21 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~b5-1
134c0ea
- Update to 3.9.0b5
134c0ea
2b52e2c
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~b1-1
2b52e2c
- Update to 3.9.0b1
2b52e2c
5ce3d1a
* Wed Mar 25 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.8.2-1
5ce3d1a
- Update to 3.8.2
5ce3d1a
5cfcbf5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-2
5cfcbf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5cfcbf5
616b713
* Tue Oct 29 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0-1
616b713
- Update to 3.8.0
616b713
d4aeac9
* Fri Oct 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~rc1-1
d4aeac9
- Update to 3.8.0rc1
d4aeac9
fe0338f
* Thu Sep 05 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b4-1
fe0338f
- Update to 3.8.0b4
fe0338f
639294d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-2
639294d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
639294d
e7517b0
* Tue Jul 09 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-1
e7517b0
- Update to 3.7.4
e7517b0
ba320ad
* Thu Apr 25 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.3-1
ba320ad
- Update to 3.7.3
ba320ad
e83f79d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
e83f79d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e83f79d
25cc002
* Tue Dec 25 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-1
25cc002
- Update to 3.7.2
25cc002
9299ab9
* Thu Dec 06 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-1
9299ab9
- Update to 3.7.1
9299ab9
577aec9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-0.2.rc1
577aec9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
577aec9
7ffd1c3
* Wed Jun 20 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.1.rc1
7ffd1c3
- Update to 3.7.0rc1
7ffd1c3
aaa90c9
* Thu Apr 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-2
aaa90c9
- Only recommend the python3 package
aaa90c9
0f89eec
* Thu Apr 05 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.5-1
0f89eec
- Update to 3.6.5
0f89eec
a187cc5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.4-2
a187cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a187cc5
14004de
* Tue Jan 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-1
14004de
- Update to version 3.6.4
14004de
e319186
* Mon Oct 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-1
e319186
- Update to version 3.6.3
e319186
ec02a6f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-2
ec02a6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ec02a6f
d5a2407
* Mon Jul 24 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-1
d5a2407
- Update to version 3.6.2
d5a2407
Iryna Shcherbina 8eb336d
* Wed Mar 22 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.1-1
Iryna Shcherbina 8eb336d
- Update to version 3.6.1 final
Iryna Shcherbina 8eb336d
Iryna Shcherbina dd39662
* Fri Mar 17 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.1-0.1.rc1
Iryna Shcherbina dd39662
- Update to 3.6.1 release candidate 1
Iryna Shcherbina dd39662
c6624a0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
c6624a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c6624a0
3ad630a
* Mon Jan 02 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-1
b8a4ae7
- Update to current version
b8a4ae7
47fc7ee
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.2-2
47fc7ee
- Rebuild for Python 3.6
47fc7ee
a2c3a32
* Mon Aug 22 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-1
a2c3a32
- Update to current version
a2c3a32
- Removed use-classic-theme.patch as it was no longer necessary
a2c3a32
8a8232f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
8a8232f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8a8232f
Robert Kuska 5ab4cb4
* Mon Dec 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.1-1
Robert Kuska 5ab4cb4
- Update to current version
Robert Kuska 5ab4cb4
7e22738
* Mon Nov 16 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.5.0-1
7e22738
- Update to current version
7e22738
dfe85e5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-2
dfe85e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dfe85e5
Matej Stuchlik 23982b7
* Wed Apr 15 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-1
Matej Stuchlik 23982b7
- Rebuild for Python 3.4.3
Matej Stuchlik 23982b7
Matej Stuchlik 4f85913
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-1
Matej Stuchlik 4f85913
- Rebuilt for Python 3.4.2
Matej Stuchlik 4f85913
d041acf
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
d041acf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d041acf
2adbfac
* Thu May 29 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.1-1
2adbfac
- Rebuilt for Python 3.4.1
2adbfac
e7e60eb
* Mon Sep 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-2
e7e60eb
- Patch docs build to use locally installed python3-sphinx.
e7e60eb
e7e60eb
* Wed Sep 04 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-1
e7e60eb
- Initial package, spec adapted from python-docs.