forked from pool/python-pingparsing
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
This commit is contained in:
committed by
Git OBS Bridge
parent
5d33854e99
commit
9c07599d77
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user