On 2015-06-29 17:51, Landry Breuil wrote:

Are we sure it's just a BUILD_DEPENDS ? to me it'd also look like a
TEST_DEPENDS.... after all it's testing related.

You are correct, it's a TEST_DEPENDS as well, which then requires
cov-core. Now here it gets tricky. cov-core has seemingly been
absorbed into py-test-cov 2.0 this version does not exist on
pypi but it does exist on github, however I haven't succeeded in
getting this update to build correctly. And that seems to be
true in general it's marked as "build failing".

With py-test-runner and py-cov-core as TEST_DEPENDS py-jwt
now passes 'make test' without an internet connection as it
should. New diff plus new port py-cov-core attached.

thanks,

.jh

Attachment: py-cov-core.tgz
Description: GNU Zip compressed data

Index: py-jwt/Makefile
===================================================================
RCS file: /cvs/ports/www/py-jwt/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- py-jwt/Makefile	26 Jun 2015 07:35:50 -0000	1.1.1.1
+++ py-jwt/Makefile	29 Jun 2015 22:39:02 -0000
@@ -6,6 +6,8 @@ MODPY_EGG_VERSION = 1.3.0
 DISTNAME =	PyJWT-${MODPY_EGG_VERSION}
 PKGNAME =	py-jwt-${MODPY_EGG_VERSION}
 CATEGORIES =	www
+REVISION =      0
+
 MAINTAINER =	Johan Huldtgren <jhuldtg...@gmail.com>
 
 HOMEPAGE =	http://github.com/jpadilla/pyjwt
@@ -18,9 +20,13 @@ MODPY_PI =	Yes
 MODULES =	lang/python
 MODPY_SETUPTOOLS = Yes
 
+BUILD_DEPENDS = devel/py-test-runner
+
 RUN_DEPENDS =   security/py-cryptography
 
-TEST_DEPENDS =  devel/py-test \
-		devel/py-test-cov
+TEST_DEPENDS =  devel/py-cov-core \
+		devel/py-test \
+		devel/py-test-cov \
+		${BUILD_DEPENDS}
 
 .include <bsd.port.mk>

Reply via email to