14
0
forked from pool/python-pyeapi

Accepting request 733923 from home:mnhauke:network:automation

Initial package for python-pyeapi

OBS-URL: https://build.opensuse.org/request/show/733923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyeapi?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-09-30 10:05:22 +00:00
committed by Git OBS Bridge
commit d97c1945b7
5 changed files with 116 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

3
pyeapi-0.8.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5be222c290e9e14827ee15541f0e61e290e0223bdead6151233aa7baa5b1b3c8
size 133732

17
python-pyeapi.changes Normal file
View File

@@ -0,0 +1,17 @@
-------------------------------------------------------------------
Sun Sep 29 17:21:29 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.8.2
- Specfile cleanup
-------------------------------------------------------------------
Mon Aug 7 07:47:52 UTC 2017 - mardnh@gmx.de
- Update to version 0.8.1
- Convert to singlespec
-------------------------------------------------------------------
Wed Aug 31 10:46:45 UTC 2016 - mardnh@gmx.de
- initial package, version 0.6.1

72
python-pyeapi.spec Normal file
View File

@@ -0,0 +1,72 @@
#
# spec file for package python-pyeapi
#
# Copyright (c) 2017-2019, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyeapi
Version: 0.8.2
Release: 0
Summary: Python Client for eAPI
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/arista-eosplus/pyeapi
Source: https://files.pythonhosted.org/packages/source/p/pyeapi/pyeapi-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module netaddr}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: %{python_module netaddr}
BuildArch: noarch
%python_subpackages
%description
The Python Client for eAPI (pyeapi) is a native Python library wrapper around
Arista EOS eAPI. It provides a set of Python language bindings for configuring
Arista EOS nodes.
The Python library can be used to communicate with EOS either locally
(on-box) or remotely (off-box). It uses a standard INI-style configuration file
to specify one or more nodes and connection profiles.
The pyeapi library also provides an API layer for building native Python
objects to interact with the destination nodes. The API layer is a convenient
implementation for working with the EOS configuration and is extensible for
developing custom implementations.
%prep
%setup -q -n pyeapi-%{version}
%build
%python_build
%install
%python_install
%fdupes %{buildroot}
%check
%pytest test/unit
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.md
%doc examples
%{python_sitelib}/*
%changelog