14
0
forked from pool/python-pyeapi

- Switch to autosetup macro.

- Add patch no-more-imp.patch:
  * Use importlib, rather than imp.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyeapi?expand=0&rev=13
This commit is contained in:
2024-02-19 06:07:51 +00:00
committed by Git OBS Bridge
parent a1f8436cf7
commit cc61d1e2d5
3 changed files with 44 additions and 2 deletions

View File

@@ -23,9 +23,11 @@ Version: 1.0.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
# PATCH-FIX-UPSTREAM gh#arista-eosplus/pyeapi#292
Patch0: no-more-imp.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module netaddr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -51,7 +53,7 @@ implementation for working with the EOS configuration and is extensible for
developing custom implementations.
%prep
%setup -q -n pyeapi-%{version}
%autosetup -p1 -n pyeapi-%{version}
%build
%pyproject_wheel