Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2023 21:53:23 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b79f3435dfe0 - main - www/py-openbrokerapi: Use pep517 macro instead of dummy setup.py
Message-ID:  <202312172153.3BHLrN2I044197@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

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

commit b79f3435dfe08b2994e8c08a366e3650b5ba2656
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-12-17 21:52:44 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-12-17 21:53:19 +0000

    www/py-openbrokerapi: Use pep517 macro instead of dummy setup.py
    
    While here, improve pkg-descr.
---
 www/py-openbrokerapi/Makefile             | 7 ++++---
 www/py-openbrokerapi/files/patch-setup.py | 6 ------
 www/py-openbrokerapi/pkg-descr            | 9 ++++++++-
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/www/py-openbrokerapi/Makefile b/www/py-openbrokerapi/Makefile
index 3d61d7c27f4a..cd4305f7cbbd 100644
--- a/www/py-openbrokerapi/Makefile
+++ b/www/py-openbrokerapi/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openbrokerapi
-PORTVERSION=	4.6.0
-PORTREVISION=	1
+DISTVERSION=	4.6.0
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +11,7 @@ WWW=		https://pypi.org/project/openbrokerapi/
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flask>=2.2.3:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent@${PY_FLAVOR} \
@@ -21,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-openbrokerapi/files/patch-setup.py b/www/py-openbrokerapi/files/patch-setup.py
deleted file mode 100644
index 130806a8f6f1..000000000000
--- a/www/py-openbrokerapi/files/patch-setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
---- 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)
diff --git a/www/py-openbrokerapi/pkg-descr b/www/py-openbrokerapi/pkg-descr
index 0c87fa001d77..db6153b71845 100644
--- a/www/py-openbrokerapi/pkg-descr
+++ b/www/py-openbrokerapi/pkg-descr
@@ -1 +1,8 @@
-A Python package for building Service Brokers supporting API version 2.13+.
+This Python package is designed for creating Service Brokers compliant
+with Open Service Broker API version 2.13+. It offers a streamlined
+framework for managing service instances and bindings, supporting key
+operations like provisioning, deprovisioning, and service updates. Ideal
+for developing cloud-native service brokers, it ensures API compliance
+and is suitable for both novice and experienced developers in Python
+environments.
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312172153.3BHLrN2I044197>