|
|
a4234c2 |
%global pypi_name pytest-asyncio
|
|
|
a4234c2 |
%global srcname pytest_asyncio
|
|
|
a4234c2 |
%global project_owner pytest-dev
|
|
|
a4234c2 |
%global github_name pytest-asyncio
|
|
|
5640432 |
%global commit ae9b430a3cd9a78eb14a16f5e82686710028790a
|
|
|
a4234c2 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
a4234c2 |
|
|
|
a4234c2 |
Name: python3-%{pypi_name}
|
|
|
5640432 |
Version: 0.3.0
|
|
|
aea7dea |
Release: 2.git%{shortcommit}%{?dist}
|
|
|
a4234c2 |
Summary: Pytest support for asyncio
|
|
|
a4234c2 |
|
|
|
a4234c2 |
License: ASL 2.0
|
|
|
a4234c2 |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
a4234c2 |
Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{commit}/%{github_name}-%{commit}.tar.gz
|
|
|
a4234c2 |
|
|
|
a4234c2 |
BuildArch: noarch
|
|
|
a4234c2 |
BuildRequires: python3-devel
|
|
|
a4234c2 |
Requires: python3-pytest
|
|
|
a4234c2 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%description
|
|
|
a4234c2 |
pytest-asyncio is an Apache2 licensed library, written in Python, for testing
|
|
|
a4234c2 |
asyncio code with pytest.
|
|
|
a4234c2 |
|
|
|
a4234c2 |
asyncio code is usually written in the form of coroutines, which makes it
|
|
|
a4234c2 |
slightly more difficult to test using normal testing tools. pytest-asyncio
|
|
|
a4234c2 |
provides useful fixtures and markers to make testing easier.
|
|
|
a4234c2 |
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%prep
|
|
|
a4234c2 |
%setup -qn %{github_name}-%{commit}
|
|
|
a4234c2 |
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%build
|
|
|
a4234c2 |
%py3_build
|
|
|
a4234c2 |
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%install
|
|
|
a4234c2 |
%py3_install
|
|
|
a4234c2 |
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%files
|
|
|
a4234c2 |
%license LICENSE
|
|
|
a4234c2 |
%doc README.rst
|
|
|
a4234c2 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
|
|
a4234c2 |
%{python3_sitelib}/%{srcname}/
|
|
|
a4234c2 |
|
|
|
a4234c2 |
|
|
|
a4234c2 |
%changelog
|
|
|
aea7dea |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2.gitae9b430
|
|
|
aea7dea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
aea7dea |
|
|
|
edfc886 |
* Sun Dec 20 2015 Julien Enselme <jujens@jujens.eu> - 0.3.0-1.gitae9b430
|
|
|
5640432 |
- Update to 0.3.0 (bz:1293083)
|
|
|
5640432 |
|
|
|
ad91cce |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-3.git2a4c7e6
|
|
|
ad91cce |
- Rebuilt for python 3.5
|
|
|
ad91cce |
|
|
|
ad91cce |
* Sun Aug 2 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-2.git2a4c7e6
|
|
|
a4234c2 |
- Add %%python_provide
|
|
|
a4234c2 |
|
|
|
a4234c2 |
* Sat Aug 1 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-1.git2a4c7e6
|
|
|
a4234c2 |
- Initial package
|