15
0

Accepting request 746479 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/746479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-librouteros?expand=0&rev=2
This commit is contained in:
2019-11-08 14:27:18 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:238aeb646b7bef833d4e70763e9b92a636c1b1883d806c2a880619047ac14882
size 25603

3
librouteros-3.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9462fc8e15b489e439eecbddbaadda7555cbc565bf4496e11d8e47922fc554ef
size 31984

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Nov 7 19:51:02 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- 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 <mardnh@gmx.de>

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}