diff --git a/net/Makefile b/net/Makefile --- a/net/Makefile +++ b/net/Makefile @@ -1093,6 +1093,7 @@ SUBDIR += py-pcapy-ng SUBDIR += py-port-for SUBDIR += py-portend + SUBDIR += py-pychromecast SUBDIR += py-pyenet SUBDIR += py-pyfixbuf SUBDIR += py-pygeoip diff --git a/net/py-pychromecast/Makefile b/net/py-pychromecast/Makefile new file mode 100644 --- /dev/null +++ b/net/py-pychromecast/Makefile @@ -0,0 +1,20 @@ +PORTNAME= PyChromecast +DISTVERSION= 13.0.8 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lexi.freebsd@le-fay.org +COMMENT= Python module to talk to Google Chromecast +WWW= https://pypi.org/project/PyChromecast/ + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}casttube>0:net/py-casttube@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +.include diff --git a/net/py-pychromecast/distinfo b/net/py-pychromecast/distinfo new file mode 100644 --- /dev/null +++ b/net/py-pychromecast/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703588893 +SHA256 (PyChromecast-13.0.8.tar.gz) = e4b7523db137f8de05eedcc6154113b68532848629442b448c2334fac966a447 +SIZE (PyChromecast-13.0.8.tar.gz) = 52095 diff --git a/net/py-pychromecast/pkg-descr b/net/py-pychromecast/pkg-descr new file mode 100644 --- /dev/null +++ b/net/py-pychromecast/pkg-descr @@ -0,0 +1,10 @@ +Library for Python 3.6+ to communicate with the Google Chromecast. + +It currently supports: +* Auto discovering connected Chromecasts on the network +* Start the default media receiver and play any online media +* Control playback of current playing media +* Implement Google Chromecast api v2 +* Communicate with apps via channels +* Easily extendable to add support for unsupported namespaces +* Multi-room setups with Audio cast devices