Blame SPECS/python-pytest-subtests.spec

288e12
%global pypi_name pytest-subtests
288e12
288e12
Name:           python-%{pypi_name}
288e12
Version:        0.4.0
288e12
Release:        3%{?dist}
288e12
Summary:        Support for unittest subTest() and subtests fixture
288e12
288e12
License:        MIT
288e12
URL:            https://github.com/pytest-dev/pytest-subtests
288e12
Source0:        %{pypi_source}
288e12
BuildArch:      noarch
288e12
288e12
%description
288e12
pytest-subtests unittest subTest() support and subtests fixture.
288e12
288e12
%package -n     python3-%{pypi_name}
288e12
Summary:        %{summary}
288e12
288e12
BuildRequires:  python3-devel
288e12
BuildRequires:  python3-pytest
288e12
BuildRequires:  python3-setuptools
288e12
BuildRequires:  python3-setuptools_scm
288e12
%{?python_provide:%python_provide python3-%{pypi_name}}
288e12
 
288e12
%description -n python3-%{pypi_name}
288e12
pytest-subtests unittest subTest() support and subtests fixture.
288e12
288e12
%prep
288e12
%autosetup -n %{pypi_name}-%{version}
288e12
rm -rf %{pypi_name}.egg-info
288e12
288e12
%build
288e12
%py3_build
288e12
288e12
%install
288e12
%py3_install
288e12
288e12
%check
288e12
# https://github.com/pytest-dev/pytest-subtests/issues/21
288e12
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \
288e12
  pytest-%{python3_version} -v tests \
288e12
  -k "not TestFixture and not TestCapture and not test_simple_terminal"
288e12
288e12
%files -n python3-%{pypi_name}
288e12
%license LICENSE
288e12
%doc README.rst
288e12
%{python3_sitelib}/__pycache__/*
288e12
%{python3_sitelib}/pytest_subtests.py
288e12
%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/
288e12
288e12
%changelog
288e12
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-3
288e12
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
288e12
  Related: rhbz#1991688
288e12
288e12
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-2
288e12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
288e12
288e12
* Sun Feb 07 2021 Christian Heimes <cheimes@redhat.com> - 0.4.0-1
288e12
- Update to 0.4 (#1925972)
288e12
288e12
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
288e12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
288e12
288e12
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
288e12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
288e12
288e12
* Tue Jul 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-1
288e12
- Update to latest upstream release 0.3.1
288e12
288e12
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.3.0-2
288e12
- Rebuilt for Python 3.9
288e12
288e12
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1
288e12
- Initial package for Fedora