From 3bd73d94dff16044bade2f467871cfaf83dd5d4d2f49ccfca057e5512c273016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 10 Oct 2023 18:20:12 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++ .gitignore | 1 + pytest-system-statistics-1.0.2.tar.gz | 3 ++ python-pytest-system-statistics.changes | 4 ++ python-pytest-system-statistics.spec | 69 +++++++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pytest-system-statistics-1.0.2.tar.gz create mode 100644 python-pytest-system-statistics.changes create mode 100644 python-pytest-system-statistics.spec 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-system-statistics-1.0.2.tar.gz b/pytest-system-statistics-1.0.2.tar.gz new file mode 100644 index 0000000..ff719ce --- /dev/null +++ b/pytest-system-statistics-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:059b739e3f4e288cd1e4dbe5785e077ee89df26f64e6c5164e9bb5d6657a4a71 +size 56855 diff --git a/python-pytest-system-statistics.changes b/python-pytest-system-statistics.changes new file mode 100644 index 0000000..93b7c2f --- /dev/null +++ b/python-pytest-system-statistics.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Sep 7 12:38:15 UTC 2022 - Alexander Graul + +- Initial package diff --git a/python-pytest-system-statistics.spec b/python-pytest-system-statistics.spec new file mode 100644 index 0000000..cdf7d33 --- /dev/null +++ b/python-pytest-system-statistics.spec @@ -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