1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/py-opuslib/Makefile
Mathieu Arnold 8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00

28 lines
724 B
Makefile

# Created by: Yuri Victorovich
# $FreeBSD$
PORTNAME= opuslib
PORTVERSION= 2.0.0
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python bindings to the libopus, IETF low-delay audio codec
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/lib/libopus.so:audio/opus
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nose>=1.3.7:devel/py-nose@${PY_FLAVOR}
USES= python:-2.7
USE_PYTHON= autoplist distutils
NO_ARCH= yes
# tests are broken: https://github.com/OnBeep/opuslib/issues/4
TEST_TARGET= test
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP}
.include <bsd.port.mk>