14
0
Files
python-pyroute2/python-pyroute2.spec

75 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-pyroute2
#
# Copyright (c) 2020 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.
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyroute2
Version: 0.5.10
Release: 0
Summary: Python Netlink library
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
License: GPL-2.0-or-later OR Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/svinota/pyroute2
Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
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:
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
* 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}
%check
# tests require root access
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%files %{python_files}
%license README.license.md
%doc README.md CHANGELOG.md README.report.md
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
%license LICENSE.Apache.v2 LICENSE.GPL.v2
%{python_sitelib}/*
Accepting request 648608 from home:jimfunk:branches:devel:languages:python - update to 0.5.3: * bsd: parser improvements * ndb: PostgreSQL support * ndb: transactions commit/rollback * ndb: dependencies rollback * ipdb: IPv6 routes fix * <https://github.com/svinota/pyroute2/issues/543> * tcmsg: ematch support * tcmsg: flow filter * tcmsg: stats2 support improvements * ifinfmsg: GRE i/oflags, i/okey format fixed * <https://github.com/svinota/pyroute2/issues/531> * cli/ss2: improvements, tests * nlsocket: fix work on kernels < 3.2 * <https://github.com/svinota/pyroute2/issues/526> - changes from 0.5.2 * ndb: read-only DB prototype * remote: support communication via stdio * general: fix async keyword -- Python 3.7 compatibility * <https://github.com/svinota/pyroute2/issues/467> * <https://bugzilla.redhat.com/show_bug.cgi?id=1583800> * iproute: support monitoring on BSD systems via PF_ROUTE * rtnl: support for SQL schema in message classes * nl80211: improvements * <https://github.com/svinota/pyroute2/issues/512> * <https://github.com/svinota/pyroute2/issues/514> * <https://github.com/svinota/pyroute2/issues/515> * netlink: support generators - changes from 0.5.1 * ipdb: #310 -- route keying fix * ipdb: #483, #484 -- callback internals change * ipdb: #499 -- eventloop interface * ipdb: #500 -- fix non-default :: routes * netns: #448 -- API change: setns() doesn't remove FD * netns: #504 -- fix resource leakage * bsd: initial commits - changes from 0.5.0 * ACHTUNG: ipdb commit logic is changed * ipdb: do not drop failed transactions * ipdb: #388 -- normalize IPv6 addresses * ipdb: #391 -- support both IPv4 and IPv6 default routes * ipdb: #392 -- fix MPLS route key reference * ipdb: #394 -- correctly work with route priorities * ipdb: #408 -- fix IPv6 routes in tables >= 256 * ipdb: #416 -- fix VRF interfaces creation * ipset: multiple improvements * tuntap: #469 -- support s390x arch * nlsocket: #443 -- fix socket methods resolve order for Python2 * netns: non-destructive `netns.create()` OBS-URL: https://build.opensuse.org/request/show/648608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroute2?expand=0&rev=20
2018-11-13 16:04:24 +00:00
%python3_only %{_bindir}/ss2
%python3_only %{_bindir}/pyroute2-cli
%changelog