f5bf0e5
# Enabled by default
74df32d
%bcond_without tests
f5bf0e5
f5bf0e5
%global pypi_name pytest-lazy-fixture
f5bf0e5
f5bf0e5
%global _description %{expand:
f5bf0e5
Use fixtures in pytest.mark.parametrize.}
f5bf0e5
f5bf0e5
Name:           python-%{pypi_name}
2c69f38
Version:        0.6.3
2c69f38
Release:        1%{?dist}
f5bf0e5
Summary:        Use fixtures in pytest.mark.parametrize
f5bf0e5
f5bf0e5
License:        MIT
f5bf0e5
URL:            https://pypi.python.org/pypi/%{pypi_name}
f5bf0e5
Source0:        %pypi_source %{pypi_name}
f5bf0e5
f5bf0e5
BuildArch:      noarch
f5bf0e5
f5bf0e5
%{?python_enable_dependency_generator}
f5bf0e5
f5bf0e5
%description %_description
f5bf0e5
f5bf0e5
%package -n python3-%{pypi_name}
f5bf0e5
Summary:        %{summary}
f5bf0e5
BuildRequires:  python3-devel
f5bf0e5
BuildRequires:  %{py3_dist pytest}
3ea8157
BuildRequires:  %{py3_dist setuptools}
f5bf0e5
f5bf0e5
%{?python_provide:%python_provide python3-%{pypi_name}}
f5bf0e5
f5bf0e5
%description -n python3-%{pypi_name} %_description
f5bf0e5
f5bf0e5
%prep
f5bf0e5
%autosetup -n %{pypi_name}-%{version}
f5bf0e5
rm -rf %{pypi_name}.egg-info
f5bf0e5
f5bf0e5
%build
f5bf0e5
%py3_build
f5bf0e5
f5bf0e5
%install
f5bf0e5
%py3_install
f5bf0e5
f5bf0e5
%check
f5bf0e5
%if %{with tests}
f5bf0e5
PYTHONPATH="%{buildroot}/%{python3_sitelib}/" pytest-3
f5bf0e5
%endif
f5bf0e5
f5bf0e5
%files -n python3-%{pypi_name}
f5bf0e5
%license LICENSE
f5bf0e5
%doc README.rst
f5bf0e5
%{python3_sitelib}/pytest_lazy_fixture-%{version}-py%{python3_version}.egg-info
f5bf0e5
%{python3_sitelib}/pytest_lazyfixture.py
f5bf0e5
%{python3_sitelib}/__pycache__
f5bf0e5
f5bf0e5
%changelog
2c69f38
* Thu Aug 20 2020 Aniket Pradhan <major AT fedoraproject DOT org> - 0.6.3-1
2c69f38
- Updated to 0.6.3
2c69f38
- Fixes failing tests
2c69f38
37c97f5
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-10
37c97f5
- Second attempt - Rebuilt for
37c97f5
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
37c97f5
a7edcd2
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-9
a7edcd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a7edcd2
f512d24
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-7
f512d24
- Rebuilt for Python 3.9
f512d24
c0bc0d1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-6
c0bc0d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c0bc0d1
4cb8d14
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-5
4cb8d14
- Rebuilt for Python 3.8.0rc1 (#1748018)
4cb8d14
9d630a6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-4
9d630a6
- Rebuilt for Python 3.8
9d630a6
bdadaa9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
bdadaa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
bdadaa9
74df32d
* Fri Jul 12 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.2-2
74df32d
- Re-enable tests
74df32d
f5bf0e5
* Fri Jul 12 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.2-1
f5bf0e5
- Own pycache directory to fix permission issues #1723047
f5bf0e5
f5bf0e5
* Sat Jun 22 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.2-1
f5bf0e5
- Initial package