ee57f07
Name:           python-manuel
8e27b24
Version:        1.12.4
3635999
Release:        7%{?dist}
de72b3f
Summary:        Build tested documentation
de72b3f
708e529
# The content is Apache-2.0.  Other licenses are due to files copied in by
708e529
# Sphinx.
708e529
# _static/_sphinx_javascript_frameworks_compat.js: BSD-2-Clause
708e529
# _static/alabaster.css: BSD-3-Clause
708e529
# _static/basic.css: BSD-2-Clause
708e529
# _static/check-solid.svg: MIT
708e529
# _static/clipboard.min.js: MIT
708e529
# _static/copy-button.svg: MIT
708e529
# _static/copybutton.css: MIT
708e529
# _static/copybutton.js: MIT
708e529
# _static/copybutton_funcs.js: MIT
708e529
# _static/custom.css: BSD-3-Clause
708e529
# _static/doctools.js: BSD-2-Clause
708e529
# _static/documentation_options.js: BSD-2-Clause
708e529
# _static/file.png: BSD-2-Clause
708e529
# _static/jquery*.js: MIT
708e529
# _static/language_data.js: BSD-2-Clause
708e529
# _static/minus.png: BSD-2-Clause
708e529
# _static/plus.png: BSD-2-Clause
708e529
# _static/searchtools.js: BSD-2-Clause
708e529
# _static/underscore*.js: MIT
708e529
# genindex.html: BSD-2-Clause
708e529
# search.html: BSD-2-Clause
708e529
# searchindex.js: BSD-2-Clause
708e529
License:        Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT
Jerry James 12d934c
URL:            https://pypi.python.org/pypi/manuel
ee57f07
Source0:        https://github.com/benji-york/manuel/archive/%{version}/manuel-%{version}.tar.gz
48c72b7
# Work around a test failure due to more explicit names in python 3.11
48c72b7
Patch0:         %{name}-test.patch
13b49d7
de72b3f
BuildArch:      noarch
f4ea4af
f4ea4af
BuildRequires:  python3-devel
ee57f07
BuildRequires:  %{py3_dist myst-parser}
3d32b03
BuildRequires:  %{py3_dist sphinx}
ee57f07
BuildRequires:  %{py3_dist sphinx-copybutton}
de72b3f
fc0dc88
%description
fc0dc88
Manuel lets you mix and match traditional doctests with custom test
fc0dc88
syntax.  Several plug-ins are included that provide new test syntax.
fc0dc88
You can also create your own plug-ins.
fc0dc88
ee57f07
%package -n python3-manuel
fc0dc88
Summary:        Build tested documentation
708e529
Provides:       bundled(js-jquery)
Jerry James 2f669a1
ee57f07
%description -n python3-manuel
9c84aae
Manuel lets you mix and match traditional doctests with custom test
9c84aae
syntax.  Several plug-ins are included that provide new test syntax.
9c84aae
You can also create your own plug-ins.
9c84aae
de72b3f
%prep
ee57f07
%autosetup -n manuel-%{version} -p1
195898b
8375a0c
%generate_buildrequires
8375a0c
%pyproject_buildrequires -x tests
8375a0c
de72b3f
%build
eb20fd6
%pyproject_wheel
add5448
sphinx-build -c sphinx src/manuel docs
Jerry James 889779a
rm -fr docs/.buildinfo docs/.doctrees
9c84aae
0ee56ac
rst2html --no-datestamp CHANGES.rst CHANGES.html
0ee56ac
de72b3f
%install
eb20fd6
%pyproject_install
ee57f07
%pyproject_save_files manuel
195898b
de72b3f
%check
ee57f07
export PYTHONPATH=$PWD/build/lib
ee57f07
cp -p src/manuel/myst-markdown.md build/lib/manuel
13b49d7
%{python3} -m unittest manuel.tests.test_suite
9c84aae
ee57f07
%files -n python3-manuel -f %{pyproject_files}
0ee56ac
%doc CHANGES.html docs/*
ee57f07
%license COPYRIGHT.rst
de72b3f
de72b3f
%changelog
3635999
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-7
3635999
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3635999
5523307
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-6
5523307
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5523307
ee8c9ee
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-5
ee8c9ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
ee8c9ee
26b3ec6
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 1.12.4-4
26b3ec6
- Rebuilt for Python 3.12
26b3ec6
8375a0c
* Thu Feb 23 2023 Jerry James <loganjerry@gmail.com> - 1.12.4-3
8375a0c
- Dynamically generate BuildRequires
8375a0c
edecb09
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-3
edecb09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
edecb09
708e529
* Tue Dec 13 2022 Jerry James <loganjerry@gmail.com> - 1.12.4-2
708e529
- Convert License tag to SPDX
708e529
f371810
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-2
f371810
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f371810
8e27b24
* Fri Jun 24 2022 Jerry James <loganjerry@gmail.com> - 1.12.4-1
8e27b24
- Version 1.12.4
8e27b24
48c72b7
* Mon Jun 20 2022 Jerry James <loganjerry@gmail.com> - 1.11.2-2
48c72b7
- Add -test patch to work around test failure with python 3.11
48c72b7
e25c56e
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.11.2-2
e25c56e
- Rebuilt for Python 3.11
e25c56e
ee57f07
* Mon May 16 2022 Jerry James <loganjerry@gmail.com> - 1.11.2-1
ee57f07
- Version 1.11.2
ee57f07
- Drop upstreamed python 3.11 patch
ee57f07
13b49d7
* Wed Feb 23 2022 Jerry James <loganjerry@gmail.com> - 1.10.1-15
13b49d7
- Add patch for python 3.11 compatibility
13b49d7
ea75a65
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-14
ea75a65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ea75a65
2fe2857
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-13
2fe2857
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2fe2857
3277b58
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.10.1-12
3277b58
- Rebuilt for Python 3.10
3277b58
921755a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-11
921755a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
921755a
2408dbd
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-10
2408dbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2408dbd
5599204
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.10.1-9
5599204
- Rebuilt for Python 3.9
5599204
c9880f9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-8
c9880f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c9880f9
a0e2125
* Wed Oct 16 2019 Jerry James <loganjerry@gmail.com> - 1.10.1-7
a0e2125
- Use zope.testing instead of zope.testrunner
a0e2125
add5448
* Mon Sep 16 2019 Jerry James <loganjerry@gmail.com> - 1.10.1-6
add5448
- Drop the python2 subpackage (bz 1752149)
add5448
644e7ad
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10.1-5
644e7ad
- Rebuilt for Python 3.8
644e7ad
50d3287
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-4
50d3287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
50d3287
a9acd6c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
a9acd6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a9acd6c
ae0a369
* Sat Nov 17 2018 Jerry James <loganjerry@gmail.com> - 1.10.1-2
ae0a369
- Restore accidentally dropped python3 subpackage
ae0a369
ec75ec9
* Sat Nov 17 2018 Jerry James <loganjerry@gmail.com> - 1.10.1-1
ec75ec9
- New upstream release
ec75ec9
07584aa
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-5
07584aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
07584aa
f58707e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.9.0-4
f58707e
- Rebuilt for Python 3.7
f58707e
63ea235
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.0-3
63ea235
- Update Python 2 dependency declarations to new packaging standards
63ea235
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
63ea235
024f610
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
024f610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
024f610
c553727
* Mon Jan 29 2018 Jerry James <loganjerry@gmail.com> - 1.9.0-1
c553727
- New upstream release
c553727
49f54f2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
49f54f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
49f54f2
7235fa6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
7235fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7235fa6
c16ba3f
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-7
c16ba3f
- Rebuild for Python 3.6
c16ba3f
25f95ab
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-6
25f95ab
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
25f95ab
ed6e6b7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
ed6e6b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ed6e6b7
fc0dc88
* Mon Feb  1 2016 Jerry James <loganjerry@gmail.com> - 1.8.0-4
fc0dc88
- Comply with latest python packaging guidelines
fc0dc88
bf0156f
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-4
bf0156f
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
bf0156f
36e324e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-3
36e324e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
36e324e
Jerry James 92b5448
* Sat Feb 21 2015 Jerry James <loganjerry@gmail.com> - 1.8.0-2
Jerry James 92b5448
- Note bundled jquery
Jerry James 92b5448
Jerry James 889779a
* Wed Jul 23 2014 Jerry James <loganjerry@gmail.com> - 1.8.0-1
Jerry James 889779a
- New upstream release
Jerry James 889779a
- Drop upstreamed patch
Jerry James 889779a
- Drop conf.py, now included in upstream source
Jerry James 889779a
- Avoid use of py3dir, which is not cleaned
Jerry James 889779a
0606d8e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-6
0606d8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0606d8e
770d92a
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7.2-5
770d92a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
770d92a
195898b
* Fri Jan 24 2014 Ralph Bean <rbean@redhat.com> - 1.7.2-4
195898b
- Conditionalized python3 for epel builds.
195898b
- Defined python2 macros for el6.
195898b
- Added python3 tests to the check section.
195898b
Jerry James 12d934c
* Thu Oct  3 2013 Jerry James <loganjerry@gmail.com> - 1.7.2-3
Jerry James 12d934c
- Update project and source URLs
Jerry James 12d934c
d572c8c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
d572c8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d572c8c
Jerry James 218702d
* Mon Mar 18 2013 Jerry James <loganjerry@gmail.com> - 1.7.2-1
Jerry James 218702d
- New upstream release
Jerry James 218702d
Jerry James 2f669a1
* Wed Feb 27 2013 Jerry James <loganjerry@gmail.com> - 1.7.1-2
Jerry James 2f669a1
- Add python-six Requires (bz 915431)
Jerry James 2f669a1
Jerry James e3d611c
* Tue Feb 19 2013 Jerry James <loganjerry@gmail.com> - 1.7.1-1
Jerry James e3d611c
- New upstream release
Jerry James e3d611c
Jerry James 4726771
* Mon Jan 28 2013 Jerry James <loganjerry@gmail.com> - 1.6.1-1
Jerry James 4726771
- New upstream release
Jerry James 4726771
a942447
* Fri Aug 10 2012 Jerry James <loganjerry@gmail.com> - 1.6.0-3
a942447
- Rebuild for python 3.3
a942447
06dc166
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
06dc166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
06dc166
9c84aae
* Mon Apr 23 2012 Jerry James <loganjerry@gmail.com> - 1.6.0-1
9c84aae
- New upstream release
9c84aae
- Python3 subpackage now possible
9c84aae
6b69a3a
* Tue Jan 10 2012 Jerry James <loganjerry@gmail.com> - 1.5.0-4
6b69a3a
- Rebuild for bz 772699
6b69a3a
e6bc693
* Sun Jan  8 2012 Jerry James <loganjerry@gmail.com> - 1.5.0-3
e6bc693
- Mass rebuild for Fedora 17
e6bc693
de72b3f
* Wed Apr 27 2011 Jerry James <loganjerry@gmail.com> - 1.5.0-2
de72b3f
- Do not Require python-zope-testing
de72b3f
- Change Group to Development/Libraries
de72b3f
- Remove text files from python_sitelib; they are already in docs
de72b3f
de72b3f
* Tue Apr 26 2011 Jerry James <loganjerry@gmail.com> - 1.5.0-1
de72b3f
- Initial RPM