git: 73cd7e9de471 - main - devel/py-xsdata-plantuml: Add py-xsdata-plantuml 24.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 07 Feb 2025 21:19:09 UTC
The branch main has been updated by sunpoet:

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

commit 73cd7e9de47153b21cff6ad7a79baa64ebee3eb1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-07 20:08:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-07 21:15:49 +0000

    devel/py-xsdata-plantuml: Add py-xsdata-plantuml 24.3
    
    Generate PlantUML class diagrams from xml schemas, wsdl definitions and directly
    from xml documents.
---
 devel/Makefile                     |  1 +
 devel/py-xsdata-plantuml/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/py-xsdata-plantuml/distinfo  |  3 +++
 devel/py-xsdata-plantuml/pkg-descr |  2 ++
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f1741560c9db..d0fc87414e0b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6172,6 +6172,7 @@
     SUBDIR += py-xmltodict
     SUBDIR += py-xsdata
     SUBDIR += py-xsdata-attrs
+    SUBDIR += py-xsdata-plantuml
     SUBDIR += py-xstatic
     SUBDIR += py-xstatic-angular
     SUBDIR += py-xstatic-angular-bootstrap
diff --git a/devel/py-xsdata-plantuml/Makefile b/devel/py-xsdata-plantuml/Makefile
new file mode 100644
index 000000000000..80c0e7220c02
--- /dev/null
+++ b/devel/py-xsdata-plantuml/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	xsdata-plantuml
+PORTVERSION=	24.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	xsdata_plantuml-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	xsdata PlantUML generator
+WWW=		https://github.com/tefra/xsdata-plantuml
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xsdata>=${PORTVERSION}:devel/py-xsdata@${PY_FLAVOR}
+# xsdata[cli]
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-default-group>=1.2:devel/py-click-default-group@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docformatter>=1.7.2:devel/py-docformatter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR} \
+		ruff>=0.3.0:devel/ruff
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-xsdata-plantuml/distinfo b/devel/py-xsdata-plantuml/distinfo
new file mode 100644
index 000000000000..0695899c76af
--- /dev/null
+++ b/devel/py-xsdata-plantuml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738606365
+SHA256 (xsdata_plantuml-24.3.tar.gz) = 069e678207a7f9691d2e301512776640b3619de664ad58ecade30776e703c990
+SIZE (xsdata_plantuml-24.3.tar.gz) = 6490
diff --git a/devel/py-xsdata-plantuml/pkg-descr b/devel/py-xsdata-plantuml/pkg-descr
new file mode 100644
index 000000000000..9c9695c986c8
--- /dev/null
+++ b/devel/py-xsdata-plantuml/pkg-descr
@@ -0,0 +1,2 @@
+Generate PlantUML class diagrams from xml schemas, wsdl definitions and directly
+from xml documents.