15
0

Accepting request 1296927 from devel:languages:python

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1296927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-napalm-procurve?expand=0&rev=12
This commit is contained in:
2025-08-01 22:41:57 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 1 04:12:54 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Dec 12 12:52:32 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-napalm-procurve
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -17,8 +17,6 @@
#
# python-napalm is python3 only
%define skip_python2 1
Name: python-napalm-procurve
Version: 0.7.0
Release: 0
@@ -57,10 +55,10 @@ ProCurve driver support for Napalm network automation.
sed -i -e '/addopts/d' setup.cfg
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -72,6 +70,6 @@ sed -i -e '/addopts/d' setup.cfg
%license LICENSE
%doc AUTHORS README.md
%{python_sitelib}/napalm_procurve
%{python_sitelib}/napalm_procurve-%{version}*-info
%{python_sitelib}/napalm_procurve-%{version}.dist-info
%changelog