Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-generateDS
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-generateDS: updated to 2.43.3 Version 2.43.3 (11/02/2023) Added warning message that is printed when generateDS.py is asked to process an XML schema that has an xs:simpleType that contains an xs:union. generateDS does not handle that. Thanks to Alex Krizsan for suggesting this. Added a unit test for type substitution (tests/type_substitution*) using xsi:type. Version 2.43.2 (08/22/2023) Fixes to the GraphQL support: (1) several issues that were related to substitutionGroup; (2) fixed missing access to character_content when an element has attributes or is "mixed"; (3) fixed an error that occurs when child.maxOccurs > 1. Version 2.43.1 (08/07/2023) Added two utility scripts: ./utils/gds_split_one_to_many.py ./utils/gds_join_many_to_one.py The purpose of the first is to split a module generated by generateDS into smaller modules (in particular, one for each complexType definition) in order to facility easier viewing and editing. The purpose of the second is to enable you, if you have modified any of the split modules, to join back together into a single module that can be executed or imported. Added the README file ./utils/README_split_join.rst containing notes on the these utility scripts. Added a unit/regression test for the split-join capability. Thanks to Amudha Duraisamy for suggesting this capability. Version 2.42.2 (07/14/2023) Added unit/regression test for the GraphQL support. Added demo for generateDS GraphQL support to ./Demos/People/. See the ./Demos/People/README.txt and the two shell scripts ./Demos/People/run-*.sh. You will need to install Strawberry to run this demo. See http://www.davekuhlman.org/generateDS.html#graphql-support Version 2.42.1 (07/14/2023) Added support for generation of code containing an implementation of a GraphQL server that uses the Strawberry GraphQL package. For info, see -- http://www.davekuhlman.org/generateDS.html#graphql-support Version 2.41.5 (05/06/2023) Changed name of method "_hasContent" to "has__content" so that we both (1) avoid conflicts with XML complexType member names and (2) avoid warnings generated by pylint. Thanks to Amudha Duraisamy for reporting this. Version 2.41.4 (04/25/2023) Fix to formatting of floats. Thanks to Amudha Duraisamy for reporting this. Version 2.41.3 (03/06/2023) Fix for mixed content -- When mixed="true" was an attribute of complexContent element, instead of on the ``complexType that contained it, generateDS.py was not picking it up. Now it does, and it generates code for valueOf_, etc. Thanks to Edwin Matthijssen for help with this. Version 2.41.2 (02/28/2023) Fix to export of an element that has mixed/simpleContent. The character content (_valueOf) was not being exported. Thanks to Edwin Matthijssen for reporting this. Version 2.41.1 (10/03/2022) Added command line option "--use-regex-module". This option causes generation of modules that import the regex module instead of the re module. There are some regular expressions that regex handles but that re does not, for example "p{...}". See https://pypi.org/project/regex/ and https://github.com/mrabarnett/mrab-regex.
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
py-generateDS: update to 2.28b 2.28b: Changes unknown.
Add python-3.6 to incompatible versions.
Remove python33: adapt all packages that refer to it.
Switch to MASTER_SITES_PYPI.
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Fix EGG_NAME.
Don't use /usr/bin/env. Build & install as egg. Bump revision.
Import py27-generateDS-2.14a as textproc/py-generateDS. generateDS.py generates Python data structures (for example, class definitions) from an XML Schema document. These data structures represent the elements in an XML document described by the XML Schema. In addition, a separate file containing subclasses (stubs) is optionally generated. The user can add methods to the subclasses in order to process the contents of an XML document.