svn commit: r494612 - in head/www: . py-requests-aws4auth py-requests-aws4auth/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Mar 4 17:57:24 UTC 2019


Author: sunpoet
Date: Mon Mar  4 17:57:22 2019
New Revision: 494612
URL: https://svnweb.freebsd.org/changeset/ports/494612

Log:
  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

Added:
  head/www/py-requests-aws4auth/
  head/www/py-requests-aws4auth/Makefile   (contents, props changed)
  head/www/py-requests-aws4auth/distinfo   (contents, props changed)
  head/www/py-requests-aws4auth/files/
  head/www/py-requests-aws4auth/files/patch-setup.py   (contents, props changed)
  head/www/py-requests-aws4auth/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Mar  4 17:57:05 2019	(r494611)
+++ head/www/Makefile	Mon Mar  4 17:57:22 2019	(r494612)
@@ -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

Added: head/www/py-requests-aws4auth/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-aws4auth/Makefile	Mon Mar  4 17:57:22 2019	(r494612)
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	requests-aws4auth
+PORTVERSION=	0.9
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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>

Added: head/www/py-requests-aws4auth/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-aws4auth/distinfo	Mon Mar  4 17:57:22 2019	(r494612)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1551681755
+SHA256 (requests-aws4auth-0.9.tar.gz) = c9973af472d6d358ee301f077608361e078642aa019785139b588d526f50a23c
+SIZE (requests-aws4auth-0.9.tar.gz) = 44486

Added: head/www/py-requests-aws4auth/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-aws4auth/files/patch-setup.py	Mon Mar  4 17:57:22 2019	(r494612)
@@ -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',

Added: head/www/py-requests-aws4auth/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-aws4auth/pkg-descr	Mon Mar  4 17:57:22 2019	(r494612)
@@ -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


More information about the svn-ports-all mailing list