git: a7cf443ce87d - main - www/py-openbrokerapi: Fix build with py-poetry-core 2.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 16:10:34 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a7cf443ce87d6e87eeb2668967a3c72b344ab52d
commit a7cf443ce87d6e87eeb2668967a3c72b344ab52d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:39:51 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:54:29 +0000
www/py-openbrokerapi: Fix build with py-poetry-core 2.0.0+
- Bump PORTREVISION for package change
Approved by: portmgr (blanket)
With hat: python
---
www/py-openbrokerapi/Makefile | 1 +
www/py-openbrokerapi/files/patch-pyproject.toml | 26 +++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/www/py-openbrokerapi/Makefile b/www/py-openbrokerapi/Makefile
index 1dfc6e0ee407..3140fc2db13c 100644
--- a/www/py-openbrokerapi/Makefile
+++ b/www/py-openbrokerapi/Makefile
@@ -1,5 +1,6 @@
PORTNAME= openbrokerapi
DISTVERSION= 4.7.1
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-openbrokerapi/files/patch-pyproject.toml b/www/py-openbrokerapi/files/patch-pyproject.toml
new file mode 100644
index 000000000000..25c635850faf
--- /dev/null
+++ b/www/py-openbrokerapi/files/patch-pyproject.toml
@@ -0,0 +1,26 @@
+--- pyproject.toml.orig 2024-08-27 10:04:15 UTC
++++ pyproject.toml
+@@ -1,9 +1,10 @@
+-[tool.poetry]
++[project]
+ name = "openbrokerapi"
+ version = "4.7.1"
+ description = "A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)"
+-authors = ["Maic Siemering <maic@siemering.tech>"]
++authors = [{name = "Maic Siemering", email = "<maic@siemering.tech>"}]
+ license = "MIT"
++requires-python = ">= 3.8"
+ readme = "README.rst"
+ homepage = "https://openbrokerapi.readthedocs.io/"
+ documentation = "https://openbrokerapi.readthedocs.io/"
+@@ -100,10 +101,6 @@ build-backend = "poetry.core.masonry.api"
+ [build-system]
+ requires = ["poetry-core>=1.0.0"]
+ build-backend = "poetry.core.masonry.api"
+-
+-[project]
+-requires-python = ">= 3.8"
+-
+
+ [tool.ruff]
+