forked from pool/python-pingparsing
Accepting request 1282277 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1282277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pingparsing?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 11:28:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 20:19:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pingparsing
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,9 @@ 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_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 38.3.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-humanreadable >= 0.3
|
||||
@@ -36,8 +38,8 @@ Requires: python-setuptools >= 38.3.0
|
||||
Requires: python-simplejson
|
||||
Requires: python-subprocrunner >= 1.2.2
|
||||
Requires: python-typepy >= 1.3.2
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(post): alts
|
||||
Requires(postun): alts
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module humanreadable >= 0.3}
|
||||
@@ -58,10 +60,10 @@ pingparsing is a CLI-tool/Python-library for parsing ping command output.
|
||||
sed -i -e '/^#!\//, 1d' pingparsing/__main__.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pingparsing
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
Reference in New Issue
Block a user