1
0
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:
Sunpoet Po-Chuan Hsieh 2019-03-04 17:57:22 +00:00
parent 9667519a0b
commit 3101a30eda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494612
5 changed files with 53 additions and 0 deletions

View File

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

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

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1551681755
SHA256 (requests-aws4auth-0.9.tar.gz) = c9973af472d6d358ee301f077608361e078642aa019785139b588d526f50a23c
SIZE (requests-aws4auth-0.9.tar.gz) = 44486

View 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',

View 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