forked from pool/python-ifconfig-parser
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ifconfig-parser?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 12:11:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 16 20:07:57 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ifconfig-parser
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,22 +12,24 @@
|
||||
# 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-%{**}}
|
||||
Name: python-ifconfig-parser
|
||||
Version: 0.0.5
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Python package for parsing raw output of ifconfig
|
||||
Url: https://github.com/KnightWhoSayNi/ifconfig-parser
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/KnightWhoSayNi/ifconfig-parser
|
||||
Source: https://files.pythonhosted.org/packages/source/i/ifconfig-parser/ifconfig-parser-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/KnightWhoSayNi/ifconfig-parser/master/LICENSE
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -41,10 +43,10 @@ sed -i -e '/^#!\//, 1d' ifconfigparser/*.py
|
||||
rm -f ifconfig_parser.egg-info/.gitignore
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
#%%check
|
||||
|
||||
Reference in New Issue
Block a user