python-netifaces: add recipes

With netifaces it's possible to get the addresses of the machine's network
interfaces from Python. Network configuration renderers such as Netplan depends
on its Python3 implementation.

Signed-off-by: Jacopo Dall'Aglio <jacopo.dallaglio@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jacopo Dall'Aglio 2019-11-29 13:10:43 +00:00 committed by Khem Raj
parent 448a5be9a3
commit 459dbf1078
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
DESCRIPTION = "Portable network interface information for Python"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"
SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
inherit pypi

View File

@ -0,0 +1,2 @@
require python-netifaces.inc
inherit setuptools

View File

@ -0,0 +1,2 @@
require python-netifaces.inc
inherit setuptools3