pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-generateDS
Module Name: pkgsrc
Committed By: adam
Date: Sat Jan 6 09:40:40 UTC 2024
Modified Files:
pkgsrc/textproc/py-generateDS: Makefile PLIST distinfo
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.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-generateDS/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-generateDS/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-generateDS/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-generateDS/Makefile
diff -u pkgsrc/textproc/py-generateDS/Makefile:1.11 pkgsrc/textproc/py-generateDS/Makefile:1.12
--- pkgsrc/textproc/py-generateDS/Makefile:1.11 Wed Jan 5 15:41:24 2022
+++ pkgsrc/textproc/py-generateDS/Makefile Sat Jan 6 09:40:40 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:24 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2024/01/06 09:40:40 adam Exp $
-DISTNAME= generateDS-2.28b0
+DISTNAME= generateDS-2.43.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/0$//}
-PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/generateDS/}
@@ -11,13 +10,17 @@ HOMEPAGE= https://www.davekuhlman.org/ge
COMMENT= Python XML data binding library
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.21.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
PYTHON_SELF_CONFLICT= yes
-USE_PKG_RESOURCES= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-generateDS/PLIST
diff -u pkgsrc/textproc/py-generateDS/PLIST:1.4 pkgsrc/textproc/py-generateDS/PLIST:1.5
--- pkgsrc/textproc/py-generateDS/PLIST:1.4 Tue Sep 24 09:45:32 2019
+++ pkgsrc/textproc/py-generateDS/PLIST Sat Jan 6 09:40:40 2024
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2019/09/24 09:45:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/01/06 09:40:40 adam Exp $
+bin/collect_namespace_mappings
+bin/gds_collect_namespace_mappings.py
bin/gends_extract_simple_types
bin/gends_extract_simple_types.py
bin/gends_generate_django
@@ -11,11 +13,18 @@ bin/generateds_gui
bin/generateds_gui.py
bin/process_includes
bin/process_includes.py
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/libgenerateDS/__init__.py
+${PYSITELIB}/libgenerateDS/__init__.pyc
+${PYSITELIB}/libgenerateDS/__init__.pyo
+${PYSITELIB}/libgenerateDS/gui/__init__.py
+${PYSITELIB}/libgenerateDS/gui/__init__.pyc
+${PYSITELIB}/libgenerateDS/gui/__init__.pyo
${PYSITELIB}/libgenerateDS/gui/generateds_gui.py
${PYSITELIB}/libgenerateDS/gui/generateds_gui.pyc
${PYSITELIB}/libgenerateDS/gui/generateds_gui.pyo
@@ -23,8 +32,8 @@ ${PYSITELIB}/libgenerateDS/gui/generated
${PYSITELIB}/libgenerateDS/gui/generateds_gui_session.pyc
${PYSITELIB}/libgenerateDS/gui/generateds_gui_session.pyo
${PYSITELIB}/libgenerateDS/process_includes.py
-${PLIST.py2x}${PYSITELIB}/libgenerateDS/process_includes.pyc
-${PLIST.py2x}${PYSITELIB}/libgenerateDS/process_includes.pyo
+${PYSITELIB}/libgenerateDS/process_includes.pyc
+${PYSITELIB}/libgenerateDS/process_includes.pyo
${PYSITELIB}/process_includes.py
${PYSITELIB}/process_includes.pyc
${PYSITELIB}/process_includes.pyo
Index: pkgsrc/textproc/py-generateDS/distinfo
diff -u pkgsrc/textproc/py-generateDS/distinfo:1.5 pkgsrc/textproc/py-generateDS/distinfo:1.6
--- pkgsrc/textproc/py-generateDS/distinfo:1.5 Tue Oct 26 11:23:03 2021
+++ pkgsrc/textproc/py-generateDS/distinfo Sat Jan 6 09:40:40 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:23:03 nia Exp $
+$NetBSD: distinfo,v 1.6 2024/01/06 09:40:40 adam Exp $
-BLAKE2s (generateDS-2.28b0.tar.gz) = 2bb39c1e85c5e419c975c8369550ab695be993208381b7033987953f330a8587
-SHA512 (generateDS-2.28b0.tar.gz) = b363d4bcdc421a22abb14e41f0d6ce36aa456cd3826cd7ac46a6da30522751630ae0ca5d519b30e9d152e1eaa5f8867db6daa33dc8c77a31c2776c5dd7442bdd
-Size (generateDS-2.28b0.tar.gz) = 846693 bytes
+BLAKE2s (generateDS-2.43.3.tar.gz) = 05a49e9dc941f4791cc07e8615ac3ab81e7330c26b9fb37a245642c1fa459787
+SHA512 (generateDS-2.43.3.tar.gz) = 263a0d9b369e37e3d9d0cde83966e911b43b53e4efee6d08909af43a9d0e24aa23b849fefe648d5936d21bc75dec6f0fe369ab6cad0a270989ebc6c882a9a10b
+Size (generateDS-2.43.3.tar.gz) = 1291230 bytes
Home |
Main Index |
Thread Index |
Old Index