From b945d057241d6bbf477757f0d6119629debe2156cd23f6c1e262e30ad190048e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 14 Aug 2025 08:52:02 +0000 Subject: [PATCH] Accepting request 1298504 from home:ChrisRo0314 That package is needed as a dependency for other projects (e.g. FreeIPA) OBS-URL: https://build.opensuse.org/request/show/1298504 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-multihost?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + pytest-multihost-3.0.tar.gz | 3 ++ python-pytest-multihost.changes | 64 +++++++++++++++++++++++++++++++++ python-pytest-multihost.spec | 55 ++++++++++++++++++++++++++++ 5 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pytest-multihost-3.0.tar.gz create mode 100644 python-pytest-multihost.changes create mode 100644 python-pytest-multihost.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-multihost-3.0.tar.gz b/pytest-multihost-3.0.tar.gz new file mode 100644 index 0000000..b66e61d --- /dev/null +++ b/pytest-multihost-3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b29e4a385fb96fd6b8ffee82f42d1f49f5e2275e4e7ee57f889fe3111eb82b4 +size 32870 diff --git a/python-pytest-multihost.changes b/python-pytest-multihost.changes new file mode 100644 index 0000000..84e86ee --- /dev/null +++ b/python-pytest-multihost.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Fri Mar 02 2018 Petr Viktorin - 3.0-1 +- Do not add extra newlines to stdin contents +- Remove forgotten debug print + +Wed Apr 12 2017 Petr Viktorin - 2.0-1 +- Add support to run commands in background +- Fix several issues around quoting, background processes, and encoding + +Wed Apr 12 2017 Petr Viktorin - 1.1.1-1 +- Upstream packaging changes + +Thu Apr 22 2016 Petr Viktorin - 1.1-1 +- Much improved support for Windows hosts (thanks to Niranjan MR) + +Thu Feb 03 2016 Petr Viktorin - 1.0-1 +- Add error handling in config file handling (thanks to Abhijeet Kasurde) +- Add support to specify username/password per host (thanks to Niranjan MR) +- Add ability to reset the SSH connection (thanks to Scott Poore) + +Thu Nov 26 2015 Petr Viktorin - 0.9-1 +- Add more file manipulation functions (thanks to Abhijeet Kasurde) +- Slightly improve Python 3 support + +Tue Nov 10 2015 Petr Viktorin - 0.8-1 +- Fix creating multiple Configs from one dict + +Tue Nov 10 2015 Petr Viktorin - 0.7-1 +- Add compatibility with Python 2.6 + +Tue Nov 10 2015 Fedora Release Engineering - 0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 +- +Mon Mar 2 2015 Petr Viktorin - 0.6-3 +- Don't use licence macro on RHEL 6 + +Mon Mar 2 2015 Petr Viktorin - 0.6-3 +- Don't use licence macro on RHEL 6 + +Tue Jan 27 2015 Petr Viktorin - 0.6-2 +- Also install COPYING as a license on the Python 3 version + +Mon Jan 26 2015 Petr Viktorin - 0.6-1 +- Run tests +- Install COPYING as a license + +Wed Nov 26 2014 Petr Viktorin - 0.5-1 +- Packaging fixes + +Wed Nov 26 2014 Petr Viktorin - 0.4-2 +- Specify minimum version of pytest + +Wed Nov 26 2014 Petr Viktorin - 0.4-1 +- Ensure backwards compatibility with FreeIPA's root-only logins + +Wed Nov 26 2014 Petr Viktorin - 0.3-1 +- "Upstream" packaging fixes + +Mon Nov 10 2014 Petr Viktorin - 0.2-1 +- better extensibility +- bug fixes + +Mon Nov 10 2014 Petr Viktorin - 0.1-1 +- initial public version of package \ No newline at end of file diff --git a/python-pytest-multihost.spec b/python-pytest-multihost.spec new file mode 100644 index 0000000..b074319 --- /dev/null +++ b/python-pytest-multihost.spec @@ -0,0 +1,55 @@ +%global srcname pytest-multihost +%global modulename pytest_multihost +%global srcversion 3.0 +%global versionedname %{srcname}-%{srcversion} + +Name: python-%{srcname} +Version: %{srcversion} +Release: 1%{?dist} +BuildArch: noarch +Group: Development/Libraries/Python +Summary: Utility for writing multi-host tests for pytest +License: GPL-3.0-or-later+ +Source: https://releases.pagure.org/python-pytest-multihost/%{versionedname}.tar.gz +URL: https://github.com/encukou/%{srcname} + +BuildRequires: python-rpm-macros +BuildRequires: %{pythons} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +BuildRequires: openssh +Requires: python-pytest >= 2.4.0 + +%python_subpackages + +%description +Allows pytest tests to run commands on several machines. +The machines to run on are described on the command line, the tests +specify how many machines they need and commands/checks to run on them. + +%prep +%autosetup -p1 -n %{versionedname} + +%build +%pyproject_wheel + +%check +ssh-keygen -t rsa -f $HOME/.ssh/id_rsa -N '' +cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys +%pytest -k "not paramiko and not openssh" + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %python_files +%license COPYING +%doc README.rst +%{python_sitelib}/%{modulename}/ +%{python_sitelib}/%{modulename}-%{srcversion}.dist-info/ + +%changelog