diff options
Diffstat (limited to 'www/py-requests-oauthlib/Makefile')
-rw-r--r-- | www/py-requests-oauthlib/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/www/py-requests-oauthlib/Makefile b/www/py-requests-oauthlib/Makefile index 321aa6df8b16..b6042926fce0 100644 --- a/www/py-requests-oauthlib/Makefile +++ b/www/py-requests-oauthlib/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= requests-oauthlib -PORTVERSION= 0.3.2 -PORTREVISION= 2 +PORTVERSION= 0.4.2 CATEGORIES= www python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org @@ -12,18 +12,18 @@ COMMENT= OAuthlib authentication support for Requests LICENSE= ISCL -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauthlib>=0.4.2:${PORTSDIR}/security/py-oauthlib \ - ${PYTHON_PKGNAMEPREFIX}requests1>0:${PORTSDIR}/www/py-requests1 -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6.2:${PORTSDIR}/security/py-oauthlib \ + {PYTHON_PKGNAMEPREFIX}requests>=2.0.0:${PORTSDIR}/www/py-requests +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto -USE_GITHUB= yes -GH_ACCOUNT= requests -GH_TAGNAME= v${PORTVERSION} -GH_COMMIT= 0b1fe5c +OPTIONS_DEFINE= TESTS -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +TESTS_DESC= Install test suite dependencies +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} + +USES= python +USE_PYTHON= distutils autoplist regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test |