git: 8048e04e01f6 - main - www/py-openbrokerapi: Update to 4.5.1

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 14:27:40 UTC
The branch main has been updated by ehaupt:

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

commit 8048e04e01f6b5feaf8ef3512f2f77c45e8e1f50
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-04-26 14:27:24 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-04-26 14:27:36 +0000

    www/py-openbrokerapi: Update to 4.5.1
---
 www/py-openbrokerapi/Makefile             | 4 ++--
 www/py-openbrokerapi/distinfo             | 6 +++---
 www/py-openbrokerapi/files/patch-setup.py | 6 ++++++
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/www/py-openbrokerapi/Makefile b/www/py-openbrokerapi/Makefile
index 39ed47ba3490..98b6c054984f 100644
--- a/www/py-openbrokerapi/Makefile
+++ b/www/py-openbrokerapi/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openbrokerapi
-PORTVERSION=	4.5.0
+PORTVERSION=	4.5.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
 
-USES=		python:3.7+
+USES=		python:3.8+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
diff --git a/www/py-openbrokerapi/distinfo b/www/py-openbrokerapi/distinfo
index 46e51124ede5..bd8b074e932e 100644
--- a/www/py-openbrokerapi/distinfo
+++ b/www/py-openbrokerapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676579290
-SHA256 (openbrokerapi-4.5.0.tar.gz) = 2c0a7114d6fbe7f6b95a26a57755ab7b2454311a062a7c9da2c62ac962dd9b1b
-SIZE (openbrokerapi-4.5.0.tar.gz) = 18015
+TIMESTAMP = 1682507488
+SHA256 (openbrokerapi-4.5.1.tar.gz) = ee1b06ea4a5a5ce594de13686e0a351e1eb3793ea15eba2d492399125d98c6f9
+SIZE (openbrokerapi-4.5.1.tar.gz) = 17099
diff --git a/www/py-openbrokerapi/files/patch-setup.py b/www/py-openbrokerapi/files/patch-setup.py
new file mode 100644
index 000000000000..130806a8f6f1
--- /dev/null
+++ b/www/py-openbrokerapi/files/patch-setup.py
@@ -0,0 +1,6 @@
+--- setup.py.orig	2022-11-12 09:41:13 UTC
++++ setup.py
+@@ -0,0 +1,3 @@
++import setuptools
++if __name__ == "__main__":
++    setuptools.setup(use_scm_version=False)