ports/audio/py-opuslib/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

27 lines
730 B
Makefile

PORTNAME= opuslib
DISTVERSION= 3.0.1
PORTREVISION= 2
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python bindings to the libopus, IETF low-delay audio codec
WWW= https://github.com/orion-labs/opuslib
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
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>