git: eab7a817c000 - main - devel/py-xsdata-pydantic: Add py-xsdata-pydantic 24.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Feb 2025 21:19:10 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eab7a817c000210cbf4e22e3f1dc8d926e72c87d
commit eab7a817c000210cbf4e22e3f1dc8d926e72c87d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-07 20:08:50 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-07 21:15:49 +0000
devel/py-xsdata-pydantic: Add py-xsdata-pydantic 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 pydantic!
---
devel/Makefile | 1 +
devel/py-xsdata-pydantic/Makefile | 26 ++++++++++++++++++++++++++
devel/py-xsdata-pydantic/distinfo | 3 +++
devel/py-xsdata-pydantic/pkg-descr | 4 ++++
4 files changed, 34 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index d0fc87414e0b..e2bb4bb2084a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6173,6 +6173,7 @@
SUBDIR += py-xsdata
SUBDIR += py-xsdata-attrs
SUBDIR += py-xsdata-plantuml
+ SUBDIR += py-xsdata-pydantic
SUBDIR += py-xstatic
SUBDIR += py-xstatic-angular
SUBDIR += py-xstatic-angular-bootstrap
diff --git a/devel/py-xsdata-pydantic/Makefile b/devel/py-xsdata-pydantic/Makefile
new file mode 100644
index 000000000000..209ec47e0a6c
--- /dev/null
+++ b/devel/py-xsdata-pydantic/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= xsdata-pydantic
+PORTVERSION= 24.5
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= xsdata_pydantic-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= xsdata pydantic plugin
+WWW= https://xsdata-pydantic.readthedocs.io/en/latest/ \
+ https://github.com/tefra/xsdata-pydantic
+
+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}pydantic2>=2.6:devel/py-pydantic2@${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-pydantic/distinfo b/devel/py-xsdata-pydantic/distinfo
new file mode 100644
index 000000000000..b888bd665628
--- /dev/null
+++ b/devel/py-xsdata-pydantic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738606367
+SHA256 (xsdata_pydantic-24.5.tar.gz) = e3c8758133195657ece578537eda6c7ebd8419f77abf6b90fd4ced96e348129b
+SIZE (xsdata_pydantic-24.5.tar.gz) = 18763
diff --git a/devel/py-xsdata-pydantic/pkg-descr b/devel/py-xsdata-pydantic/pkg-descr
new file mode 100644
index 000000000000..4996a69cc3b4
--- /dev/null
+++ b/devel/py-xsdata-pydantic/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 pydantic!