Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 05:07:44 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375208 - in head/security/py-oauthlib: . files
Message-ID:  <201412220507.sBM57iTC002107@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Dec 22 05:07:43 2014
New Revision: 375208
URL: https://svnweb.freebsd.org/changeset/ports/375208
QAT: https://qat.redports.org/buildarchive/r375208/

Log:
  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)

Deleted:
  head/security/py-oauthlib/files/
Modified:
  head/security/py-oauthlib/Makefile
  head/security/py-oauthlib/distinfo

Modified: head/security/py-oauthlib/Makefile
==============================================================================
--- head/security/py-oauthlib/Makefile	Mon Dec 22 04:32:07 2014	(r375207)
+++ head/security/py-oauthlib/Makefile	Mon Dec 22 05:07:43 2014	(r375208)
@@ -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 implementa
 
 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

Modified: head/security/py-oauthlib/distinfo
==============================================================================
--- head/security/py-oauthlib/distinfo	Mon Dec 22 04:32:07 2014	(r375207)
+++ head/security/py-oauthlib/distinfo	Mon Dec 22 05:07:43 2014	(r375208)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412220507.sBM57iTC002107>