From 9d62b4f16f64cc61354034ef1fd82ab18c8eedb47b97cf25a937518ad398fc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 8 Nov 2019 06:35:59 +0000 Subject: [PATCH] Accepting request 746393 from home:mnhauke:network:automation - Update to version 3.0.0 * Introduce query support. * Path object for easy query and common operations. * yield each item instead of returning tuple of items. Greatly reduces memory usage. * Drop pre python 3.6 support. * Replace pylava with pylint. * Add yapf formatter. * Replace py.path with builtin pathlib. * connect() accepts only one login_method parameter. * Drop socker exceptions wrapping. * Remove ConnectionError exception. * Renamed LibError to LibRouterosError. * Changed exceptions inheritance. * Removed joinPath() - Do not longer build against python2 (upstream dropped support) OBS-URL: https://build.opensuse.org/request/show/746393 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-librouteros?expand=0&rev=3 --- librouteros-2.4.0.tar.gz | 3 --- librouteros-3.0.0.tar.gz | 3 +++ python-librouteros.changes | 20 ++++++++++++++++++++ python-librouteros.spec | 6 ++++-- 4 files changed, 27 insertions(+), 5 deletions(-) delete mode 100644 librouteros-2.4.0.tar.gz create mode 100644 librouteros-3.0.0.tar.gz diff --git a/librouteros-2.4.0.tar.gz b/librouteros-2.4.0.tar.gz deleted file mode 100644 index acac4f3..0000000 --- a/librouteros-2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:238aeb646b7bef833d4e70763e9b92a636c1b1883d806c2a880619047ac14882 -size 25603 diff --git a/librouteros-3.0.0.tar.gz b/librouteros-3.0.0.tar.gz new file mode 100644 index 0000000..92c74bf --- /dev/null +++ b/librouteros-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9462fc8e15b489e439eecbddbaadda7555cbc565bf4496e11d8e47922fc554ef +size 31984 diff --git a/python-librouteros.changes b/python-librouteros.changes index abfe5eb..1570b5f 100644 --- a/python-librouteros.changes +++ b/python-librouteros.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Nov 7 19:51:02 UTC 2019 - Martin Hauke + +- Update to version 3.0.0 + * Introduce query support. + * Path object for easy query and common operations. + * yield each item instead of returning tuple of items. Greatly + reduces memory usage. + * Drop pre python 3.6 support. + * Replace pylava with pylint. + * Add yapf formatter. + * Replace py.path with builtin pathlib. + * connect() accepts only one login_method parameter. + * Drop socker exceptions wrapping. + * Remove ConnectionError exception. + * Renamed LibError to LibRouterosError. + * Changed exceptions inheritance. + * Removed joinPath() +- Do not longer build against python2 (upstream dropped support) + ------------------------------------------------------------------- Sat Oct 12 08:26:33 UTC 2019 - Martin Hauke diff --git a/python-librouteros.spec b/python-librouteros.spec index 7bd0f7e..151532e 100644 --- a/python-librouteros.spec +++ b/python-librouteros.spec @@ -1,6 +1,7 @@ # # spec file for package python-librouteros # +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017-2019, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -17,12 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-librouteros -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: Python implementation of MikroTik RouterOS API -Group: Development/Languages/Python License: GPL-2.0-or-later +Group: Development/Languages/Python URL: https://github.com/luqasz/librouteros Source: https://github.com/luqasz/librouteros/archive/%{version}.tar.gz#/librouteros-%{version}.tar.gz BuildRequires: %{python_module setuptools}