summaryrefslogtreecommitdiff
path: root/dev-python/netifaces
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-15 13:14:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-15 13:14:13 +0000
commit6af3ec79119578addebd4b60ff068d2ba0adae8d (patch)
treed7bd55b7bee63c5acb5281c70824ad704aab2f51 /dev-python/netifaces
parent607b561bf0505a750e3947c833178f02cce32b50 (diff)
downloadbaldeagleos-repo-6af3ec79119578addebd4b60ff068d2ba0adae8d.tar.gz
baldeagleos-repo-6af3ec79119578addebd4b60ff068d2ba0adae8d.tar.xz
baldeagleos-repo-6af3ec79119578addebd4b60ff068d2ba0adae8d.zip
Adding metadata
Diffstat (limited to 'dev-python/netifaces')
-rw-r--r--dev-python/netifaces/netifaces-0.11.0-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/netifaces/netifaces-0.11.0-r1.ebuild b/dev-python/netifaces/netifaces-0.11.0-r1.ebuild
new file mode 100644
index 000000000000..0e454b9c9141
--- /dev/null
+++ b/dev-python/netifaces/netifaces-0.11.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Portable network interface information"
+HOMEPAGE="
+ https://pypi.org/project/netifaces/
+ https://alastairs-place.net/projects/netifaces/
+ https://github.com/al45tair/netifaces
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.10.4-remove-osx-fix.patch )
+
+python_test() {
+ "${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}"
+}