14
0
forked from pool/python-pysmi

- Redownload tarball from GitHub (missing tests, gh#lextudio/pysnmp#197)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=34
This commit is contained in:
2025-07-25 21:50:25 +00:00
committed by Git OBS Bridge
parent de323a9960
commit e78e24b00f
3 changed files with 10 additions and 4 deletions

View File

@@ -37,7 +37,8 @@ Release: 0
Summary: SNMP SMI/MIB Parser
License: BSD-2-Clause
URL: https://github.com/lextudio/pysmi
Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz
# Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%%{version}.tar.gz
Source: https://github.com/lextudio/pysmi/archive/refs/tags/v%{version}.tar.gz#/pysmi-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
@@ -85,7 +86,7 @@ Can produce PySNMP MIB modules.
%check
%if %{with test}
%pytest
%pytest tests/
%endif
%if !%{with test}