Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2022 13:46:05 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 458730bde9d7 - main - www/py-requests-oauthlib: Update to 1.3.1
Message-ID:  <202203251346.22PDk5hw022926@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=458730bde9d70d6b10b699bc97f532cc24babf8c

commit 458730bde9d70d6b10b699bc97f532cc24babf8c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:21 +0000

    www/py-requests-oauthlib: Update to 1.3.1
    
    - Add LICENSE_FILE
    - Update do-test:
    
    Changes:        https://github.com/requests/requests-oauthlib/blob/master/HISTORY.rst
---
 www/py-requests-oauthlib/Makefile  | 12 +++++++-----
 www/py-requests-oauthlib/distinfo  |  6 +++---
 www/py-requests-oauthlib/pkg-descr |  2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/www/py-requests-oauthlib/Makefile b/www/py-requests-oauthlib/Makefile
index 2ff98acd5a6a..53e2353f5529 100644
--- a/www/py-requests-oauthlib/Makefile
+++ b/www/py-requests-oauthlib/Makefile
@@ -1,7 +1,7 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 
 PORTNAME=	requests-oauthlib
-PORTVERSION=	0.6.2
+PORTVERSION=	1.3.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,17 +10,19 @@ MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	OAuthlib authentication support for Requests
 
 LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6.2:security/py-oauthlib@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=3.0.0:security/py-oauthlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests-mock>=0:www/py-requests-mock@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
 
 .include <bsd.port.mk>
diff --git a/www/py-requests-oauthlib/distinfo b/www/py-requests-oauthlib/distinfo
index e73f089cc27b..52bf7bce73c6 100644
--- a/www/py-requests-oauthlib/distinfo
+++ b/www/py-requests-oauthlib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468874436
-SHA256 (requests-oauthlib-0.6.2.tar.gz) = 161ec8aaa360befac7079bcf20dc2a3993d1ddef19bc21d8118232a98f716e7a
-SIZE (requests-oauthlib-0.6.2.tar.gz) = 76972
+TIMESTAMP = 1647264714
+SHA256 (requests-oauthlib-1.3.1.tar.gz) = 75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a
+SIZE (requests-oauthlib-1.3.1.tar.gz) = 52027
diff --git a/www/py-requests-oauthlib/pkg-descr b/www/py-requests-oauthlib/pkg-descr
index 6b66c574163c..46a6d9deb489 100644
--- a/www/py-requests-oauthlib/pkg-descr
+++ b/www/py-requests-oauthlib/pkg-descr
@@ -1,6 +1,6 @@
 This project provides first-class OAuth library support for Requests.
 
-OAuth can seem overly complicated and it sure has its quirks. Luckily,
+OAuth 1 can seem overly complicated and it sure has its quirks. Luckily,
 requests_oauthlib hides most of these and let you focus at the task at hand.
 
 WWW: https://github.com/requests/requests-oauthlib



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