Commit graph

13 commits

Author SHA1 Message Date
Roland Illig
2c1cc3dceb Ran pkglint --autofix over the complete pkgsrc-wip. This changed all
instances like MAKE_ENV+= VAR=${VAR} to the properly quoted form,
VAR=${VAR:Q}, or even VAR=${VAR:M*:Q} if necessary.

Manually reviewed the changes.
2005-11-28 00:27:22 +00:00
Todd Vierling
5f60a41bb5 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:09:34 +00:00
Marc Recht
6dd5fee62c sync with pkgsrc python changes (remove *-pth from the list of accepted
python versions)
2005-01-23 21:39:27 +00:00
Marc Recht
f968c84419 update to generateDS 1.6a
changes:

Version 1.6a (7/9/04, again)
  * Minor fixes.  Replaced dashes in names used as attributes (see
    cleanupName().

Version 1.6a (7/6/04, again)
  * For XMLBehaviors, implemented ability to retrieve
    implementation bodies for behaviors and for ancillaries
    (pre-conditions and post-conditions) from a Web address (URL).

Version 1.6a (6/30/04)
  * Added generation of behaviors.  An XML document can be used to
    specify behaviors (methods) to be added to generated sub-class
    files, including DBC (design by contract) pre- and
    post-condition tests.  See generateDS.html for more
    information on XMLBehaviors.

Version 1.5b (6/20/04, again)
  * Fixed handling namespace prefix in the XMLSchema file itself.
    generateDS.py now attempts to pick-up the namespace prefix
    (alias) from the "xmlns:" attribute on the "schema" element.

Version 1.5b (5/7/04)
  * Fixed several minor problems related to XML namespaces.
    Namespace prefix ignored when creating Python names (e.g. of
    classes and namespace prefix ignored during parsing.  That's
    about the best I know to do right now.
  * Fixed problems in generating code for names containing dashes.
    Now using underscore in place of dashes for Python names.

Version 1.5a (3/24/04)
  * Added keyword arguments to the generated factory functions.
  * Added generation of method "exportLiteral" and related support
    to export elements/instances to Python data structure
    literals.

Version 1.4c (3/10/04)
  * Element <complexType> in XSchema file not handled correctly.
    Fixed this so that when <complexType> is at top level, it will
    be handled the same way that an <element> is handled.  Note:
    We still have problems with <complexType> elements that are
    more deeply nested.

Version 1.4c (3/8/04)
  * Added ability to pass namespace abbreviation from the command
    line.  For example, the "-a" option enables you to replace
    "xs:" with "xsd:".
2004-07-22 14:34:19 +00:00
Thomas Klausner
4cb83d2635 buildlink2 -> buildlink3 in a comment. 2004-07-06 21:58:58 +00:00
Marc Recht
5da7cb3a90 bl3ify 2004-05-08 09:59:30 +00:00
Marc Recht
1583f3f2b1 catch-up with the pyxml -> py-xml name change in pkgsrc 2004-01-25 14:36:24 +00:00
Marc Recht
419e062050 update to 1.4b, dependency on pyxml removed
Version 1.4b (9/30/03, again)
  * Removed dependence on PyXML.  Will now import XML support from
    PyXML, if it is available, but if not, imports from the
    Python standard library.
2003-11-15 14:08:13 +00:00
Marc Recht
833b7e6034 Update to 1.4a.
Also, rename the installed link generateDS${PYVERSSUFFIX} to allow
installations with different Python versions.

Version 1.4a (9/17/03)
  * Added generation of a SAX parser.

Version 1.3c (9/11/03)
  * Fixed problem caused by shared content model, i.e. when a
    field (content) is declared with a complex type and the name
    and the type are different.  The fix enabled the field name
    and the type of the object in that field to be different.
2003-09-17 22:20:09 +00:00
Marc Recht
9cbcc30861 PYSETUPINSTALLARGS=-c -O1 is now the default in pkgsrc. 2003-09-14 20:35:33 +00:00
Marc Recht
189fe90ce6 Update to 1.3a.
changes:
Version 1.3b (9/9/03)
  * Fixed error when a separate xs:element declaration is used for
    elements declared with a simple type.

Version 1.3a (8/18/03)
  * Removed YAML support.
  * Fixed error in name generation in generateBuildFn().
  * Various fixes and cleanup in tests/ and Demo/.
2003-09-11 16:03:39 +00:00
Marc Recht
7fdfdc373e set up a convenience link to ${PREFIX}/bin 2003-06-15 14:09:22 +00:00
Marc Recht
deca75a818 Initial import of generateDS 1.2a
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.
2003-06-15 13:40:06 +00:00