commit 5cd4add1a59dbec8447b39953289b578dd4cd3b0eff35ed1fa42e6bc5cd60b03 Author: Matej Cepl Date: Fri Nov 22 10:08:21 2024 +0000 Accepting request 1225646 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-pytest-cases, required for checks in python-click-extra OBS-URL: https://build.opensuse.org/request/show/1225646 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cases?expand=0&rev=1 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_cases-3.8.6.tar.gz b/pytest_cases-3.8.6.tar.gz new file mode 100644 index 0000000..6398fa6 --- /dev/null +++ b/pytest_cases-3.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c24e0ab0cb6f8e802a469b7965906a333d3babb874586ebc56f7e2cbe1a7c44 +size 1092150 diff --git a/python-pytest-cases.changes b/python-pytest-cases.changes new file mode 100644 index 0000000..807c4fc --- /dev/null +++ b/python-pytest-cases.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Nov 20 14:41:21 UTC 2024 - Johannes Kastl + +- new package python-pytest-cases, required for checks in + python-click-extra diff --git a/python-pytest-cases.spec b/python-pytest-cases.spec new file mode 100644 index 0000000..3cfb1e1 --- /dev/null +++ b/python-pytest-cases.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-pytest-cases +# +# Copyright (c) 2024 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-cases +Version: 3.8.6 +Release: 0 +Summary: Separate test code from test cases in pytest +License: BSD-3-Clause +URL: https://github.com/smarie/python-pytest-cases +Source: https://files.pythonhosted.org/packages/source/p/pytest-cases/pytest_cases-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 39.2} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module decopatch} +BuildRequires: %{python_module makefun >= 1.15.1} +BuildRequires: %{python_module packaging} +# SECTION test requirements +# BuildRequires: python_module pytest +# BuildRequires: python_module pytest-steps +# BuildRequires: python_module pytest-harvest +# BuildRequires: python_module pytest-asyncio} +# /SECTION +BuildRequires: fdupes +Requires: python-decopatch +Requires: python-makefun >= 1.15.1 +Requires: python-packaging +BuildArch: noarch +%python_subpackages + +%description +Separate test code from test cases in pytest. + +%prep +%autosetup -p1 -n pytest_cases-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%{python_sitelib}/pytest_cases +%{python_sitelib}/pytest_cases-%{version}.dist-info + +%changelog