Sync from SUSE:SLFO:Main python-pytest-shell-utilities revision 65aaf8bcd59fe62d21447f5ddba56487
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
BIN
pytest_shell_utilities-1.9.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest_shell_utilities-1.9.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
61
python-pytest-shell-utilities.changes
Normal file
61
python-pytest-shell-utilities.changes
Normal file
@@ -0,0 +1,61 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 13:31:16 UTC 2024 - Pablo Suárez Hernández <psuarezhernandez@suse.com>
|
||||
|
||||
- update to 1.9.7:
|
||||
* Rigid support for net_connections was causing breakages,
|
||||
hence monitor version of psutil and call connections
|
||||
vs net_connections appropriately
|
||||
* Need psutil >= 6.0.0 to use net_connections
|
||||
* fix: handle process shutdown with limited permissions
|
||||
* Support for psutil 6.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 10:20:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.9.0:
|
||||
* Drop support for Python older than 3.8 and Pytest older than
|
||||
7.4.x
|
||||
* The printed output is now the result of json.dumps instead of
|
||||
pprint.pformat
|
||||
* Several minor changes to the code base: Update copyright
|
||||
headers Update pre-commit hook versions (#43)
|
||||
* Update copyright headers
|
||||
* Update pre-commit hook versions
|
||||
* Drop support for python versions older than 3.7
|
||||
* Support Python 3.11
|
||||
* Set minimal attrs version to 22.1.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 09:00:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- avoid cycle with pytest-skip-markers by separating
|
||||
test into a :test buildflavor
|
||||
- remove :test flavor for now to allow bootstrap in Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 24 13:39:40 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 20:08:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.8.0:
|
||||
* Drop support for python versions older than 3.7
|
||||
* Support Python 3.11
|
||||
* Set minimal attrs version to 22.1.0
|
||||
* Start running tests against Py3.11 and Pytest `7.3.x` and
|
||||
`7.4.x`
|
||||
* Update copyright headers
|
||||
* ``Subprocess.run()`` now accepts ``shell`` keyword argument
|
||||
like ``subprocess.Popen``.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 11:16:06 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- enable testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 7 12:41:41 UTC 2022 - Alexander Graul <alexander.graul@suse.com>
|
||||
|
||||
- Initial package
|
89
python-pytest-shell-utilities.spec
Normal file
89
python-pytest-shell-utilities.spec
Normal file
@@ -0,0 +1,89 @@
|
||||
#
|
||||
# spec file for package python-pytest-shell-utilities
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-shell-utilities%{psuffix}
|
||||
Version: 1.9.7
|
||||
Release: 0
|
||||
Summary: Pytest plugin to simplify running shell commands against the system
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/saltstack/pytest-shell-utilities
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-shell-utilities/pytest_shell_utilities-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 50.3.2}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module attrs >= 22.1.0}
|
||||
BuildRequires: %{python_module psutil >= 6.0.0}
|
||||
BuildRequires: %{python_module pytest >= 7.3.0}
|
||||
BuildRequires: %{python_module pytest-helpers-namespace}
|
||||
BuildRequires: %{python_module pytest-shell-utilities = %{version}}
|
||||
BuildRequires: %{python_module pytest-skip-markers}
|
||||
BuildRequires: %{python_module pytest-subtests}
|
||||
BuildRequires: %{python_module typing-extensions}
|
||||
%endif
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-attrs >= 22.1.0
|
||||
Requires: python-psutil >= 6.0.0
|
||||
Requires: python-pytest >= 7.3.0
|
||||
Requires: python-pytest-helpers-namespace
|
||||
Requires: python-pytest-skip-markers
|
||||
Requires: python-typing-extensions
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pytest plugin to simplify running shell commands against the system
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest_shell_utilities-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%if !%{with test}
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pytestshellutils
|
||||
%{python_sitelib}/pytest_shell_utilities-%{version}*-info
|
||||
|
||||
%else
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user