Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37402467
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-pyroute2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname pyroute2

%def_with check

Name: python3-module-%oname
Version: 0.7.7
Release: alt1

Summary: Python Netlink library

Group: Development/Python3
License: GPLv2+, ASL 2.0
Url: https://github.com/svinota/pyroute2

Source: %oname-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-modules-sqlite3
%endif

%add_python3_req_skip pyroute2.bsd.rtmsocket
%add_python3_req_skip dhclient
%add_python3_req_skip netl
%add_python3_req_skip mitogen.core mitogen.master

%description
Pyroute2 is a pure Python3 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.

%prep
%setup -n %oname-%version

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest -- tests/test_minimal/*.py tests/test_unit/*.py

%files
%doc *.rst
%_bindir/*
%python3_sitelibdir/*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin