git: 9b5de2e2f82e - main - devel/py-aws-sam-translator: Update to 1.55.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Mon, 05 Dec 2022 12:16:03 UTC
The branch main has been updated by wen:

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

commit 9b5de2e2f82efd9518084cf3da9c218bf9faa368
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-12-05 12:14:17 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-12-05 12:14:17 +0000

    devel/py-aws-sam-translator: Update to 1.55.0
    
    PR:             268139
    Reported by:    nork@ninth-nine.com(maintainer)
---
 devel/py-aws-sam-translator/Makefile                             | 8 ++++----
 devel/py-aws-sam-translator/distinfo                             | 6 +++---
 .../files/patch-aws__sam__translator.egg-info_requires.txt       | 9 +++++++++
 devel/py-aws-sam-translator/files/patch-requirements_base.txt    | 6 ++++++
 4 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/devel/py-aws-sam-translator/Makefile b/devel/py-aws-sam-translator/Makefile
index b9f730f5ee51..ce03501aa939 100644
--- a/devel/py-aws-sam-translator/Makefile
+++ b/devel/py-aws-sam-translator/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	aws-sam-translator
-DISTVERSION=	1.45.0
+DISTVERSION=	1.55.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,10 @@ WWW=		https://pypi.org/project/aws-sam-translator/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=1.5:www/py-boto3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2:devel/py-jsonschema@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=1.19.5:www/py-boto3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2<5:devel/py-jsonschema@${PY_FLAVOR}
 
-USES=		python:3.7-3.11
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
diff --git a/devel/py-aws-sam-translator/distinfo b/devel/py-aws-sam-translator/distinfo
index 84713b10bf38..5b2bc26c67ac 100644
--- a/devel/py-aws-sam-translator/distinfo
+++ b/devel/py-aws-sam-translator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654709327
-SHA256 (aws-sam-translator-1.45.0.tar.gz) = bf321ab62aa1731d3e471fd55de6f5d1ab07dfc169cd254aa523dd9ad30246f9
-SIZE (aws-sam-translator-1.45.0.tar.gz) = 182122
+TIMESTAMP = 1670242028
+SHA256 (aws-sam-translator-1.55.0.tar.gz) = 08e182e76d6fabc13ce2f38b8a3932b3131407c6ad29ec2849ef3d9a41576b94
+SIZE (aws-sam-translator-1.55.0.tar.gz) = 203163
diff --git a/devel/py-aws-sam-translator/files/patch-aws__sam__translator.egg-info_requires.txt b/devel/py-aws-sam-translator/files/patch-aws__sam__translator.egg-info_requires.txt
new file mode 100644
index 000000000000..f08057ad52b7
--- /dev/null
+++ b/devel/py-aws-sam-translator/files/patch-aws__sam__translator.egg-info_requires.txt
@@ -0,0 +1,9 @@
+--- aws_sam_translator.egg-info/requires.txt.orig	2022-11-29 03:23:53 UTC
++++ aws_sam_translator.egg-info/requires.txt
+@@ -1,5 +1,5 @@
+ boto3==1.*,>=1.19.5
+-jsonschema~=3.2
++jsonschema>=3.2<5
+ 
+ [dev]
+ coverage~=5.3
diff --git a/devel/py-aws-sam-translator/files/patch-requirements_base.txt b/devel/py-aws-sam-translator/files/patch-requirements_base.txt
new file mode 100644
index 000000000000..db1ee66742a0
--- /dev/null
+++ b/devel/py-aws-sam-translator/files/patch-requirements_base.txt
@@ -0,0 +1,6 @@
+--- requirements/base.txt.orig	2022-11-29 03:18:13 UTC
++++ requirements/base.txt
+@@ -1,2 +1,2 @@
+ boto3>=1.19.5,==1.*
+-jsonschema~=3.2
++jsonschema>=3.2<5