Blame SPECS/python-pytest-subtests.spec

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