Date: Fri, 24 Jul 2020 03:47:35 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542995 - in head/devel: . py-mac-vendor-lookup py-mac-vendor-lookup/files Message-ID: <202007240347.06O3lZW4014396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Jul 24 03:47:34 2020 New Revision: 542995 URL: https://svnweb.freebsd.org/changeset/ports/542995 Log: devel/py-mac-vendor-lookup: create port This library provides an easy way to get vendor information from a MAC address. It contains a local copy of the IEEE's OUI prefix list. It has an asynchronous interface using Python 3's asyncio as well as a regular synchronous interface for old-school usage. WWW: https://github.com/bauerj/mac_vendor_lookup Added: head/devel/py-mac-vendor-lookup/ head/devel/py-mac-vendor-lookup/Makefile (contents, props changed) head/devel/py-mac-vendor-lookup/distinfo (contents, props changed) head/devel/py-mac-vendor-lookup/files/ head/devel/py-mac-vendor-lookup/files/patch-setup.py (contents, props changed) head/devel/py-mac-vendor-lookup/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Jul 24 03:38:27 2020 (r542994) +++ head/devel/Makefile Fri Jul 24 03:47:34 2020 (r542995) @@ -4618,6 +4618,7 @@ SUBDIR += py-lunardate SUBDIR += py-lxml SUBDIR += py-macholib + SUBDIR += py-mac-vendor-lookup SUBDIR += py-magic SUBDIR += py-mailcap-fix SUBDIR += py-manuel Added: head/devel/py-mac-vendor-lookup/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mac-vendor-lookup/Makefile Fri Jul 24 03:47:34 2020 (r542995) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= mac-vendor-lookup +PORTVERSION= 0.1.11 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= swills@FreeBSD.org +COMMENT= Find the vendor for a given MAC address + +RUN_DEPENDS= \ + ${PYTHON_PKGNAMEPREFIX}aiohttp>=2.3.5:www/py-aiohttp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}aiofiles>=0:devel/py-aiofiles@${PY_FLAVOR} + +USES= dos2unix python:3.7+ +DOS2UNIX_FILES= ${WRKSRC}/setup.py +USE_PYTHON= autoplist concurrent distutils + +USE_GITHUB= yes +GH_ACCOUNT= bauerj +GH_PROJECT= mac_vendor_lookup + +.include <bsd.port.mk> Added: head/devel/py-mac-vendor-lookup/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mac-vendor-lookup/distinfo Fri Jul 24 03:47:34 2020 (r542995) @@ -0,0 +1,3 @@ +TIMESTAMP = 1588104419 +SHA256 (bauerj-mac_vendor_lookup-0.1.11_GH0.tar.gz) = 6e4a7dec08397be0ac3afe87d7d3307b560236f334cc0bd899bdb9a9b3675dd8 +SIZE (bauerj-mac_vendor_lookup-0.1.11_GH0.tar.gz) = 9392 Added: head/devel/py-mac-vendor-lookup/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mac-vendor-lookup/files/patch-setup.py Fri Jul 24 03:47:34 2020 (r542995) @@ -0,0 +1,10 @@ +--- setup.py.orig 2020-04-28 20:12:37 UTC ++++ setup.py +@@ -171,7 +171,6 @@ setup( + # + # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' + data_files=[ +- ("cache", ["mac-vendors.txt"]), + ], # Optional + + # To provide executable scripts, use entry points in preference to the Added: head/devel/py-mac-vendor-lookup/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mac-vendor-lookup/pkg-descr Fri Jul 24 03:47:34 2020 (r542995) @@ -0,0 +1,6 @@ +This library provides an easy way to get vendor information from a MAC address. +It contains a local copy of the IEEE's OUI prefix list. It has an asynchronous +interface using Python 3's asyncio as well as a regular synchronous interface +for old-school usage. + +WWW: https://github.com/bauerj/mac_vendor_lookup
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007240347.06O3lZW4014396>