git: b27c0417ac46 - main - www/py-requests-aws4auth: Update to 1.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 15:56:06 UTC
The branch main has been updated by sunpoet:

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

commit b27c0417ac467ef21878b35a2a755a8bbda57a09
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:20:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:48:09 +0000

    www/py-requests-aws4auth: Update to 1.2.1
    
    Changes:        https://github.com/tedder/requests-aws4auth/releases
---
 www/py-requests-aws4auth/Makefile             |  2 +-
 www/py-requests-aws4auth/distinfo             |  6 +++---
 www/py-requests-aws4auth/files/patch-setup.py | 20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/www/py-requests-aws4auth/Makefile b/www/py-requests-aws4auth/Makefile
index b29699f90d11..6c14e04e1c0f 100644
--- a/www/py-requests-aws4auth/Makefile
+++ b/www/py-requests-aws4auth/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	requests-aws4auth
-PORTVERSION=	1.1.2
+PORTVERSION=	1.2.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-requests-aws4auth/distinfo b/www/py-requests-aws4auth/distinfo
index 82d1c7b4abc5..b561e2e9ad89 100644
--- a/www/py-requests-aws4auth/distinfo
+++ b/www/py-requests-aws4auth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649423858
-SHA256 (requests-aws4auth-1.1.2.tar.gz) = ebde0662dccda5023546055ec4cbe4470cae017ecbfce8d368b80b5e4a94d619
-SIZE (requests-aws4auth-1.1.2.tar.gz) = 25353
+TIMESTAMP = 1675191123
+SHA256 (requests-aws4auth-1.2.1.tar.gz) = 8a6bed4b0a911910ea9be6b1b19471154399f7c505a978d174ef932d3ac940f0
+SIZE (requests-aws4auth-1.2.1.tar.gz) = 25669
diff --git a/www/py-requests-aws4auth/files/patch-setup.py b/www/py-requests-aws4auth/files/patch-setup.py
new file mode 100644
index 000000000000..b674929ceaa0
--- /dev/null
+++ b/www/py-requests-aws4auth/files/patch-setup.py
@@ -0,0 +1,20 @@
+--- setup.py.orig	2023-01-20 22:33:41 UTC
++++ setup.py
+@@ -24,8 +24,6 @@ def find_version(*file_paths):
+ 
+ with codecs.open('README.md', 'r', 'utf-8') as f:
+     readme = f.read()
+-with codecs.open('HISTORY.md', 'r', 'utf-8') as f:
+-    history = f.read()
+ 
+ 
+ version = find_version('requests_aws4auth', '__init__.py')
+@@ -35,7 +33,7 @@ setup(
+     name='requests-aws4auth',
+     version=version,
+     description='AWS4 authentication for Requests',
+-    long_description=readme + '\n\n' + history,
++    long_description=readme,
+     long_description_content_type='text/markdown',
+     author='Ted Timmons',
+     author_email='ted@tedder.dev',