Index: head/security/py-oauthlib/Makefile =================================================================== --- head/security/py-oauthlib/Makefile (revision 409595) +++ head/security/py-oauthlib/Makefile (revision 409596) @@ -1,53 +1,51 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= oauthlib -PORTVERSION= 0.7.2 -PORTREVISION= 1 +PORTVERSION= 1.0.3 CATEGORIES= security net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org -COMMENT= RFC-compliant Python implementation of OAuth +COMMENT= RFC-compliant implementation of the OAuth request-signing logic LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose \ - ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ - ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>0:${PORTSDIR}/www/py-pyjwt \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0:${PORTSDIR}/www/py-pyjwt \ ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker -OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN TESTS +OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN OPTIONS_DEFAULT= RSA SIGNALS SIGNEDTOKEN -RSA_DESC= Enable RSA Support -RSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto +RSA_DESC= Enable RSA Support +SIGNALS_DESC= Enable signal support +SIGNEDTOKEN_DESC= Support for Signed Token -SIGNALS_DESC= Enable signal support +RSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker +SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0:${PORTSDIR}/www/py-pyjwt -SIGNEDTOKEN_DESC= Support for Signed Token -SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>0:${PORTSDIR}/www/py-pyjwt - -TESTS_DESC= Include test suite dependencies -TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} - USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +NO_ARCH= yes + .include .if ${PYTHON_REL} < 3000 -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock .endif post-extract: @${CHMOD} -R a+rX ${WRKSRC} -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/security/py-oauthlib/distinfo =================================================================== --- head/security/py-oauthlib/distinfo (revision 409595) +++ head/security/py-oauthlib/distinfo (revision 409596) @@ -1,2 +1,2 @@ -SHA256 (oauthlib-0.7.2.tar.gz) = a051f04ee8ec3305055ab34d87b36c9a449375e07c7d6a05bcafa48329cac7c3 -SIZE (oauthlib-0.7.2.tar.gz) = 106079 +SHA256 (oauthlib-1.0.3.tar.gz) = ef4bfe4663ca3b97a995860c0173b967ebd98033d02f38c9e1b2cbb6c191d9ad +SIZE (oauthlib-1.0.3.tar.gz) = 109095