From 48ab0c75ff8bb463ac76778562313abefcf17d79dd5ca4b28b232b91897d267b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 25 Nov 2020 14:57:24 +0000 Subject: [PATCH] Accepting request 850719 from home:mcalabkova:branches:devel:languages:python - update to version 0.8.14 * Add ``items()`` in addition to ``iteritems()`` This is an iterator on Python 3 and return a list of items in Python 2. * MIB parsing is still done with ``libsmi`` but through CFFI OBS-URL: https://build.opensuse.org/request/show/850719 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snimpy?expand=0&rev=3 --- python-snimpy.changes | 8 ++++++++ python-snimpy.spec | 9 +++++---- snimpy-0.8.13.tar.gz | 3 --- snimpy-0.8.14.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 snimpy-0.8.13.tar.gz create mode 100644 snimpy-0.8.14.tar.gz diff --git a/python-snimpy.changes b/python-snimpy.changes index e2a77d4..614feab 100644 --- a/python-snimpy.changes +++ b/python-snimpy.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jul 29 10:43:00 UTC 2020 - Marketa Calabkova + +- update to version 0.8.14 + * Add ``items()`` in addition to ``iteritems()`` This is an iterator + on Python 3 and return a list of items in Python 2. + * MIB parsing is still done with ``libsmi`` but through CFFI + ------------------------------------------------------------------- Mon Mar 23 22:22:07 UTC 2020 - Martin Hauke diff --git a/python-snimpy.spec b/python-snimpy.spec index 1a1efa7..94fbe5d 100644 --- a/python-snimpy.spec +++ b/python-snimpy.spec @@ -1,6 +1,7 @@ # # spec file for package python-snimpy # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2016-2020, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -12,12 +13,13 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-snimpy -Version: 0.8.13 +Version: 0.8.14 Release: 0 Summary: Interactive SNMP tool License: ISC @@ -35,7 +37,6 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module cffi >= 1.0.0} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pycryptodomex} BuildRequires: %{python_module pysnmp >= 4} BuildRequires: %{python_module setuptools} @@ -81,7 +82,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%python_exec -m unittest discover tests -v %files %{python_files} %license docs/license.rst diff --git a/snimpy-0.8.13.tar.gz b/snimpy-0.8.13.tar.gz deleted file mode 100644 index 1975b82..0000000 --- a/snimpy-0.8.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98b1790977b435332c03ab2603f6621eeeee69a50453ac01ca55dc7696d08535 -size 74574 diff --git a/snimpy-0.8.14.tar.gz b/snimpy-0.8.14.tar.gz new file mode 100644 index 0000000..8246635 --- /dev/null +++ b/snimpy-0.8.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7bcbb0cf9f6e5bf71cf7b0407fd9149c3ca31d1b681d26305b7e3faeae911c8 +size 76671