git: 5b662f0cb8e0 - main - devel/py-xsdata-attrs: Add py-xsdata-attrs 24.5

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

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

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

    devel/py-xsdata-attrs: Add py-xsdata-attrs 24.5
    
    xsData is a complete data binding library for python allowing developers to
    access and use XML and JSON documents as simple objects rather than using DOM.
    
    Now powered by attrs!
---
 devel/Makefile                  |  1 +
 devel/py-xsdata-attrs/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-xsdata-attrs/distinfo  |  3 +++
 devel/py-xsdata-attrs/pkg-descr |  4 ++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 93a040236b12..f1741560c9db 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6171,6 +6171,7 @@
     SUBDIR += py-xerox
     SUBDIR += py-xmltodict
     SUBDIR += py-xsdata
+    SUBDIR += py-xsdata-attrs
     SUBDIR += py-xstatic
     SUBDIR += py-xstatic-angular
     SUBDIR += py-xstatic-angular-bootstrap
diff --git a/devel/py-xsdata-attrs/Makefile b/devel/py-xsdata-attrs/Makefile
new file mode 100644
index 000000000000..a61c1b4266a6
--- /dev/null
+++ b/devel/py-xsdata-attrs/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	xsdata-attrs
+PORTVERSION=	24.5
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	xsdata_attrs-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	xsdata attrs plugin
+WWW=		https://xsdata-attrs.readthedocs.io/en/latest/ \
+		https://github.com/tefra/xsdata-attrs
+
+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}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xsdata>=${PORTVERSION}:devel/py-xsdata@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-xsdata-attrs/distinfo b/devel/py-xsdata-attrs/distinfo
new file mode 100644
index 000000000000..f10739a5c164
--- /dev/null
+++ b/devel/py-xsdata-attrs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738606363
+SHA256 (xsdata_attrs-24.5.tar.gz) = 8823fe4c42aa1387be00936051cb4a58f28328cd50ccf5592b505d9629fa9720
+SIZE (xsdata_attrs-24.5.tar.gz) = 17656
diff --git a/devel/py-xsdata-attrs/pkg-descr b/devel/py-xsdata-attrs/pkg-descr
new file mode 100644
index 000000000000..523e31153fa0
--- /dev/null
+++ b/devel/py-xsdata-attrs/pkg-descr
@@ -0,0 +1,4 @@
+xsData is a complete data binding library for python allowing developers to
+access and use XML and JSON documents as simple objects rather than using DOM.
+
+Now powered by attrs!