15
0

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
This commit is contained in:
Tomáš Chvátal
2019-11-08 06:35:59 +00:00
committed by Git OBS Bridge
parent 7880da50fc
commit 9d62b4f16f
4 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#
# spec file for package python-librouteros
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017-2019, Martin Hauke <mardnh@gmx.de>
#
# 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}