git: d88646569267 - main - devel/py-xsdata: Add py-xsdata 23.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 18:08:26 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d886465692671af49956665af2eaf7d4e618e7c5 commit d886465692671af49956665af2eaf7d4e618e7c5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-27 17:39:53 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-27 18:07:45 +0000 devel/py-xsdata: Add py-xsdata 23.8 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. The code generator supports XML schemas, DTD, WSDL definitions, XML & JSON documents. It produces simple dataclasses with type hints and simple binding metadata. The included XML and JSON parser/serializer are highly optimized and adaptable, with multiple handlers and configuration properties. xsData is constantly tested against the W3C XML Schema 1.1 test suite. --- devel/Makefile | 1 + devel/py-xsdata/Makefile | 24 ++++++++++++++++++++++++ devel/py-xsdata/distinfo | 3 +++ devel/py-xsdata/pkg-descr | 11 +++++++++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e5bdb7fc43a9..b6ea7f4cef53 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5802,6 +5802,7 @@ SUBDIR += py-xdoctest SUBDIR += py-xerox SUBDIR += py-xmltodict + SUBDIR += py-xsdata SUBDIR += py-xstatic SUBDIR += py-xstatic-angular SUBDIR += py-xstatic-angular-bootstrap diff --git a/devel/py-xsdata/Makefile b/devel/py-xsdata/Makefile new file mode 100644 index 000000000000..fe48631cff9c --- /dev/null +++ b/devel/py-xsdata/Makefile @@ -0,0 +1,24 @@ +PORTNAME= xsdata +PORTVERSION= 23.8 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python XML Binding +WWW= https://xsdata.readthedocs.io/en/latest/ \ + https://github.com/tefra/xsdata + +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}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-xsdata/distinfo b/devel/py-xsdata/distinfo new file mode 100644 index 000000000000..eb79f88b163c --- /dev/null +++ b/devel/py-xsdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701083340 +SHA256 (xsdata-23.8.tar.gz) = 55f03d4c88236f047266affe550ba0dd19476adfce6a01f3e0aefac7c8078e56 +SIZE (xsdata-23.8.tar.gz) = 307415 diff --git a/devel/py-xsdata/pkg-descr b/devel/py-xsdata/pkg-descr new file mode 100644 index 000000000000..6e15bdcbc835 --- /dev/null +++ b/devel/py-xsdata/pkg-descr @@ -0,0 +1,11 @@ +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. + +The code generator supports XML schemas, DTD, WSDL definitions, XML & JSON +documents. It produces simple dataclasses with type hints and simple binding +metadata. + +The included XML and JSON parser/serializer are highly optimized and adaptable, +with multiple handlers and configuration properties. + +xsData is constantly tested against the W3C XML Schema 1.1 test suite.