aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2019-04-14 16:29:12 +0800
committerBernard Spil <brnrd@FreeBSD.org>2019-04-14 16:29:12 +0800
commit0c4947a28f3c7aa17808da312bd34f61b105f049 (patch)
tree73f63196208a5e14dcc85209b1a658ad35f90323 /audio
parent56f16b3e49e9986883c03c2e1ecb00d020254be4 (diff)
downloadfreebsd-ports-gnome-0c4947a28f3c7aa17808da312bd34f61b105f049.tar.gz
freebsd-ports-gnome-0c4947a28f3c7aa17808da312bd34f61b105f049.tar.zst
freebsd-ports-gnome-0c4947a28f3c7aa17808da312bd34f61b105f049.zip
audio/py-soundcloud: Fix tests and depenencies
PR: 237235 Submitted by: sunpoet
Diffstat (limited to 'audio')
-rw-r--r--audio/py-soundcloud/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/py-soundcloud/Makefile b/audio/py-soundcloud/Makefile
index 4ee55dcb16ec..74b5ff5e7f17 100644
--- a/audio/py-soundcloud/Makefile
+++ b/audio/py-soundcloud/Makefile
@@ -13,7 +13,10 @@ COMMENT= Friendly wrapper library for the Soundcloud API
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:devel/py-nose@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0.14.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:devel/py-nose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fudge>=1.0.3:devel/py-fudge@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
@@ -28,6 +31,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
do-test:
- cd ${WRKSRC} ; nosetests --with-doctest
+ cd ${WRKSRC} && nosetests-${PYTHON_VER} --with-doctest
.include <bsd.port.mk>