Accepting request 1116722 from systemsmanagement:saltstack:products:test-dependencies

New package: python-pytest-system-statistics

OBS-URL: https://build.opensuse.org/request/show/1116722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-system-statistics?expand=0&rev=1
This commit is contained in:
2023-10-10 18:20:12 +00:00
committed by Git OBS Bridge
commit 3bd73d94df
5 changed files with 100 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

BIN
pytest-system-statistics-1.0.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Sep 7 12:38:15 UTC 2022 - Alexander Graul <alexander.graul@suse.com>
- Initial package

View File

@@ -0,0 +1,69 @@
#
# spec file for package python-pytest-system-statistics
#
# Copyright (c) 2022 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-system-statistics
Version: 1.0.2
Release: 0
Summary: Pytest plugin to track and report system usage statistics
License: Apache-2.0
URL: https://github.com/saltstack/pytest-system-statistics
Source: https://files.pythonhosted.org/packages/source/p/pytest-system-statistics/pytest-system-statistics-%{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 pip}
BuildRequires: %{python_module wheel}
# SECTION test requirements
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module psutil >= 5.0.0}
BuildRequires: %{python_module pytest >= 6.0.0}
BuildRequires: %{python_module pytest-skip-markers}
BuildRequires: %{python_module typing-extensions}
# /SECTION
BuildRequires: fdupes
Requires: python-attrs >= 19.2.0
Requires: python-psutil >= 5.0.0
Requires: python-pytest >= 6.0.0
Requires: python-pytest-skip-markers
Requires: python-typing-extensions
BuildArch: noarch
%python_subpackages
%description
Pytest plugin to track and report system usage statistics
%prep
%setup -q -n pytest-system-statistics-%{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}/pytestsysstats
%{python_sitelib}/pytest_system_statistics-%{version}*-info
%changelog