|
|
204be76 |
%global pypi_name sybil
|
|
|
204be76 |
|
|
|
204be76 |
Name: python-%{pypi_name}
|
|
|
6e47ba6 |
Version: 6.0.3
|
|
|
6e47ba6 |
Release: 1%{?dist}
|
|
|
204be76 |
Summary: Automated testing for the examples in your documentation
|
|
|
204be76 |
|
|
|
204be76 |
License: MIT
|
|
|
204be76 |
URL: https://sybil.readthedocs.io/
|
|
|
204be76 |
Source0: https://github.com/cjw296/sybil/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
18a7aec |
# seedir is not available in Fedora yet
|
|
|
18a7aec |
Patch: drop-dependency-on-seedir.patch
|
|
|
204be76 |
BuildArch: noarch
|
|
|
204be76 |
|
|
|
204be76 |
%description
|
|
|
204be76 |
This library provides a way to test examples in your documentation by parsing
|
|
|
204be76 |
them from the documentation source and evaluating the parsed examples as part
|
|
|
204be76 |
of your normal test run. Integration is provided for the three main Python
|
|
|
204be76 |
test runners.
|
|
|
204be76 |
|
|
|
204be76 |
%package -n python3-%{pypi_name}
|
|
|
204be76 |
Summary: %{summary}
|
|
|
204be76 |
|
|
|
9f56b4e |
BuildRequires: make
|
|
|
204be76 |
BuildRequires: python3-devel
|
|
|
a356bb3 |
BuildRequires: python3-setuptools
|
|
|
204be76 |
BuildRequires: python3-pytest
|
|
|
204be76 |
BuildRequires: python3-pytest-cov
|
|
|
18a7aec |
BuildRequires: python3-testfixtures
|
|
|
6e47ba6 |
BuildRequires: python3-pyyaml
|
|
|
204be76 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
204be76 |
|
|
|
204be76 |
%description -n python3-%{pypi_name}
|
|
|
204be76 |
This library provides a way to test examples in your documentation by parsing
|
|
|
204be76 |
them from the documentation source and evaluating the parsed examples as part
|
|
|
204be76 |
of your normal test run. Integration is provided for the three main Python
|
|
|
204be76 |
test runners.
|
|
|
204be76 |
|
|
|
204be76 |
%prep
|
|
|
7154f7f |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
6e47ba6 |
sed -i "/seeddir/d" setup.py
|
|
|
204be76 |
|
|
|
204be76 |
%build
|
|
|
204be76 |
%py3_build
|
|
|
204be76 |
|
|
|
204be76 |
%install
|
|
|
204be76 |
%py3_install
|
|
|
204be76 |
|
|
|
204be76 |
%check
|
|
|
9f56b4e |
%{pytest} tests
|
|
|
204be76 |
|
|
|
204be76 |
%files -n python3-%{pypi_name}
|
|
|
204be76 |
%doc README.rst
|
|
|
204be76 |
%license docs/license.rst
|
|
|
204be76 |
%{python3_sitelib}/*.egg-info
|
|
|
204be76 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
204be76 |
|
|
|
204be76 |
%changelog
|
|
|
6e47ba6 |
* Sun Apr 07 2024 Fabian Affolter <mail@fabian-affolter.ch> - 6.0.3-1
|
|
|
6e47ba6 |
- Update to latest upstream version 6.0.3
|
|
|
6e47ba6 |
|
|
|
ba40555 |
* Thu Apr 04 2024 Karolina Surma <ksurma@redhat.com> - 5.0.3-5
|
|
|
ba40555 |
- Remove the compatibility patch - since Python 3.13.0a4 it's not needed
|
|
|
ba40555 |
|
|
|
64d4953 |
* Tue Feb 06 2024 Miro Hrončok <mhroncok@redhat.com> - 5.0.3-4
|
|
|
64d4953 |
- Add patch for Python 3.13.0a3+ compatibility
|
|
|
64d4953 |
|
|
|
dd9b581 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-3
|
|
|
dd9b581 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
dd9b581 |
|
|
|
a30f2fc |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
|
|
|
a30f2fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
a30f2fc |
|
|
|
18a7aec |
* Wed Aug 09 2023 Lumír Balhar <lbalhar@redhat.com> - 5.0.3-1
|
|
|
18a7aec |
- Update to 5.0.3 (rhbz#2156205)
|
|
|
18a7aec |
|
|
|
9ea62ca |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-6
|
|
|
9ea62ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
9ea62ca |
|
|
|
7172cbe |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.0.1-5
|
|
|
7172cbe |
- Rebuilt for Python 3.12
|
|
|
7172cbe |
|
|
|
13fa240 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-4
|
|
|
13fa240 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
13fa240 |
|
|
|
ba0bfce |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-3
|
|
|
ba0bfce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
ba0bfce |
|
|
|
8cf77bb |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.0.1-2
|
|
|
8cf77bb |
- Rebuilt for Python 3.11
|
|
|
8cf77bb |
|
|
|
9f56b4e |
* Fri Feb 25 2022 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.1-1
|
|
|
9f56b4e |
- Update to latest upstream release 3.0.1 (closes rhbz#2017563)
|
|
|
9f56b4e |
- Remove doc subpackage (missing dependency)
|
|
|
9f56b4e |
|
|
|
ed7c6d3 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
|
|
|
ed7c6d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ed7c6d3 |
|
|
|
b52f543 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
|
b52f543 |
- Second attempt - Rebuilt for
|
|
|
b52f543 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b52f543 |
|
|
|
2b3b33a |
* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.1-3
|
|
|
2b3b33a |
- Add patches for failing tests (#1908278)
|
|
|
2b3b33a |
|
|
|
4d5b57e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-3
|
|
|
4d5b57e |
- Rebuilt for Python 3.10
|
|
|
4d5b57e |
|
|
|
0f0e0bd |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
|
|
0f0e0bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0f0e0bd |
|
|
|
fce4836 |
* Wed Dec 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.1-1
|
|
|
fce4836 |
- Update to latest upstream release 2.0.1 (#1898712)
|
|
|
fce4836 |
|
|
|
b5b6df9 |
* Tue Nov 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.0-1
|
|
|
b5b6df9 |
- Update to latest upstream release 2.0.0 (#1898712)
|
|
|
b5b6df9 |
|
|
|
d4a3a3b |
* Thu Aug 06 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.0-1
|
|
|
b5b6df9 |
- Update to latest upstream release 1.4.0 (#1861675)
|
|
|
d4a3a3b |
|
|
|
6de620f |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
6de620f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6de620f |
|
|
|
a356bb3 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.0-3
|
|
|
a356bb3 |
- Add python3-setuptools as BR
|
|
|
a356bb3 |
|
|
|
5541494 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-2
|
|
|
5541494 |
- Rebuilt for Python 3.9
|
|
|
5541494 |
|
|
|
1be5a61 |
* Sat Mar 28 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.0-1
|
|
|
b5b6df9 |
- Update to latest upstream release 1.3.0 (#1818465)
|
|
|
1be5a61 |
|
|
|
d6c45cf |
* Wed Mar 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.2-1
|
|
|
d6c45cf |
- Update to latest upstream release 1.2.2
|
|
|
d6c45cf |
|
|
|
735fb96 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
735fb96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
735fb96 |
|
|
|
204be76 |
* Tue Sep 03 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.0-2
|
|
|
204be76 |
- Enable tests
|
|
|
204be76 |
- Add documentation
|
|
|
204be76 |
|
|
|
204be76 |
* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.0-1
|
|
|
204be76 |
- Initial package for Fedora
|