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.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-xsdata listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-xsdata-26.2_1:
CLI=off: Command-line interface support
LXML=off: Handler/writer via lxml
SOAP=off: Simple Object Access Protocol (SOAP) support
===> Use 'make config' to modify these settings
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml
Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml (now at version 6.0.1)
To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.
Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.
PR: 289491
Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
crees, madpilot, delphij, marcus, nivit, kai,
skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
0mp, Eric Camachat <eric@camachat.org>
*/*: update dependency on devel/py-lxml to devel/py-lxml5 (2nd attempt)
This is a follow up to the commit 230fb2661c78, which updated some
ports' dependencies on devel/py-lxml to devel/py-lxml5. It was an
attempt to follow the dependency change of
www/py-beautifulsoup. However, the switch was incomplete and broke
some other ports.
It has turned out that the ports depending on devel/py-lxml (at
version 4.9.3) does not limit their dependencies' upper bound to 4.x
except for one (devel/py-pymaven-patch). So updating them to
devel/py-lxml5 (at version 5.4.0) should cause no harm.
This commit switch dependencies of all the ports (except
devel/py-pymaven-patch) to devel/py-lxml5 avoid potential conflicts.
Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
PR: 287144, 288047
Reported by: makc (via ports-committers),
vvd (PR 288047),
diizzy (PR 287144)
Approved by: portmgr (chase dependency change, unbreak build)
Fixes: 230fb2661c78 (*/*: update dependency on devel/py-lxml to devel/py-lxml5)
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.