98801fc
%global srcname pytest-fixture-config
98801fc
%global sum Simple configuration objects for Py.test fixtures
98801fc
98801fc
Name:           python-%{srcname}
581e8b8
Version:        1.7.0
b3e16d2
Release:        20%{?dist}
98801fc
Summary:        %{sum}
98801fc
98801fc
License:        MIT
98801fc
URL:            https://pypi.python.org/pypi/%{srcname}
98801fc
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
98801fc
98801fc
BuildArch:      noarch
f4bf668
BuildRequires:  python3-devel
41e1375
BuildRequires:  python3-setuptools
f4bf668
BuildRequires:  python3-pytest
f4bf668
BuildRequires:  python3-six
98801fc
98801fc
%description
98801fc
Simple configuration objects for Py.test fixtures.
98801fc
Allows you to skip tests when their required config variables aren't set.
98801fc
98801fc
%package -n python3-%{srcname}
98801fc
Summary:        %{sum}
98801fc
%{?python_provide:%python_provide python3-%{srcname}}
98801fc
98801fc
%description -n python3-%{srcname}
98801fc
Simple configuration objects for Py.test fixtures.
98801fc
Allows you to skip tests when their required config variables aren't set.
98801fc
98801fc
%prep
98801fc
%autosetup -n %{srcname}-%{version}
98801fc
5b8958b
# https://bugzilla.redhat.com/show_bug.cgi?id=1694205
5b8958b
# https://github.com/manahl/pytest-plugins/pull/134
5b8958b
sed -i "s/'pytest<4.0.0'/'pytest'/" setup.py
5b8958b
41e1375
# This is not needed when building from the sdist
41e1375
sed -i -e '/setuptools-git/d' common_setup.py
41e1375
98801fc
%build
98801fc
%py3_build
98801fc
98801fc
%install
98801fc
%py3_install
98801fc
98801fc
%check
98801fc
%{__python3} setup.py test
98801fc
98801fc
%files -n python3-%{srcname}
98801fc
%doc README.md CHANGES.md
98801fc
%{python3_sitelib}/*
98801fc
98801fc
%changelog
b3e16d2
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-20
b3e16d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
b3e16d2
9d209fa
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-19
9d209fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9d209fa
5f91ff9
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-18
5f91ff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
5f91ff9
5c2e87e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.7.0-17
5c2e87e
- Rebuilt for Python 3.12
5c2e87e
913ccb7
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-16
913ccb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
913ccb7
11dfd48
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-15
11dfd48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
11dfd48
89cb0af
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.7.0-14
89cb0af
- Rebuilt for Python 3.11
89cb0af
504ca29
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-13
504ca29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
504ca29
9ea2303
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
9ea2303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9ea2303
30a4781
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.0-11
30a4781
- Rebuilt for Python 3.10
30a4781
cfc3dfd
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
cfc3dfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cfc3dfd
41e1375
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-9
41e1375
- Don't BuildRequire setuptools_git
41e1375
db29ab1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
db29ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
db29ab1
ff41e1e
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-7
ff41e1e
- Rebuilt for Python 3.9
ff41e1e
b0e36e5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
b0e36e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b0e36e5
a2fa250
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-5
a2fa250
- Rebuilt for Python 3.8.0rc1 (#1748018)
a2fa250
de42037
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-4
de42037
- Rebuilt for Python 3.8
de42037
6935291
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
6935291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6935291
f4bf668
* Wed Jun 26 2019 Kevin Fenzi <kevin@scrye.com> - 1.7.0-2
f4bf668
- Drop python2. Fixes bug #1723589
f4bf668
581e8b8
* Sun Jun 16 2019 Kevin Fenzi <kevin@scrye.com> - 1.7.0-1
581e8b8
- Update to 1.7.0. Fixes bug #1714448
581e8b8
5b8958b
* Fri Apr 12 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
5b8958b
- Make the package installable with pytest 4
5b8958b
40f2239
* Sun Mar 10 2019 Kevin Fenzi <kevin@scrye.com> - 1.4.0-1
40f2239
- Update to 1.4.0. 
40f2239
- Fix FTBFS, bug #1675781
40f2239
97de5a6
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-6
97de5a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
97de5a6
34bed26
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-5
34bed26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
34bed26
0f15443
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.11-4
0f15443
- Rebuilt for Python 3.7
0f15443
9540fba
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-3
9540fba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9540fba
98801fc
* Thu Jul 27 2017 Kevin Fenzi <kevin@scrye.com> - 1.2.11-2
98801fc
- Add Requires for pytest
98801fc
98801fc
* Wed Jul 26 2017 Kevin Fenzi <kevin@scrye.com> - 1.2.11-1
98801fc
- Initial version.