forked from pool/python-pysnmp
- Update to version 6.2.4
* Deleted more obsolete items. - Update to version 6.2.3 * Removed unused dependencies. - Enable tests - Get source from pypi, github tag doesn't have the latest version and looks like the releases are not done in the github. - Update to version 6.2.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=54
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58a94b4c2b717c81ece3cb7061103e05a4b8c2f19044e527481b3ada101962df
|
||||
size 470689
|
3
pysnmp-6.2.4.tar.gz
Normal file
3
pysnmp-6.2.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b1346f561fdc53f13019c5ec2c108224b4935d5bb6d2c0133ca236bbae77665
|
||||
size 413802
|
@@ -1,9 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 08:33:51 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to version 6.2.4
|
||||
* Deleted more obsolete items.
|
||||
- Update to version 6.2.3
|
||||
* Removed unused dependencies.
|
||||
- Enable tests
|
||||
- Get source from pypi, github tag doesn't have the latest version and
|
||||
looks like the releases are not done in the github.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 20 09:33:35 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 6.6.2
|
||||
* Deleted more obsolete items.
|
||||
* Removed unused dependencies.
|
||||
- Update to version 6.2.2
|
||||
* Cleaned up sync API leftover.
|
||||
* Retired temporary sync API.
|
||||
* Removed package postfix. A helper release to enable migration.
|
||||
|
@@ -17,15 +17,18 @@
|
||||
|
||||
|
||||
Name: python-pysnmp
|
||||
Version: 6.2.2
|
||||
Version: 6.2.4
|
||||
Release: 0
|
||||
Summary: A pure-Python SNMPv1/v2c/v3 library
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/lextudio/pysnmp
|
||||
Source: https://github.com/lextudio/pysnmp/archive/refs/tags/v%{version}.tar.gz#/pysnmp-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pysnmp/pysnmp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pyasn1}
|
||||
BuildRequires: %{python_module pysmi}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: net-snmp
|
||||
@@ -68,13 +71,16 @@ find docs -name "\.*" -exec rm -Rf {} +
|
||||
chmod -x docs/net-snmptrapd.conf docs/net-snmpd.conf
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
### Disable checks since those require a running snmpd
|
||||
#%%check
|
||||
#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib} ./runtests.sh
|
||||
%check
|
||||
# Running tests with python -m to make it work with the import path
|
||||
%{python_expand #
|
||||
# Not running asyncio tests that requires network
|
||||
$python -m pytest -v -m 'not asyncio'
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.rst
|
||||
%doc CHANGES.rst README.md THANKS.txt TODO.txt docs examples
|
||||
%doc README.md docs examples
|
||||
%{python_sitelib}/pysnmp
|
||||
%{python_sitelib}/pysnmp-%{version}.dist-info
|
||||
|
||||
|
Reference in New Issue
Block a user