mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Add py-requests-aws4auth 0.9
requests-aws4auth is Amazon Web Services version 4 authentication for the Python Requests library. Features: - Requests authentication for all AWS services that support AWS auth v4 - Independent signing key objects - Automatic regeneration of keys when scope date boundary is passed - Support for STS temporary credentials Implements header-based authentication, GET URL parameter and POST parameter authentication are not supported. WWW: https://github.com/sam-washington/requests-aws4auth
This commit is contained in:
parent
9667519a0b
commit
3101a30eda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494612
@ -1837,6 +1837,7 @@
|
||||
SUBDIR += py-recaptcha
|
||||
SUBDIR += py-requestbuilder
|
||||
SUBDIR += py-requests
|
||||
SUBDIR += py-requests-aws4auth
|
||||
SUBDIR += py-requests-cache
|
||||
SUBDIR += py-requests-file
|
||||
SUBDIR += py-requests-futures
|
||||
|
23
www/py-requests-aws4auth/Makefile
Normal file
23
www/py-requests-aws4auth/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= requests-aws4auth
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= AWS4 authentication for Requests
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-requests-aws4auth/distinfo
Normal file
3
www/py-requests-aws4auth/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1551681755
|
||||
SHA256 (requests-aws4auth-0.9.tar.gz) = c9973af472d6d358ee301f077608361e078642aa019785139b588d526f50a23c
|
||||
SIZE (requests-aws4auth-0.9.tar.gz) = 44486
|
13
www/py-requests-aws4auth/files/patch-setup.py
Normal file
13
www/py-requests-aws4auth/files/patch-setup.py
Normal file
@ -0,0 +1,13 @@
|
||||
--- setup.py.orig 2016-02-07 23:17:13 UTC
|
||||
+++ setup.py
|
||||
@@ -45,9 +45,7 @@ setup(
|
||||
license='MIT License',
|
||||
keywords='requests authentication amazon web services aws s3 REST',
|
||||
install_requires=['requests'],
|
||||
- package_data={'requests_aws4auth': ['test/requests_aws4auth_test.py',
|
||||
- '../README.rst', '../LICENSE',
|
||||
- '../NOTICE', '../HISTORY.rst']},
|
||||
+ package_data={'requests_aws4auth': ['test/requests_aws4auth_test.py']},
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Intended Audience :: Developers',
|
13
www/py-requests-aws4auth/pkg-descr
Normal file
13
www/py-requests-aws4auth/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
requests-aws4auth is Amazon Web Services version 4 authentication for the Python
|
||||
Requests library.
|
||||
|
||||
Features:
|
||||
- Requests authentication for all AWS services that support AWS auth v4
|
||||
- Independent signing key objects
|
||||
- Automatic regeneration of keys when scope date boundary is passed
|
||||
- Support for STS temporary credentials
|
||||
|
||||
Implements header-based authentication, GET URL parameter and POST parameter
|
||||
authentication are not supported.
|
||||
|
||||
WWW: https://github.com/sam-washington/requests-aws4auth
|
Loading…
Reference in New Issue
Block a user