diff --git a/pytest-tornado-0.8.1.tar.gz b/pytest-tornado-0.8.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0a43044e3a39fadc52111c23a2d6eb6ca58857d9 Binary files /dev/null and b/pytest-tornado-0.8.1.tar.gz differ diff --git a/python-pytest-tornado.spec b/python-pytest-tornado.spec new file mode 100644 index 0000000000000000000000000000000000000000..8f9d0b24359e6a2155dfce6778ae3f27b98cc63b --- /dev/null +++ b/python-pytest-tornado.spec @@ -0,0 +1,60 @@ +%global srcname pytest-tornado +%global srcname_ pytest_tornado + +Name: python-%{srcname} +Version: 0.8.1 +Release: 1 +Summary: Py.test plugin for testing of asynchronous tornado applications + +License: ASL 2.0 +URL: https://pypi.python.org/pypi/%{srcname} +Source0: https://github.com/eugeniy/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +A py.test plugin providing fixtures and markers to simplify testing of \ +asynchronous tornado applications. + +%description %{_description} + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +BuildRequires: python3-devel +BuildRequires: python3-pytest >= 3.6 +BuildRequires: python3-setuptools +BuildRequires: python3-tornado >= 4.1 + +%description -n python3-%{srcname} %{_description} + + +%prep +%autosetup -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%check +PYTHONPATH="%{buildroot}%{python3_sitelib}" PYTHONDONTWRITEBYTECODE=1 \ + py.test-%{python3_version} + + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{srcname_} +%{python3_sitelib}/%{srcname_}-%{version}-py%{python3_version}.egg-info + + +%changelog +* Thu Jul 8 2021 zhangbowei -0.8.1-1 +- init project