14
0
Files
python-pyroute2/python-pyroute2.spec
Dirk Mueller 2d411d2115 Accepting request 984519 from home:yarunachalam:branches:devel:languages:python
- update to 0.6.12:
  * ndb: allow dict as keys in __contains__
  * ndb: fixed count() on nested views
  * ndb: fix IPv6 addr removal: #926
  * ifinfmsg: fixed IFLA_IPTUN_FLAGS: #924
  * tc: fix tcm_info setting: #928
- update to 0.6.11:
  * ipdb: fix requests compatibility: #920
  * ipdb: added deprecation warning
- update to 0.6.10:
  * ndb: fix DB reload on incomplete requests in the IPRoute API fallbacks: #890
  * ndb: basic ipvlan support
  * ndb: support ndb.schema.backup("filename") fro SQLite3 backend
  * ndb: transactions, CheckProcess, PingAddress, see test_ndb/test_transaction.py and docs
  * ndb: make snapshots only for commit() calls, no automatic snapshots for apply()
  * netlink: filter out all the subsequent messages starting from the first error: #892
  * protocols: fix arp module export
  * iproute: deprecate positional arguments to IPRoute.rule()
  * iproute, ndb: use pyroute2.requests to filter and transform API call arguments
  * conntrack: fix exports: #900
  * nftables: multiple fixes: #902
  * tc: fix em_ipset crash: #905
  * tests: integrated pre-commit, github actions and more
  * tests: support basic OpenBSD tests
  * pyroute2-cli: parser fixes

OBS-URL: https://build.opensuse.org/request/show/984519
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=55
2022-06-23 06:00:36 +00:00

76 lines
2.7 KiB
RPMSpec

#
# spec file for package python-pyroute2
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyroute2
Version: 0.6.12
Release: 0
Summary: Python Netlink library
License: Apache-2.0 OR GPL-2.0-or-later
URL: https://github.com/svinota/pyroute2
Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
Requires: python-pyroute2.core = %{version}
Requires: python-pyroute2.ethtool = %{version}
Requires: python-pyroute2.ipdb = %{version}
Requires: python-pyroute2.ipset = %{version}
Requires: python-pyroute2.ndb = %{version}
Requires: python-pyroute2.nftables = %{version}
Requires: python-pyroute2.nslink = %{version}
%python_subpackages
%description
Pyroute2 is a pure Python netlink library. It requires only Python stdlib, no
3rd party libraries. The library was started as an RTNL protocol
implementation, so the name is pyroute2, but now it supports many netlink
protocols. Some supported netlink families and protocols:
* rtnl, network settings --- addresses, routes, traffic controls
* nfnetlink --- netfilter API: ipset, nftables, ...
* ipq --- simplest userspace packet filtering, iptables QUEUE target
* devlink --- manage and monitor devlink-enabled hardware
* generic --- generic netlink families
* nl80211 --- wireless functions API (basic support)
* taskstats --- extended process statistics
* acpi_events --- ACPI events monitoring
* thermal_events --- thermal events monitoring
* VFS_DQUOT --- disk quota events monitoring
%prep
%setup -q -n pyroute2-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst CHANGELOG.md
%license LICENSE.Apache.v2 LICENSE.GPL.v2
%{python_sitelib}/*
%changelog