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
This commit is contained in:
Po-Chuan Hsieh 2022-03-25 21:05:54 +08:00
parent 7bf54af4f3
commit 458730bde9
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 11 additions and 9 deletions

View file

@ -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>

View file

@ -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

View file

@ -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