diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-12-22 05:07:43 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-12-22 05:07:43 +0000 |
commit | e05a400080d3737dca0fd2236a2f7fbaf1bb7a9a (patch) | |
tree | b0abb29e2c3a3732c88456ab42d2af87c35918a8 | |
parent | b1c97be97a685f92d3ebe8642983af897950ae53 (diff) |
security/py-oauthlib: Update to 0.7.2, Add OPTIONS
- Update to 0.7.2
- Switch distfiles from GitHub -> PyPi (CHEESESHOP)
- Add RSA, SIGNALS and SIGNEDTOKEN (JWT) and TESTS options
- Adjust RUN_DEPENDS and TEST_DEPENDS
- Remove uncessary setup.py patch
Changes:
* https://github.com/idan/oauthlib/blob/0.7.2/CHANGELOG.rst
PR: 193096
Submitted by: Muhammad Moinur Rahman <5u623l20 at gmail com> (with changes)
Notes
Notes:
svn path=/head/; revision=375208
-rw-r--r-- | security/py-oauthlib/Makefile | 33 | ||||
-rw-r--r-- | security/py-oauthlib/distinfo | 4 | ||||
-rw-r--r-- | security/py-oauthlib/files/patch-setup.py | 8 |
3 files changed, 25 insertions, 20 deletions
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile index a6e4cf8991e4..9f06123db067 100644 --- a/security/py-oauthlib/Makefile +++ b/security/py-oauthlib/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= oauthlib -PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTVERSION= 0.7.2 CATEGORIES= security net python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org @@ -12,22 +12,35 @@ COMMENT= RFC-compliant Python implementation of OAuth LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose \ - ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>0:${PORTSDIR}/www/py-pyjwt \ + ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker + +OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN TESTS +OPTIONS_DEFAULT= RSA SIGNALS SIGNEDTOKEN + +RSA_DESC= Enable RSA Support +RSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto + +SIGNALS_DESC= Enable signal support +SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker + +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} -USE_GITHUB= yes USES= python USE_PYTHON= distutils autoplist -GH_ACCOUNT= idan -GH_COMMIT= 58abd88 - .include <bsd.port.pre.mk> .if ${PYTHON_REL} < 300 -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ - ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 .endif regression-test: build diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo index 5e157464c573..55f5c6d16b2f 100644 --- a/security/py-oauthlib/distinfo +++ b/security/py-oauthlib/distinfo @@ -1,2 +1,2 @@ -SHA256 (oauthlib-0.6.0.tar.gz) = 112d192b58d5ee23ad3b800b8caa9a5ebf7dc1691cc094edc02837cf7a4f026b -SIZE (oauthlib-0.6.0.tar.gz) = 119510 +SHA256 (oauthlib-0.7.2.tar.gz) = a051f04ee8ec3305055ab34d87b36c9a449375e07c7d6a05bcafa48329cac7c3 +SIZE (oauthlib-0.7.2.tar.gz) = 106079 diff --git a/security/py-oauthlib/files/patch-setup.py b/security/py-oauthlib/files/patch-setup.py deleted file mode 100644 index f83a64610614..000000000000 --- a/security/py-oauthlib/files/patch-setup.py +++ /dev/null @@ -1,8 +0,0 @@ ---- ./setup.py.orig 2012-08-14 19:04:25.000000000 +1000 -+++ ./setup.py 2012-08-14 19:04:38.000000000 +1000 -@@ -32,4 +32,5 @@ - tests_require=tests_require, - extras_require={'test': tests_require, 'rsa': rsa_require}, - install_requires=requires, -+ zip_safe=False, - ) |