add mac-vendor-lookup-0.1.11

This commit is contained in:
2022-01-29 14:16:05 +01:00
committed by onkelbeh
parent 1854e6e1a4
commit b9a8cac48b
4 changed files with 60 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
AUX mac-vendors.txt.xz 274764 BLAKE2B b3a1f045270d192decde4ecd9b31f3d9a97287d72b7cdc8c6cb0bf6bf0a8a4ed501737753804a782e3f4606696fc7c929c20c5fa9afc81fbf5e0b2e38f4f77e1 SHA512 d8595fea847f5582ef0881320e70bce2ae21824c50d741359c324788c96164a205828e27de89194aa23bbb3debbb323d02f611314f20ca2ae0cfc48edfa316cb
DIST mac-vendor-lookup-0.1.11.tar.gz 9392 BLAKE2B a4eeb3b0d5c5d1864322edb3b0eaf2a32ff95505c25134b8fe7453258b61584ccd14556dba942b8cf08e1a92a7700531a6461410fb7ca6dc44299dee129d5373 SHA512 a699cc75d189480d29db6a1a5b0b1857ae7abd4a9f9c1b279cae8a7c19adf4037c2dc093395119218c36c5d7659e3fa50ca3021cd5637e6f32dee3e6ebab1a45
EBUILD mac-vendor-lookup-0.1.11.ebuild 982 BLAKE2B 6585953da56b12f90def9389f4e58f1550b85940045cb94050c09203146a1149261f75680e140595657f22c147469e1b8f2bb25b636cfc90b27f7d4c0be4ecbd SHA512 c62822fb57a267b6acca5f78ae8132f06ab9e18a25341cd81d1f989608706ecd11c176e972409af33c580aaf1cc2927236537283d5daf5f795da9aa6f773c797
MISC metadata.xml 460 BLAKE2B 492cfc24d532d4b18f71fb24b2b82d27f989d8f6335e9012d8523183b44db220c9a5fbd4d7eb13039686a24da428ea941a0410d6e6752056044f6d448145396b SHA512 35735bbeea414db0f7ccf901d170ab5e2d6c0f1aa4120fb88116a27bf97bad4557c5b15129011714d7e58872d32ff2981ad7bd68e12f8ae26feee212410936b4
@@ -0,0 +1,41 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Find the vendor for a given MAC address"
HOMEPAGE="https://github.com/bauerj/mac_vendor_lookup https://pypi.org/project/mac-vendor-lookup/"
MY_PN=${PN//-/_}
SRC_URI="https://github.com/bauerj/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiofiles[${PYTHON_USEDEP}]"
BDEPEND="
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
}
src_prepare() {
xzcat "${FILESDIR}/mac-vendors.txt.xz" > "${S}/mac-vendors.txt" || die
eapply_user
}
+15
View File
@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">mac-vendor-lookup</remote-id>
<maintainer status="unknown">
<email>pypi.org@bauerj.eu</email>
<name>Johann Bauer</name>
</maintainer>
</upstream>
</pkgmetadata>