summaryrefslogtreecommitdiff
path: root/textproc/py-HappyDoc
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-29 16:26:44 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-29 16:26:44 +0000
commit999458de7c6a01a84ef979108949a7248113f7cf (patch)
tree2aa3624434aa2454ec9118f27af16245b956abd2 /textproc/py-HappyDoc
parent2e931a984534f8a4e58b81d1a5e1dfdddb0c7909 (diff)
downloadpkgsrc-999458de7c6a01a84ef979108949a7248113f7cf.tar.gz
initial import of py-HappyDoc-2.0, a python tool to generate Python API
documents, submitted by Shell Hung per PR pkg/15145
Diffstat (limited to 'textproc/py-HappyDoc')
-rw-r--r--textproc/py-HappyDoc/DESCR4
-rw-r--r--textproc/py-HappyDoc/Makefile22
-rw-r--r--textproc/py-HappyDoc/PLIST133
-rw-r--r--textproc/py-HappyDoc/distinfo5
-rw-r--r--textproc/py-HappyDoc/patches/patch-aa13
5 files changed, 177 insertions, 0 deletions
diff --git a/textproc/py-HappyDoc/DESCR b/textproc/py-HappyDoc/DESCR
new file mode 100644
index 00000000000..6c325b78d01
--- /dev/null
+++ b/textproc/py-HappyDoc/DESCR
@@ -0,0 +1,4 @@
+HappyDoc is a tool for extracting documentation from Python source
+code. It differs from other such applications by the fact that it
+uses the parse tree for a module to derive the information and does
+not import the module.
diff --git a/textproc/py-HappyDoc/Makefile b/textproc/py-HappyDoc/Makefile
new file mode 100644
index 00000000000..703be52fe1f
--- /dev/null
+++ b/textproc/py-HappyDoc/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/29 16:26:44 drochner Exp $
+
+DISTNAME= HappyDoc_r2_0
+PKGNAME= ${PYPKGPREFIX}-HappyDoc-2.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=happydoc/}
+
+MAINTAINER= shell@shellhung.org
+HOMEPAGE= http://happydoc.sf.net/
+COMMENT= python tool to generate Python API documents
+
+PYTHON_VERSIONS_ACCEPTED= 21
+PYDISTUTILSPKG= # defined
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+WRKSRC= ${WRKDIR}/HappyDoc-r2_0
+
+post-extract:
+ ${MV} ${WRKSRC}/happydoc ${WRKSRC}/happydoc${PYVERSSUFFIX}
+
+.include "../../lang/python/extension.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-HappyDoc/PLIST b/textproc/py-HappyDoc/PLIST
new file mode 100644
index 00000000000..94cb6d110eb
--- /dev/null
+++ b/textproc/py-HappyDoc/PLIST
@@ -0,0 +1,133 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/29 16:26:44 drochner Exp $
+bin/happydoc${PYVERSSUFFIX}
+${PYSITELIB}/happydoclib/CommandLineApp.py
+${PYSITELIB}/happydoclib/CommandLineApp.pyc
+${PYSITELIB}/happydoclib/StreamFlushTest.py
+${PYSITELIB}/happydoclib/StreamFlushTest.pyc
+${PYSITELIB}/happydoclib/__init__.py
+${PYSITELIB}/happydoclib/__init__.pyc
+${PYSITELIB}/happydoclib/appclass.py
+${PYSITELIB}/happydoclib/appclass.pyc
+${PYSITELIB}/happydoclib/cvsversion.py
+${PYSITELIB}/happydoclib/cvsversion.pyc
+${PYSITELIB}/happydoclib/docset/__init__.py
+${PYSITELIB}/happydoclib/docset/__init__.pyc
+${PYSITELIB}/happydoclib/docset/docset_Dia.py
+${PYSITELIB}/happydoclib/docset/docset_Dia.pyc
+${PYSITELIB}/happydoclib/docset/docset_MultipleFile.py
+${PYSITELIB}/happydoclib/docset/docset_MultipleFile.pyc
+${PYSITELIB}/happydoclib/docset/docset_SingleFile.py
+${PYSITELIB}/happydoclib/docset/docset_SingleFile.pyc
+${PYSITELIB}/happydoclib/docset/docset_Stdout.py
+${PYSITELIB}/happydoclib/docset/docset_Stdout.pyc
+${PYSITELIB}/happydoclib/docset/docset_mstruct.py
+${PYSITELIB}/happydoclib/docset/docset_mstruct.pyc
+${PYSITELIB}/happydoclib/docset/mstruct_const.py
+${PYSITELIB}/happydoclib/docset/mstruct_const.pyc
+${PYSITELIB}/happydoclib/docstring/MML.py
+${PYSITELIB}/happydoclib/docstring/MML.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/ClassicDocumentClass.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/ClassicDocumentClass.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/ClassicStructuredText.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/ClassicStructuredText.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocBookClass.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocBookClass.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocumentClass.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocumentClass.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocumentWithImages.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/DocumentWithImages.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/HTMLClass.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/HTMLClass.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/HTMLWithImages.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/HTMLWithImages.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/ST.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/ST.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/STDOM.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/STDOM.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/STletters.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/STletters.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/StructuredText.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/StructuredText.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/Zwiki.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/Zwiki.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/__init__.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/__init__.pyc
+${PYSITELIB}/happydoclib/docstring/StructuredText/ts_regex.py
+${PYSITELIB}/happydoclib/docstring/StructuredText/ts_regex.pyc
+${PYSITELIB}/happydoclib/docstring/__init__.py
+${PYSITELIB}/happydoclib/docstring/__init__.pyc
+${PYSITELIB}/happydoclib/docstring/docstring_ClassicStructuredText.py
+${PYSITELIB}/happydoclib/docstring/docstring_ClassicStructuredText.pyc
+${PYSITELIB}/happydoclib/docstring/docstring_PlainText.py
+${PYSITELIB}/happydoclib/docstring/docstring_PlainText.pyc
+${PYSITELIB}/happydoclib/docstring/docstring_RawText.py
+${PYSITELIB}/happydoclib/docstring/docstring_RawText.pyc
+${PYSITELIB}/happydoclib/docstring/docstring_StructuredText.py
+${PYSITELIB}/happydoclib/docstring/docstring_StructuredText.pyc
+${PYSITELIB}/happydoclib/formatter/OpenOffice/__init__.py
+${PYSITELIB}/happydoclib/formatter/OpenOffice/__init__.pyc
+${PYSITELIB}/happydoclib/formatter/__init__.py
+${PYSITELIB}/happydoclib/formatter/__init__.pyc
+${PYSITELIB}/happydoclib/formatter/fileformatterbase.py
+${PYSITELIB}/happydoclib/formatter/fileformatterbase.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_Dia.py
+${PYSITELIB}/happydoclib/formatter/formatter_Dia.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_DocBook.py
+${PYSITELIB}/happydoclib/formatter/formatter_DocBook.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_DocBookX.py
+${PYSITELIB}/happydoclib/formatter/formatter_DocBookX.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_HTMLFile.py
+${PYSITELIB}/happydoclib/formatter/formatter_HTMLFile.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_Null.py
+${PYSITELIB}/happydoclib/formatter/formatter_Null.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_TextFile.py
+${PYSITELIB}/happydoclib/formatter/formatter_TextFile.pyc
+${PYSITELIB}/happydoclib/formatter/formatter_XPyDoc.py
+${PYSITELIB}/happydoclib/formatter/formatter_XPyDoc.pyc
+${PYSITELIB}/happydoclib/formatter/openoffice.py
+${PYSITELIB}/happydoclib/formatter/openoffice.pyc
+${PYSITELIB}/happydoclib/formatter/xmlformatterbase.py
+${PYSITELIB}/happydoclib/formatter/xmlformatterbase.pyc
+${PYSITELIB}/happydoclib/happydocset.py
+${PYSITELIB}/happydoclib/happydocset.pyc
+${PYSITELIB}/happydoclib/happydocstring.py
+${PYSITELIB}/happydoclib/happydocstring.pyc
+${PYSITELIB}/happydoclib/happydom.py
+${PYSITELIB}/happydoclib/happydom.pyc
+${PYSITELIB}/happydoclib/happyformatter.py
+${PYSITELIB}/happydoclib/happyformatter.pyc
+${PYSITELIB}/happydoclib/indentstring.py
+${PYSITELIB}/happydoclib/indentstring.pyc
+${PYSITELIB}/happydoclib/optiontools.py
+${PYSITELIB}/happydoclib/optiontools.pyc
+${PYSITELIB}/happydoclib/parsecomments.py
+${PYSITELIB}/happydoclib/parsecomments.pyc
+${PYSITELIB}/happydoclib/parseinfo/__init__.py
+${PYSITELIB}/happydoclib/parseinfo/__init__.pyc
+${PYSITELIB}/happydoclib/parseinfo/classinfo.py
+${PYSITELIB}/happydoclib/parseinfo/classinfo.pyc
+${PYSITELIB}/happydoclib/parseinfo/functioninfo.py
+${PYSITELIB}/happydoclib/parseinfo/functioninfo.pyc
+${PYSITELIB}/happydoclib/parseinfo/imports.py
+${PYSITELIB}/happydoclib/parseinfo/imports.pyc
+${PYSITELIB}/happydoclib/parseinfo/moduleinfo.py
+${PYSITELIB}/happydoclib/parseinfo/moduleinfo.pyc
+${PYSITELIB}/happydoclib/parseinfo/suite.py
+${PYSITELIB}/happydoclib/parseinfo/suite.pyc
+${PYSITELIB}/happydoclib/parseinfo/utils.py
+${PYSITELIB}/happydoclib/parseinfo/utils.pyc
+${PYSITELIB}/happydoclib/path.py
+${PYSITELIB}/happydoclib/path.pyc
+${PYSITELIB}/happydoclib/pluginloader.py
+${PYSITELIB}/happydoclib/pluginloader.pyc
+${PYSITELIB}/happydoclib/prettyast.py
+${PYSITELIB}/happydoclib/prettyast.pyc
+${PYSITELIB}/happydoclib/trace.py
+${PYSITELIB}/happydoclib/trace.pyc
+@dirrm ${PYSITELIB}/happydoclib/parseinfo
+@dirrm ${PYSITELIB}/happydoclib/formatter/OpenOffice
+@dirrm ${PYSITELIB}/happydoclib/formatter
+@dirrm ${PYSITELIB}/happydoclib/docstring/StructuredText
+@dirrm ${PYSITELIB}/happydoclib/docstring
+@dirrm ${PYSITELIB}/happydoclib/docset
+@dirrm ${PYSITELIB}/happydoclib
diff --git a/textproc/py-HappyDoc/distinfo b/textproc/py-HappyDoc/distinfo
new file mode 100644
index 00000000000..4ae96e89dcc
--- /dev/null
+++ b/textproc/py-HappyDoc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/01/29 16:26:44 drochner Exp $
+
+SHA1 (HappyDoc_r2_0.tar.gz) = 80e3dc954e000062fdbbfe585e03ef3e416ae1f3
+Size (HappyDoc_r2_0.tar.gz) = 491398 bytes
+SHA1 (patch-aa) = 6683e58efccdde4fbc9fa9d10201606905307c63
diff --git a/textproc/py-HappyDoc/patches/patch-aa b/textproc/py-HappyDoc/patches/patch-aa
new file mode 100644
index 00000000000..4b17a77def2
--- /dev/null
+++ b/textproc/py-HappyDoc/patches/patch-aa
@@ -0,0 +1,13 @@
+@NetBSD@
+
+--- setup.py.orig Tue Jan 29 16:46:18 2002
++++ setup.py Tue Jan 29 16:47:05 2002
+@@ -104,7 +104,7 @@
+ if sys.platform == 'win32':
+ platform_specific_scripts = ['happydocwin.py']
+ else:
+- platform_specific_scripts = ['happydoc']
++ platform_specific_scripts = ['happydoc' + sys.version[:3]]
+
+ setup (
+ name = 'HappyDoc',