svn commit: r498874 - head/audio/py-soundcloud

Bernard Spil brnrd at FreeBSD.org
Sun Apr 14 08:29:14 UTC 2019


Author: brnrd
Date: Sun Apr 14 08:29:12 2019
New Revision: 498874
URL: https://svnweb.freebsd.org/changeset/ports/498874

Log:
  audio/py-soundcloud: Fix tests and depenencies
  
  PR:		237235
  Submitted by:	sunpoet

Modified:
  head/audio/py-soundcloud/Makefile

Modified: head/audio/py-soundcloud/Makefile
==============================================================================
--- head/audio/py-soundcloud/Makefile	Sun Apr 14 08:22:47 2019	(r498873)
+++ head/audio/py-soundcloud/Makefile	Sun Apr 14 08:29:12 2019	(r498874)
@@ -13,7 +13,10 @@ COMMENT=	Friendly wrapper library for the Soundcloud A
 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>


More information about the svn-ports-all mailing list