summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:23:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:23:35 +0000
commit0707a7a0c19e0c6f34eb68aeda476881bf6be0af (patch)
tree382828928c3b118e640fbca8145f8f6ab27d57f8
parentc348238029c1c806a6c12e6ad57df0b8b4eb0125 (diff)
automatic import of python-pytest-tornasyncopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-tornasync.spec48
-rw-r--r--sources1
3 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..aa9e1ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-tornasync-0.6.0.post2.tar.gz
diff --git a/python-pytest-tornasync.spec b/python-pytest-tornasync.spec
new file mode 100644
index 0000000..6d6120a
--- /dev/null
+++ b/python-pytest-tornasync.spec
@@ -0,0 +1,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
diff --git a/sources b/sources
new file mode 100644
index 0000000..e206d7d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c81f6f5975666e9bfaaa31a349ae3e17 pytest-tornasync-0.6.0.post2.tar.gz