|
|
3b7b52 |
%global pypi_name pytest-trio
|
|
|
3b7b52 |
|
|
|
3b7b52 |
Name: python-%{pypi_name}
|
|
|
3b7b52 |
Version: 0.7.0
|
|
|
3b7b52 |
Release: 2%{?dist}
|
|
|
3b7b52 |
Summary: Pytest plugin for trio
|
|
|
3b7b52 |
|
|
|
3b7b52 |
License: MIT or ASL 2.0
|
|
|
3b7b52 |
URL: https://github.com/python-trio/pytest-trio
|
|
|
3b7b52 |
Source0: https://github.com/python-trio/pytest-trio/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
3b7b52 |
BuildArch: noarch
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%description
|
|
|
3b7b52 |
This is a pytest plugin to help you test projects that use Trio, a friendly
|
|
|
3b7b52 |
library for concurrency and async I/O in Python.
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%package -n python3-%{pypi_name}
|
|
|
3b7b52 |
Summary: %{summary}
|
|
|
3b7b52 |
|
|
|
3b7b52 |
BuildRequires: python3-devel
|
|
|
3b7b52 |
BuildRequires: python3-async-generator
|
|
|
3b7b52 |
BuildRequires: python3-pytest
|
|
|
3b7b52 |
BuildRequires: python3-hypothesis
|
|
|
3b7b52 |
BuildRequires: python3-setuptools
|
|
|
3b7b52 |
BuildRequires: python3-trio
|
|
|
3b7b52 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%description -n python3-%{pypi_name}
|
|
|
3b7b52 |
This is a pytest plugin to help you test projects that use Trio, a friendly
|
|
|
3b7b52 |
library for concurrency and async I/O in Python.
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%package -n python-%{pypi_name}-doc
|
|
|
3b7b52 |
Summary: pytest-trio documentation
|
|
|
3b7b52 |
|
|
|
3b7b52 |
BuildRequires: python3-sphinx
|
|
|
3b7b52 |
#BuildRequires: python3-sphinxcontrib-trio
|
|
|
3b7b52 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%description -n python-%{pypi_name}-doc
|
|
|
3b7b52 |
Documentation for %{name}.
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%prep
|
|
|
3b7b52 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
3b7b52 |
rm -rf %{pypi_name}.egg-info
|
|
|
3b7b52 |
sed -i /RemovedInPytest4Warning/d pytest_trio/_tests/conftest.py
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%build
|
|
|
3b7b52 |
%py3_build
|
|
|
3b7b52 |
#PYTHONPATH=${PWD} sphinx-build-3 docs/source html
|
|
|
3b7b52 |
#rm -rf html/.{doctrees,buildinfo}
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%install
|
|
|
3b7b52 |
%py3_install
|
|
|
3b7b52 |
|
|
|
3b7b52 |
# https://github.com/python-trio/pytest-trio/issues/84
|
|
|
3b7b52 |
#%check
|
|
|
3b7b52 |
#PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v pytest_trio
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%files -n python3-%{pypi_name}
|
|
|
3b7b52 |
%license LICENSE.MIT LICENSE LICENSE.APACHE2
|
|
|
3b7b52 |
%doc README.rst
|
|
|
3b7b52 |
%{python3_sitelib}/pytest_trio/
|
|
|
3b7b52 |
%{python3_sitelib}/pytest_trio-%{version}-py%{python3_version}.egg-info
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%files -n python-%{pypi_name}-doc
|
|
|
3b7b52 |
#%doc html
|
|
|
3b7b52 |
%license LICENSE.MIT LICENSE LICENSE.APACHE2
|
|
|
3b7b52 |
|
|
|
3b7b52 |
%changelog
|
|
|
3b7b52 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
|
3b7b52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Thu Jan 07 2021 Joel Capitao <jcapitao@redhat.com> - 0.7.0-1
|
|
|
3b7b52 |
- Update to latest upstream release 0.7.0
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
3b7b52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Thu Jun 04 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
|
|
|
3b7b52 |
- Update to latest upstream release 0.6.0
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.5.2-3
|
|
|
3b7b52 |
- Rebuilt for Python 3.9
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
|
3b7b52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3b7b52 |
|
|
|
3b7b52 |
* Wed Jan 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.2-1
|
|
|
3b7b52 |
- Initial package for Fedora
|