aboutsummaryrefslogtreecommitdiff
path: root/audio/py-opuslib
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-10-18 19:53:29 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-10-18 19:53:29 +0000
commit8d0e9971043594552132d01483d0bad3cf0a1e8b (patch)
tree45b51a1c33081bfbba6ce55cbf5052ff029f0bc9 /audio/py-opuslib
parentebd3651d7c7bb2ee21f80aee2508ea4970dc6b16 (diff)
downloadports-8d0e9971043594552132d01483d0bad3cf0a1e8b.tar.gz
ports-8d0e9971043594552132d01483d0bad3cf0a1e8b.zip
Notes
Diffstat (limited to 'audio/py-opuslib')
-rw-r--r--audio/py-opuslib/Makefile10
-rw-r--r--audio/py-opuslib/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/audio/py-opuslib/Makefile b/audio/py-opuslib/Makefile
index 85dd0628566f..bd78bdec2514 100644
--- a/audio/py-opuslib/Makefile
+++ b/audio/py-opuslib/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opuslib
-PORTVERSION= 1.1.0
+PORTVERSION= 2.0.0
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,15 @@ 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 \
+ ${PYTHON_PKGNAMEPREFIX}nose>=1.3.7:devel/py-nose
-USES= python:2.7
+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>
diff --git a/audio/py-opuslib/distinfo b/audio/py-opuslib/distinfo
index 4a2f8f35f0b4..c7d67d7c22be 100644
--- a/audio/py-opuslib/distinfo
+++ b/audio/py-opuslib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1504481859
-SHA256 (opuslib-1.1.0.tar.gz) = 342d9693f836cc42a44ae5f8bac51ae17d52e24e8daceb792cb610024f1e341b
-SIZE (opuslib-1.1.0.tar.gz) = 7009
+TIMESTAMP = 1507997888
+SHA256 (opuslib-2.0.0.tar.gz) = 6a18a9d5cc3524041ec1f69b71bec7f5f89ce217387f0626eb3c4bfa9e4adc11
+SIZE (opuslib-2.0.0.tar.gz) = 7303