From cb3c88e2a3e4bc94d0e5ae5a49d0352ea6e65e6046f7717688a0f6163d04d552 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 Feb 2020 06:21:02 +0000 Subject: [PATCH] Accepting request 779666 from home:mnhauke - Update to version 1.0.0 * Drop Python 2 support * Add packet size option to PingTransmitter and CLI * Add ttl option to PingTransmitter and CLI * Add include_icmp_replies flag to PingStats.as_dict method * Add --no-color option to the CLI tool * Add type annotations and py.typed to the package * Add [cli] extras_require * Update dependencies * Remove deprecated methods * Reduce a package dependency * Replace the logging library * Fix timestamp parsing when transmitting ping by CLI * Minor bug fixes OBS-URL: https://build.opensuse.org/request/show/779666 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pingparsing?expand=0&rev=3 --- pingparsing-0.18.2.tar.gz | 3 --- pingparsing-1.0.0.tar.gz | 3 +++ python-pingparsing.changes | 18 ++++++++++++++++++ python-pingparsing.spec | 22 ++++++++++++---------- 4 files changed, 33 insertions(+), 13 deletions(-) delete mode 100644 pingparsing-0.18.2.tar.gz create mode 100644 pingparsing-1.0.0.tar.gz diff --git a/pingparsing-0.18.2.tar.gz b/pingparsing-0.18.2.tar.gz deleted file mode 100644 index ddd0efc..0000000 --- a/pingparsing-0.18.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84a884d49b0a992baa69eaa775eb99f23ffa9d64ce52e35207b45cc94a520b4e -size 39485 diff --git a/pingparsing-1.0.0.tar.gz b/pingparsing-1.0.0.tar.gz new file mode 100644 index 0000000..7371cce --- /dev/null +++ b/pingparsing-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01474ed20ac1d3bece9a6808d5f11df5ca92abfc0d4d086936d7d75022acfd24 +size 41122 diff --git a/python-pingparsing.changes b/python-pingparsing.changes index 67de934..4eedfdf 100644 --- a/python-pingparsing.changes +++ b/python-pingparsing.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Feb 26 20:04:47 UTC 2020 - Martin Hauke + +- Update to version 1.0.0 + * Drop Python 2 support + * Add packet size option to PingTransmitter and CLI + * Add ttl option to PingTransmitter and CLI + * Add include_icmp_replies flag to PingStats.as_dict method + * Add --no-color option to the CLI tool + * Add type annotations and py.typed to the package + * Add [cli] extras_require + * Update dependencies + * Remove deprecated methods + * Reduce a package dependency + * Replace the logging library + * Fix timestamp parsing when transmitting ping by CLI + * Minor bug fixes + ------------------------------------------------------------------- Sat Feb 8 15:27:18 UTC 2020 - Martin Hauke diff --git a/python-pingparsing.spec b/python-pingparsing.spec index a2d58f6..a573e4d 100644 --- a/python-pingparsing.spec +++ b/python-pingparsing.spec @@ -1,7 +1,7 @@ # # spec file for package python-pingparsing # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,33 +12,35 @@ # 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-%{**}} +%define skip_python2 1 Name: python-pingparsing -Version: 0.18.2 +Version: 1.0.0 Release: 0 -License: MIT Summary: CLI-tool/Python-library for parsing ping command output -Url: https://github.com/thombashi/pingparsing +License: MIT Group: Development/Languages/Python +URL: https://github.com/thombashi/pingparsing Source: https://github.com/thombashi/pingparsing/archive/v%{version}.tar.gz#/pingparsing-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools >= 38.3.0} +BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module humanreadable >= 0.0.7} BuildRequires: %{python_module Logbook >= 0.12.3} +BuildRequires: %{python_module humanreadable >= 0.0.7} BuildRequires: %{python_module pyparsing >= 2.0.3} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module simplejson} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module subprocrunner >= 0.17.0} BuildRequires: %{python_module typepy >= 0.6.3} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module simplejson} # /SECTION BuildRequires: fdupes Requires: python-humanreadable >= 0.0.7 -Requires: python-Logbook >= 0.12.3 +Requires: python-loguru >= 0.4.1 Requires: python-pyparsing >= 2.0.3 Requires: python-setuptools >= 38.3.0 Requires: python-six >= 1.10.0