14
0

Accepting request 1108076 from devel:languages:python

- Clean up the SPEC file
- Update to version 7.1.0
  * Add support for NetBox v3.5.

OBS-URL: https://build.opensuse.org/request/show/1108076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=34
This commit is contained in:
2023-08-31 11:45:48 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eba8b5153ca575bc45f39ade1119b9f0a218c83947f84c4bb2df7fc9de4ffa9a
size 63554

3
pynetbox-7.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:025b7a7c1b297673d0b37691b846c038a5954d495abe0cfcec247cd4f92f5a1e
size 64278

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Aug 30 09:18:50 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Tue Aug 29 15:03:55 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 7.1.0
* Add support for NetBox v3.5.
-------------------------------------------------------------------
Mon Jan 23 21:56:39 UTC 2023 - Martin Hauke <mardnh@gmx.de>

View File

@@ -18,7 +18,7 @@
%define skip_python2 1
Name: python-pynetbox
Version: 7.0.1
Version: 7.1.0
Release: 0
Summary: NetBox API client library
License: Apache-2.0
@@ -27,13 +27,14 @@ URL: https://github.com/digitalocean/pynetbox
Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module netaddr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-netaddr
Requires: python-packaging
Requires: python-requests >= 2.20.0
BuildArch: noarch
%python_subpackages
@@ -42,13 +43,13 @@ BuildArch: noarch
Python API client library for NetBox.
%prep
%setup -q -n pynetbox-%{version}
%autosetup -p1 -n pynetbox-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# remove testsuite from sitelib
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
@@ -59,6 +60,7 @@ Python API client library for NetBox.
%files %{python_files}
%doc README.md CHANGELOG.md
%license LICENSE
%{python_sitelib}/pynetbox*
%{python_sitelib}/pynetbox
%{python_sitelib}/pynetbox-%{version}*-info
%changelog