* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1

- Initial package for Fedora
f38
Fabian Affolter 5 years ago
parent 8e9792ceb7
commit 45913ed03c
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

1
.gitignore vendored

@ -0,0 +1 @@
/pytest-subtests-0.3.0.tar.gz

@ -0,0 +1,53 @@
%global pypi_name pytest-subtests
Name: python-%{pypi_name}
Version: 0.3.0
Release: 1%{?dist}
Summary: Support for unittest subTest() and subtests fixture
License: MIT
URL: https://github.com/pytest-dev/pytest-subtests
Source0: %{pypi_source}
BuildArch: noarch
%description
pytest-subtests unittest subTest() support and subtests fixture.
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
pytest-subtests unittest subTest() support and subtests fixture.
%prep
%autosetup -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%check
# https://github.com/pytest-dev/pytest-subtests/issues/21
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \
pytest-%{python3_version} -v tests \
-k "not TestFixture and not TestCapture and not test_simple_terminal"
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/pytest_subtests.py
%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/
%changelog
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1
- Initial package for Fedora

@ -0,0 +1 @@
SHA512 (pytest-subtests-0.3.0.tar.gz) = 49ebf151c95e1d2c89af78d8b1abfa06d5db9bf1e297f09a49a802b1b42d064ad38a2aa619aa254d23b475c7548c62b753d999f4e38eb5e1651ae067ca9cd525
Loading…
Cancel
Save