diff --git a/multimedia/Makefile b/multimedia/Makefile index 92d913a28cf8..d4df79a297d1 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -294,6 +294,7 @@ SUBDIR += py-periscope SUBDIR += py-qt4-multimedia SUBDIR += py-qt4-phonon + SUBDIR += py-soco SUBDIR += py-subliminal SUBDIR += py-tvnamer SUBDIR += pyjama diff --git a/multimedia/py-soco/Makefile b/multimedia/py-soco/Makefile new file mode 100644 index 000000000000..2323bf9c8854 --- /dev/null +++ b/multimedia/py-soco/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= soco +PORTVERSION= 0.6 +CATEGORIES= multimedia python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= conall@conall.net +COMMENT= Python library to control Sonos speakers + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests + +USE_GITHUB= yes +GH_ACCOUNT= SoCo +GH_PROJECT= SoCo +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 6640f85 + +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +.include diff --git a/multimedia/py-soco/distinfo b/multimedia/py-soco/distinfo new file mode 100644 index 000000000000..a87dcc78e9a9 --- /dev/null +++ b/multimedia/py-soco/distinfo @@ -0,0 +1,2 @@ +SHA256 (soco-0.6.tar.gz) = bf70457610ce7483539d1d4a26949c9ba125c4b0a08e7195559b88369f5be21f +SIZE (soco-0.6.tar.gz) = 429086 diff --git a/multimedia/py-soco/pkg-descr b/multimedia/py-soco/pkg-descr new file mode 100644 index 000000000000..d91c4ef4a65a --- /dev/null +++ b/multimedia/py-soco/pkg-descr @@ -0,0 +1,4 @@ +SoCo (Sonos Controller) is a simple Python class that allows you to +programmatically control Sonos speakers. + +WWW: https://github.com/SoCo/SoCo