Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37854459
en ru br
ALT Linux repos
S:0.11.0-alt1

Group :: Development/Python3
RPM: python3-module-netifaces

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname netifaces

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

Summary: Portable network interface information

License: MIT License
Group: Development/Python3
Url: http://alastairs-place.net/netifaces

#Source: http://alastairs-place.net/projects/netifaces/netifaces-%version.tar

# Source-url: https://pypi.io/packages/source/n/%modulename/%modulename-%version.tar.gz
Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

%py3_provides %oname

%description
netifaces provides a (hopefully portable-ish) way for Python programmers to
get access to a list of the network interfaces on the local machine, and to
obtain the addresses of those network interfaces.

The package has been tested on Mac OS X, Windows XP, Windows Vista, Linux
and Solaris.  On Windows, it is currently not able to retrieve IPv6
addresses, owing to shortcomings of the Windows API.

It should work on other UNIX-like systems provided they implement
either getifaddrs() or support the SIOCGIFxxx socket options, although the
data provided by the socket options is normally less complete.

%prep
%setup

%build
%python3_build

%install
%python3_install

%files
%doc README.rst
%python3_sitelibdir/%oname-*.egg-info
%python3_sitelibdir/%oname.*.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin