./textproc/py-generateDS, Python XML data binding library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.43.3, Package name: py311-generateDS-2.43.3, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [textproc/py-lxml] [lang/python310]

Master sites:

Filesize: 1260.967 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-06 10:40:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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.
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
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.
   2019-09-24 11:45:32 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-generateDS: repair PLIST for Python 2.7
   2017-10-08 11:10:11 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-generateDS: update to 2.28b

2.28b:
Changes unknown.