From 417a8ae18500f836af3545aef0105187379060ca Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 23 Dec 2020 11:36:39 +0300 Subject: [PATCH] devel/py-netdisco: add port Private patch. --- devel/py-netdisco/Makefile | 21 +++++++++++++++++++++ devel/py-netdisco/distinfo | 3 +++ devel/py-netdisco/pkg-descr | 15 +++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 devel/py-netdisco/Makefile create mode 100644 devel/py-netdisco/distinfo create mode 100644 devel/py-netdisco/pkg-descr diff --git a/devel/py-netdisco/Makefile b/devel/py-netdisco/Makefile new file mode 100644 index 000000000000..86ad6d3677b5 --- /dev/null +++ b/devel/py-netdisco/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= netdisco +PORTVERSION= 2.8.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Discover devices on your local network + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}voluptuous>0:devel/py-voluptuous@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-netdisco/distinfo b/devel/py-netdisco/distinfo new file mode 100644 index 000000000000..652be07013ba --- /dev/null +++ b/devel/py-netdisco/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1605997683 +SHA256 (netdisco-2.8.2.tar.gz) = dcaabf83b204282aacfb213b18799eb7af2d5a6defe529487bbd0548036392fe +SIZE (netdisco-2.8.2.tar.gz) = 30948 diff --git a/devel/py-netdisco/pkg-descr b/devel/py-netdisco/pkg-descr new file mode 100644 index 000000000000..c7cb0664854e --- /dev/null +++ b/devel/py-netdisco/pkg-descr @@ -0,0 +1,15 @@ +NetDisco is a Python 3 library to discover local devices and services. +It allows to scan on demand or offer a service that will scan the +network in the background in a set interval. + +Current methods of scanning: + - mDNS (includes Chromecast, Homekit) + - uPnP + - Plex Media Server using Good Day Mate protocol + - Logitech Media Server discovery protocol + - Daikin discovery protocol + - Web OS discovery protocol + +It is the library that powers the device discovery within Home Assistant. + +WWW: https://github.com/home-assistant/netdisco