1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/multimedia/py-soco/Makefile
Tobias C. Berner 53f82439c3 multimedia/py-soco: Update to 0.19
PR:		245005
Submitted by:	Conall O'Brien <conall@conall.net>  (maintainer)
2020-04-04 18:00:50 +00:00

33 lines
753 B
Makefile

# $FreeBSD$
PORTNAME= soco
PORTVERSION= 0.19
DISTVERSIONPREFIX= v
CATEGORIES= multimedia python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= conall@conall.net
COMMENT= Python library to control Sonos speakers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>0:devel/py-xmltodict@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.5:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=1.01:devel/py-mock@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= SoCo
GH_PROJECT= SoCo
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>