commit bb242df77f95baa7050fece888cf6df77e51f3d926276d94c49a0ae9183851a0 Author: Steve Kowalik Date: Wed May 7 07:07:33 2025 +0000 - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-tornado?expand=0&rev=11 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pytest-tornado-0.8.1.tar.gz b/pytest-tornado-0.8.1.tar.gz new file mode 100644 index 0000000..895cdac --- /dev/null +++ b/pytest-tornado-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb9260eefec05db57653bc4947b38c1c4241c86f5b14e4a5dbbe8cc7a53be512 +size 12616 diff --git a/python-pytest-tornado.changes b/python-pytest-tornado.changes new file mode 100644 index 0000000..fa23ed5 --- /dev/null +++ b/python-pytest-tornado.changes @@ -0,0 +1,43 @@ +------------------------------------------------------------------- +Wed May 7 06:59:59 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Wed Aug 16 14:44:57 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Mon Jun 29 12:24:13 UTC 2020 - Marketa Calabkova + +- Update to 0.8.1 + * Fixed deprecation warning for pytest >= 5.4 +- Pull in Github tarball and launch tests + +------------------------------------------------------------------- +Mon Jun 3 09:00:53 UTC 2019 - Tomáš Chvátal + +- Update to 0.8.0: + * Added support for HTTPS testing (#50) + * Group commandline options for pytest (#53) + * Added support for Tornado 6 + +------------------------------------------------------------------- +Sun Jul 15 23:48:56 UTC 2018 - mimi.vx@gmail.com + +- no tests in upstream package + +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Update to 5.0.0 + * Fix to work with tornado 5 +- Add license file +- Use %license tag + +------------------------------------------------------------------- +Fri Apr 20 22:10:31 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-pytest-tornado.spec b/python-pytest-tornado.spec new file mode 100644 index 0000000..2287afc --- /dev/null +++ b/python-pytest-tornado.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-pytest-tornado +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-pytest-tornado +Version: 0.8.1 +Release: 0 +Summary: A py.test plugin for tornado applications +License: Apache-2.0 +URL: https://github.com/eugeniy/pytest-tornado +Source: https://github.com/eugeniy/pytest-tornado/archive/v%{version}.tar.gz#/pytest-tornado-%{version}.tar.gz +BuildRequires: %{python_module certifi} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tornado >= 4.1} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-certifi +Requires: python-pytest +Requires: python-tornado >= 4.1 +BuildArch: noarch +%python_subpackages + +%description +A py.test_ plugin providing fixtures and markers to simplify testing +of asynchronous tornado applications. + +%prep +%setup -q -n pytest-tornado-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/pytest_tornado +%{python_sitelib}/pytest_tornado-%{version}.dist-info + +%changelog