File python-aiodiscover.spec of Package python-aiodiscover

# spec file for package python-aiodiscover
# Copyright (c) 2024 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

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-aiodiscover
Version:        2.1.0
Release:        0
Summary:        Python library for async host discovery
License:        Apache-2.0
Group:          Development/Languages/Python
Source0:        %{name}-%{version}.tar.xz
BuildArch:      noarch
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module wheel}
BuildRequires:  ca-certificates
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-aiodns >= 3.1.1
Requires:       python-async_timeout >= 4.0.1
Requires:       python-cached_ipaddress >= 0.2.0
Requires:       python-ifaddr
Requires:       python-netifaces >= 0.11.0
Requires:       python-pyroute2 >= 0.7.3


Discover hosts on the network via ARP and PTR lookup.

%setup -q


%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %python_files
%license LICENSE

openSUSE Build Service is sponsored by