pkgsrc-wip/py-generateDS/Makefile
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

31 lines
839 B
Makefile

# $NetBSD: Makefile,v 1.10 2004/07/22 14:34:19 marc Exp $
#
DISTNAME= generateDS-1.6a
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= http://www.rexx.com/~dkuhlman/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.rexx.com/~dkuhlman/
COMMENT= Python XML data binding library
USE_BUILDLINK3= yes
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PYTHON_PATCH_SCRIPTS= generateDS.py
PYTHON_VERSIONS_ACCEPTED= 23 23pth 22 22pth
# set up a convenience link
post-install:
${CHMOD} 0755 ${PREFIX}/${PYSITELIB}/generateDS.py
${LN} -sf ${PREFIX}/${PYSITELIB}/generateDS.py \
${PREFIX}/bin/generateDS${PYVERSSUFFIX}
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
#.include "../../textproc/py-xml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"