From owner-dev-commits-ports-all@freebsd.org Sun May 23 00:07:28 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E81663AEF3; Sun, 23 May 2021 00:07:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FngdX1mv8z3hjK; Sun, 23 May 2021 00:07:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 254195B89; Sun, 23 May 2021 00:07:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14N07SLx060880; Sun, 23 May 2021 00:07:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14N07ScI060879; Sun, 23 May 2021 00:07:28 GMT (envelope-from git) Date: Sun, 23 May 2021 00:07:28 GMT Message-Id: <202105230007.14N07ScI060879@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Richard Gallamore Subject: git: bcb5fde41856 - main - security/py-social-auth-core: Update to 4.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ultima X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bcb5fde418567dcdd6f35efd7cc7a84c766ec96e Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 00:07:28 -0000 The branch main has been updated by ultima: URL: https://cgit.FreeBSD.org/ports/commit/?id=bcb5fde418567dcdd6f35efd7cc7a84c766ec96e commit bcb5fde418567dcdd6f35efd7cc7a84c766ec96e Author: Richard Gallamore AuthorDate: 2021-05-23 00:02:49 +0000 Commit: Richard Gallamore CommitDate: 2021-05-23 00:06:45 +0000 security/py-social-auth-core: Update to 4.0.2 Added test target Added options OpenID and SAML, default on Changes: https://github.com/python-social-auth/social-core/blob/4.0.2/CHANGELOG.md --- security/py-social-auth-core/Makefile | 29 ++++++++++++++++++++++------- security/py-social-auth-core/distinfo | 6 +++--- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile index 989cb1484a77..42f31a36cd76 100644 --- a/security/py-social-auth-core/Makefile +++ b/security/py-social-auth-core/Makefile @@ -1,6 +1,5 @@ PORTNAME= social-auth-core -DISTVERSION= 3.3.3 -PORTREVISION= 1 +DISTVERSION= 4.0.2 CATEGORIES= security www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,20 +10,36 @@ COMMENT= Social authentication/registration mechanism for several frameworks LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -# TODO Need to add saml support, requires porting python-saml and python3-saml. -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-jose>=3.0.0:security/py-python-jose@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python${PYTHON_MAJOR_VER:M3}-openid>=2.2.5:security/py-python${PYTHON_MAJOR_VER:M3}-openid@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.4.0:www/py-pyjwt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python3-openid>=3.0.10:security/py-python3-openid@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.7.1:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oauthlib>=1.0.3:security/py-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.6.1:www/py-requests-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.5:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpretty>=0.9.6:www/py-httpretty@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=3.6:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.7.1:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes +OPTIONS_DEFINE= OPENID SAML +OPTIONS_DEFAULT= OPENID SAML + +OPENID_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-jose>=3.0.0:security/py-python-jose@${PY_FLAVOR} +OPENID_DESC?= OpenID connect Support + +SAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python3-saml>=1.2.1:security/py-python3-saml@${PY_FLAVOR} +SAML_DESC?= SAML Support + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v + .include diff --git a/security/py-social-auth-core/distinfo b/security/py-social-auth-core/distinfo index fa6b793e1224..2ef921161909 100644 --- a/security/py-social-auth-core/distinfo +++ b/security/py-social-auth-core/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1586997730 -SHA256 (social-auth-core-3.3.3.tar.gz) = 2f6ce1af8ec2b2cc37b86d647f7d4e4292f091ee556941db34b1e0e2dee77fc0 -SIZE (social-auth-core-3.3.3.tar.gz) = 189098 +TIMESTAMP = 1621724506 +SHA256 (social-auth-core-4.0.2.tar.gz) = 604798ec00a49a84f7a173460c5997c5409080e64acc8a47e2eefd6f59439a15 +SIZE (social-auth-core-4.0.2.tar.gz) = 191000