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}