summaryrefslogtreecommitdiff
path: root/python-pytest-tornasync.spec
blob: 6d6120a7edc48c03df3dfddf96b53425b1ca200f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%global _empty_manifest_terminate_build 0
%global pypi_name pytest-tornasync

%global _description %{expand:
A simple pytest plugin that provides some helpful fixtures for testing Tornado (version 5.0 or newer)\
apps and easy handling of plain (undecoratored) native coroutine tests (Python 3.5+).}

Name:		python-%{pypi_name}
Version: 	0.6.0.post2
Release: 	1
Summary: 	py.test plugin for testing Python 3.5+ Tornado code
License: 	MIT
URL: 		https://github.com/eukaryote/pytest-tornasync
Source0: 	%{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: 	noarch

BuildRequires:  python3-devel
BuildRequires:  python3-pip
BuildRequires:  python3-wheel
BuildRequires:  python3-setuptools
BuildRequires:  python3-setuptools_scm

%description %_description

%package -n python3-%{pypi_name}
Summary: 	py.test plugin for testing Python 3.5+ Tornado code
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name} %_description

%prep
%autosetup -n %{pypi_name}-%{version}

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%doc README.rst
%{python3_sitelib}/pytest_tornasync-*.egg-info/
%{python3_sitelib}/pytest_tornasync/
%{_usr}/LICENSE
  
%changelog
* Fri Aug 18 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.6.0.post2-1
- Package init