add getmac

This commit is contained in:
Andreas Billmeier 2019-06-22 08:45:20 +02:00
parent d6f84ad2ec
commit b969fb0987
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST getmac-0.8.1.tar.gz 43394 BLAKE2B f200d388f91b2bd46a35aad2bc40b1fd851189f937b790d335c3019a12ce42e1d7fbda3b38a14705063ce265d6ce38c5acb56f9b7cfaa378230be9ab284da538 SHA512 f319f1b56cc8d623c1ec304ff628583f44e7cc24b11db139d1bc97a535b8b1389d2570e9091bea62329894ceb507e960a1983c8ae521f9550257e7b8fdeb1d78
EBUILD getmac-0.8.1.ebuild 724 BLAKE2B 5f0d51e9c378476b65d077193d7fa9127ec15457ca9df0bacba66c1540e58d766360e0597720953d568e799437b502e3a3620b51a504295d2e26a42f55320d69 SHA512 1ca273e43ef01d2bacb582e9c1974361ea8346c9be3552e6446b25fb4c6a925baebec0e909dcb676491d2bc5940b9ee5457180c884f96d2a81ffe499f7a399c3
MISC metadata.xml 463 BLAKE2B d87f69c065f408c3cc2abd2362292423cbd07864ad10e8acd5f0b0506315431e80bc2da42ff1b10aed81658c886fb67f503395790a6f5dee1ca343d4bcd238c5 SHA512 2d4bb57967260839586a2f825d1596f45eb833c0585a111eddb77c2f7dc9e04016750e44c0c19c19c0d155e49913a6322969d2f45a263227be33b0929b1b9d30

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Get MAC addresses of remote hosts and local interfaces"
HOMEPAGE="https://github.com/GhostofGoes/getmac https://pypi.org/project/getmac/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">getmac</remote-id>
<maintainer status="unknown">
<email>ghostofgoes@gmail.com</email>
<name>Christopher Goes</name>
</maintainer>
</upstream>
</pkgmetadata>