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
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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
pytest-multihost-3.0.tar.gz
Normal file
3
pytest-multihost-3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b29e4a385fb96fd6b8ffee82f42d1f49f5e2275e4e7ee57f889fe3111eb82b4
|
||||
size 32870
|
||||
64
python-pytest-multihost.changes
Normal file
64
python-pytest-multihost.changes
Normal file
@@ -0,0 +1,64 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 02 2018 Petr Viktorin <encukou@gmail.com> - 3.0-1
|
||||
- Do not add extra newlines to stdin contents
|
||||
- Remove forgotten debug print
|
||||
|
||||
Wed Apr 12 2017 Petr Viktorin <encukou@gmail.com> - 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 <encukou@gmail.com> - 1.1.1-1
|
||||
- Upstream packaging changes
|
||||
|
||||
Thu Apr 22 2016 Petr Viktorin <encukou@gmail.com> - 1.1-1
|
||||
- Much improved support for Windows hosts (thanks to Niranjan MR)
|
||||
|
||||
Thu Feb 03 2016 Petr Viktorin <encukou@gmail.com> - 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 <encukou@gmail.com> - 0.9-1
|
||||
- Add more file manipulation functions (thanks to Abhijeet Kasurde)
|
||||
- Slightly improve Python 3 support
|
||||
|
||||
Tue Nov 10 2015 Petr Viktorin <encukou@gmail.com> - 0.8-1
|
||||
- Fix creating multiple Configs from one dict
|
||||
|
||||
Tue Nov 10 2015 Petr Viktorin <encukou@gmail.com> - 0.7-1
|
||||
- Add compatibility with Python 2.6
|
||||
|
||||
Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
-
|
||||
Mon Mar 2 2015 Petr Viktorin <encukou@gmail.com> - 0.6-3
|
||||
- Don't use licence macro on RHEL 6
|
||||
|
||||
Mon Mar 2 2015 Petr Viktorin <encukou@gmail.com> - 0.6-3
|
||||
- Don't use licence macro on RHEL 6
|
||||
|
||||
Tue Jan 27 2015 Petr Viktorin <encukou@gmail.com> - 0.6-2
|
||||
- Also install COPYING as a license on the Python 3 version
|
||||
|
||||
Mon Jan 26 2015 Petr Viktorin <encukou@gmail.com> - 0.6-1
|
||||
- Run tests
|
||||
- Install COPYING as a license
|
||||
|
||||
Wed Nov 26 2014 Petr Viktorin <encukou@gmail.com> - 0.5-1
|
||||
- Packaging fixes
|
||||
|
||||
Wed Nov 26 2014 Petr Viktorin <encukou@gmail.com> - 0.4-2
|
||||
- Specify minimum version of pytest
|
||||
|
||||
Wed Nov 26 2014 Petr Viktorin <encukou@gmail.com> - 0.4-1
|
||||
- Ensure backwards compatibility with FreeIPA's root-only logins
|
||||
|
||||
Wed Nov 26 2014 Petr Viktorin <encukou@gmail.com> - 0.3-1
|
||||
- "Upstream" packaging fixes
|
||||
|
||||
Mon Nov 10 2014 Petr Viktorin <encukou@gmail.com> - 0.2-1
|
||||
- better extensibility
|
||||
- bug fixes
|
||||
|
||||
Mon Nov 10 2014 Petr Viktorin <encukou@gmail.com> - 0.1-1
|
||||
- initial public version of package
|
||||
55
python-pytest-multihost.spec
Normal file
55
python-pytest-multihost.spec
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user