commit 526f8fa971798e3400b1468b788edbdfff06b7bdb5681831f35932444c443020 Author: Ondřej Súkup Date: Tue Oct 10 18:21:10 2023 +0000 Accepting request 1116721 from systemsmanagement:saltstack:products:test-dependencies New package: python-pytest-skip-markers OBS-URL: https://build.opensuse.org/request/show/1116721 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-skip-markers?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-skip-markers-1.3.0.tar.gz b/pytest-skip-markers-1.3.0.tar.gz new file mode 100644 index 0000000..4f369a1 --- /dev/null +++ b/pytest-skip-markers-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ee7067afb42c1adde981278e588b0bae0634878607379e5012e461962646fd3 +size 81153 diff --git a/python-pytest-skip-markers.changes b/python-pytest-skip-markers.changes new file mode 100644 index 0000000..6983b21 --- /dev/null +++ b/python-pytest-skip-markers.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Sep 7 11:26:31 UTC 2022 - Alexander Graul + +- Initial Package diff --git a/python-pytest-skip-markers.spec b/python-pytest-skip-markers.spec new file mode 100644 index 0000000..1d9a468 --- /dev/null +++ b/python-pytest-skip-markers.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-pytest-skip-markers +# +# Copyright (c) 2023 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/ +# +Name: python-pytest-skip-markers +Version: 1.3.0 +Release: 0 +Summary: Pytest plugin for conditionally skipping tests +License: Apache-2.0 +URL: https://github.com/saltstack/pytest-skip-markers +Source: https://files.pythonhosted.org/packages/source/p/pytest-skip-markers/pytest-skip-markers-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 50.3.2} +BuildRequires: %{python_module setuptools-declarative-requirements} +BuildRequires: %{python_module setuptools_scm >= 3.4} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module pip} +# SECTION test requirements +BuildRequires: %{python_module attrs >= 19.2.0} +BuildRequires: %{python_module distro} +BuildRequires: %{python_module pytest >= 6.0.0} +# /SECTION +BuildRequires: fdupes +Requires: python-attrs >= 19.2.0 +Requires: python-distro +Requires: python-pytest >= 6.0.0 +BuildArch: noarch +%python_subpackages + +%description +It’s a collection of of useful skip markers created to simplify and reduce code +required to skip tests in some common scenarios, for example, platform specific +tests. + +%prep +%setup -q -n pytest-skip-markers-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license LICENSE +%{python_sitelib}/pytestskipmarkers +%{python_sitelib}/pytest_skip_markers-%{version}*-info + +%changelog