From 9c07599d77e12ef0d3bbba850a811806a2401d5cfd2f1ffa28a0601e430294c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 5 Apr 2020 14:53:58 +0000 Subject: [PATCH] Accepting request 791508 from home:mnhauke - Update to version 1.0.2 * Make it possible execute the CLI with python -m pingparsing * Update requirements OBS-URL: https://build.opensuse.org/request/show/791508 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pingparsing?expand=0&rev=7 --- pingparsing-1.0.1.tar.gz | 3 --- pingparsing-1.0.2.tar.gz | 3 +++ python-pingparsing.changes | 7 +++++++ python-pingparsing.spec | 27 +++++++++++++-------------- 4 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 pingparsing-1.0.1.tar.gz create mode 100644 pingparsing-1.0.2.tar.gz diff --git a/pingparsing-1.0.1.tar.gz b/pingparsing-1.0.1.tar.gz deleted file mode 100644 index 283534b..0000000 --- a/pingparsing-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b87cc1f765f78577de9fb1b6b7aa2e38734be11fec25727fba87216d4709e8f1 -size 41102 diff --git a/pingparsing-1.0.2.tar.gz b/pingparsing-1.0.2.tar.gz new file mode 100644 index 0000000..535de8a --- /dev/null +++ b/pingparsing-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aed86e7aa619e186dbb732dd5131106b0bdb26a3096e891d7ca1f22753010664 +size 41113 diff --git a/python-pingparsing.changes b/python-pingparsing.changes index 7ea4a4f..ec7551b 100644 --- a/python-pingparsing.changes +++ b/python-pingparsing.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 10:30:25 UTC 2020 - Martin Hauke + +- Update to version 1.0.2 + * Make it possible execute the CLI with python -m pingparsing + * Update requirements + ------------------------------------------------------------------- Mon Mar 16 09:55:25 UTC 2020 - Marketa Calabkova diff --git a/python-pingparsing.spec b/python-pingparsing.spec index acad213..ba18ddc 100644 --- a/python-pingparsing.spec +++ b/python-pingparsing.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pingparsing -Version: 1.0.1 +Version: 1.0.2 Release: 0 Summary: CLI-tool/Python-library for parsing ping command output License: MIT @@ -29,24 +29,23 @@ Source: https://github.com/thombashi/pingparsing/archive/v%{version}.tar BuildRequires: %{python_module setuptools >= 38.3.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-humanreadable >= 0.0.7 -Requires: python-loguru >= 0.4.1 -Requires: python-pyparsing >= 2.0.3 -Requires: python-setuptools >= 38.3.0 -Requires: python-six >= 1.10.0 -Requires: python-subprocrunner >= 0.17.0 -Requires: python-typepy >= 0.6.3 -BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Logbook >= 0.12.3} -BuildRequires: %{python_module humanreadable >= 0.0.7} +BuildRequires: %{python_module humanreadable >= 0.1.0} 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 subprocrunner >= 1.2.1} +BuildRequires: %{python_module typepy >= 1.0.0} # /SECTION +Requires: python-humanreadable >= 0.1.0 +Requires: python-loguru >= 0.4.1 +Requires: python-pyparsing >= 2.0.3 +Requires: python-setuptools >= 38.3.0 +Requires: python-simplejson +Requires: python-subprocrunner >= 1.2.1 +Requires: python-typepy >= 1.0.0 +BuildArch: noarch %python_subpackages %description @@ -54,7 +53,7 @@ pingparsing is a CLI-tool/Python-library for parsing ping command output. %prep %setup -q -n pingparsing-%{version} -sed -i -e '/^#!\//, 1d' pingparsing/cli.py +sed -i -e '/^#!\//, 1d' pingparsing/__main__.py %build %python_build