From owner-svn-ports-head@freebsd.org Fri Feb 26 10:53:51 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67A2BAB59A7; Fri, 26 Feb 2016 10:53:51 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 425C01078; Fri, 26 Feb 2016 10:53:51 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1QArosD030011; Fri, 26 Feb 2016 10:53:50 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1QAroeq030009; Fri, 26 Feb 2016 10:53:50 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602261053.u1QAroeq030009@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 26 Feb 2016 10:53:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409596 - head/security/py-oauthlib X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 10:53:51 -0000 Author: koobs Date: Fri Feb 26 10:53:49 2016 New Revision: 409596 URL: https://svnweb.freebsd.org/changeset/ports/409596 Log: security/py-oauthlib: Update 1.0.3 - Update PORTVERSION and distinfo checksum (1.0.3) - Update COMMENT to more closely match setup.py:description= - Update TEST dependencies and test target - Remove TESTS option bits accordingly - Move mock to only Python 2.x TEST_DEPENDS - Enable NO_ARCH (architecture independent) - Add LICENSE_FILE Modified: head/security/py-oauthlib/Makefile head/security/py-oauthlib/distinfo Modified: head/security/py-oauthlib/Makefile ============================================================================== --- head/security/py-oauthlib/Makefile Fri Feb 26 10:44:33 2016 (r409595) +++ head/security/py-oauthlib/Makefile Fri Feb 26 10:53:49 2016 (r409596) @@ -2,52 +2,50 @@ # $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_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} +SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0:${PORTSDIR}/www/py-pyjwt 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 Modified: head/security/py-oauthlib/distinfo ============================================================================== --- head/security/py-oauthlib/distinfo Fri Feb 26 10:44:33 2016 (r409595) +++ head/security/py-oauthlib/distinfo Fri Feb 26 10:53:49 2016 (r409596) @@ -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