Accepting request 697350 from home:tbechtold:branches:systemsmanagement

New package for ansible

OBS-URL: https://build.opensuse.org/request/show/697350
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-runner?expand=0&rev=1
This commit is contained in:
Lars Vogdt 2019-04-27 10:27:06 +00:00 committed by Git OBS Bridge
commit bc44690909
5 changed files with 92 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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a2b83e63b830de3ff01c2992342cfe09f96e410953c85904ee7e301b21fa513
size 40400

4
ansible-runner.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Apr 24 06:28:48 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- Initial packaging (version 1.3.3)

61
ansible-runner.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package python-ansible-runner
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
Name: ansible-runner
Version: 1.3.3
Release: 0
License: Apache
Summary: Package for interfacing with Ansible
Url: https://github.com/ansible/ansible-runner
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/a/ansible-runner/ansible-runner-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: python3-setuptools
Requires: python3-pexpect >= 4.5
Requires: python3-psutil
Requires: python3-python-daemon
Requires: python3-PyYAML
Requires: python3-six >= 1.12
BuildArch: noarch
%description
Ansible Runner is a tool and python library that helps when interfacing with
Ansible directly or as part of another system whether that be through a
container image interface, as a standalone tool, or as a Python module that
can be imported. The goal is to provide a stable and consistent interface
abstraction to Ansible. This allows Ansible to be embedded into other
systems that dont want to manage the complexities of the interface on
their own (such as CI/CD platforms, Jenkins, or other automated tooling)
%prep
%setup -q -n ansible-runner-%{version}
%build
%python3_build
%install
%python3_install
# dont polute the namespace with tests
rm -r %{buildroot}%{python3_sitelib}/test/
%files
%doc README.md
%license LICENSE.md
%{_bindir}/ansible-runner
%{python3_sitelib}/ansible_runner
%{python3_sitelib}/ansible_runner-%{version}-py*.egg-info
%changelog