diff options
author | gdt <gdt@pkgsrc.org> | 2015-01-28 19:15:08 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2015-01-28 19:15:08 +0000 |
commit | 45a2c8ea3a063ba7673cbaba0c25b39f4108e2df (patch) | |
tree | 6ebfa22aff29b44080b07265328582137bf183d0 | |
parent | 05a849f678a0813f256f97c36cd59212cc776346 (diff) | |
download | pkgsrc-45a2c8ea3a063ba7673cbaba0c25b39f4108e2df.tar.gz |
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.
-rw-r--r-- | textproc/py-generateDS/DESCR | 6 | ||||
-rw-r--r-- | textproc/py-generateDS/Makefile | 27 | ||||
-rw-r--r-- | textproc/py-generateDS/PLIST | 20 | ||||
-rw-r--r-- | textproc/py-generateDS/distinfo | 5 |
4 files changed, 58 insertions, 0 deletions
diff --git a/textproc/py-generateDS/DESCR b/textproc/py-generateDS/DESCR new file mode 100644 index 00000000000..2fb7d76ebdb --- /dev/null +++ b/textproc/py-generateDS/DESCR @@ -0,0 +1,6 @@ +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. diff --git a/textproc/py-generateDS/Makefile b/textproc/py-generateDS/Makefile new file mode 100644 index 00000000000..c00aa498759 --- /dev/null +++ b/textproc/py-generateDS/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2015/01/28 19:15:08 gdt Exp $ +# + +DISTNAME= generateDS-2.14a +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= https://pypi.python.org/packages/source/g/generateDS/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.davekuhlman.org/generateDS.html +COMMENT= Python XML data binding library + +LICENSE= mit + +PY_PATCHPLIST= yes +PYDISTUTILSPKG= yes +# TODO: explain +PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-xml + +REPLACE_PYTHON= generateDS.py + +.include "../../lang/python/extension.mk" +.include "../../lang/python/application.mk" +# TODO: Explain why this is commented out and present. +#.include "../../textproc/py-xml/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-generateDS/PLIST b/textproc/py-generateDS/PLIST new file mode 100644 index 00000000000..201f21137a5 --- /dev/null +++ b/textproc/py-generateDS/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1 2015/01/28 19:15:08 gdt Exp $ +bin/gends_extract_simple_types.py +bin/gends_generate_django.py +bin/gends_run_gen_django.py +bin/generateDS.py +bin/generateds_gui.py +bin/process_includes.py +${PYSITELIB}/generateDS-${PKGVERSION}0-py2.7.egg-info/PKG-INFO +${PYSITELIB}/generateDS-${PKGVERSION}0-py2.7.egg-info/SOURCES.txt +${PYSITELIB}/generateDS-${PKGVERSION}0-py2.7.egg-info/dependency_links.txt +${PYSITELIB}/generateDS-${PKGVERSION}0-py2.7.egg-info/top_level.txt +${PYSITELIB}/libgenerateDS/gui/generateds_gui.py +${PYSITELIB}/libgenerateDS/gui/generateds_gui.pyc +${PYSITELIB}/libgenerateDS/gui/generateds_gui.pyo +${PYSITELIB}/libgenerateDS/gui/generateds_gui_session.py +${PYSITELIB}/libgenerateDS/gui/generateds_gui_session.pyc +${PYSITELIB}/libgenerateDS/gui/generateds_gui_session.pyo +${PYSITELIB}/libgenerateDS/process_includes.py +${PYSITELIB}/libgenerateDS/process_includes.pyc +${PYSITELIB}/libgenerateDS/process_includes.pyo diff --git a/textproc/py-generateDS/distinfo b/textproc/py-generateDS/distinfo new file mode 100644 index 00000000000..94f38ff8c1a --- /dev/null +++ b/textproc/py-generateDS/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/01/28 19:15:08 gdt Exp $ + +SHA1 (generateDS-2.14a.tar.gz) = c69ff142bb04fe7895e94545296a1eb04b27983e +RMD160 (generateDS-2.14a.tar.gz) = 16530faa5c2e7a6883f517a493d2882fd143fd64 +Size (generateDS-2.14a.tar.gz) = 640989 bytes |