summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2013-09-30 17:23:04 +0000
committerwiz <wiz>2013-09-30 17:23:04 +0000
commit39c89b610f0950546cbef620d014ac76e143e0f2 (patch)
treeac2f207a5aa3415ede689bfb0437ea044fce6bfb
parent1d4e3aaa2d97138fbe2566e16bc4117a7f3d436c (diff)
downloadpkgsrc-39c89b610f0950546cbef620d014ac76e143e0f2.tar.gz
Import py27-doctor-0.4 as devel/py-doctor.
This is 'pydoctor', an API documentation generator that works by static analysis. It was written primarily to replace epydoc for the purposes of the Twisted project as epydoc has difficulties with zope.interface. If it happens to work for your code too, that's a nice bonus at this stage :) pydoctor puts a fair bit of effort into resolving imports and computing inheritance hierarchies and, as it aims at documenting Twisted, knows about zope.interface's declaration API and can present information about which classes implement which interface, and vice versa.
-rw-r--r--devel/py-doctor/DESCR12
-rw-r--r--devel/py-doctor/Makefile18
-rw-r--r--devel/py-doctor/PLIST75
-rw-r--r--devel/py-doctor/distinfo5
4 files changed, 110 insertions, 0 deletions
diff --git a/devel/py-doctor/DESCR b/devel/py-doctor/DESCR
new file mode 100644
index 00000000000..fa3a48ce0b3
--- /dev/null
+++ b/devel/py-doctor/DESCR
@@ -0,0 +1,12 @@
+This is 'pydoctor', an API documentation generator that works by
+static analysis.
+
+It was written primarily to replace epydoc for the purposes of the
+Twisted project as epydoc has difficulties with zope.interface. If it
+happens to work for your code too, that's a nice bonus at this stage :)
+
+pydoctor puts a fair bit of effort into resolving imports and
+computing inheritance hierarchies and, as it aims at documenting
+Twisted, knows about zope.interface's declaration API and can present
+information about which classes implement which interface, and vice
+versa.
diff --git a/devel/py-doctor/Makefile b/devel/py-doctor/Makefile
new file mode 100644
index 00000000000..945306ebb78
--- /dev/null
+++ b/devel/py-doctor/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/09/30 17:23:04 wiz Exp $
+
+DISTNAME= pydoctor-0.4
+PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
+CATEGORIES= devel
+MASTER_SITES= https://pypi.python.org/packages/source/p/pydoctor/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/pydoctor/
+COMMENT= API doc generator
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-nevow>=0.9.18:../../www/py-nevow
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-doctor/PLIST b/devel/py-doctor/PLIST
new file mode 100644
index 00000000000..f81045d64ba
--- /dev/null
+++ b/devel/py-doctor/PLIST
@@ -0,0 +1,75 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/30 17:23:04 wiz Exp $
+bin/pydoctor
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pydoctor/__init__.py
+${PYSITELIB}/pydoctor/__init__.pyc
+${PYSITELIB}/pydoctor/__init__.pyo
+${PYSITELIB}/pydoctor/ast_pp.py
+${PYSITELIB}/pydoctor/ast_pp.pyc
+${PYSITELIB}/pydoctor/ast_pp.pyo
+${PYSITELIB}/pydoctor/astbuilder.py
+${PYSITELIB}/pydoctor/astbuilder.pyc
+${PYSITELIB}/pydoctor/astbuilder.pyo
+${PYSITELIB}/pydoctor/driver.py
+${PYSITELIB}/pydoctor/driver.pyc
+${PYSITELIB}/pydoctor/driver.pyo
+${PYSITELIB}/pydoctor/epydoc2stan.py
+${PYSITELIB}/pydoctor/epydoc2stan.pyc
+${PYSITELIB}/pydoctor/epydoc2stan.pyo
+${PYSITELIB}/pydoctor/html.py
+${PYSITELIB}/pydoctor/html.pyc
+${PYSITELIB}/pydoctor/html.pyo
+${PYSITELIB}/pydoctor/liveobjectchecker.py
+${PYSITELIB}/pydoctor/liveobjectchecker.pyc
+${PYSITELIB}/pydoctor/liveobjectchecker.pyo
+${PYSITELIB}/pydoctor/model.py
+${PYSITELIB}/pydoctor/model.pyc
+${PYSITELIB}/pydoctor/model.pyo
+${PYSITELIB}/pydoctor/nevowhtml/__init__.py
+${PYSITELIB}/pydoctor/nevowhtml/__init__.pyc
+${PYSITELIB}/pydoctor/nevowhtml/__init__.pyo
+${PYSITELIB}/pydoctor/nevowhtml/pages/__init__.py
+${PYSITELIB}/pydoctor/nevowhtml/pages/__init__.pyc
+${PYSITELIB}/pydoctor/nevowhtml/pages/__init__.pyo
+${PYSITELIB}/pydoctor/nevowhtml/pages/attributechild.py
+${PYSITELIB}/pydoctor/nevowhtml/pages/attributechild.pyc
+${PYSITELIB}/pydoctor/nevowhtml/pages/attributechild.pyo
+${PYSITELIB}/pydoctor/nevowhtml/pages/functionchild.py
+${PYSITELIB}/pydoctor/nevowhtml/pages/functionchild.pyc
+${PYSITELIB}/pydoctor/nevowhtml/pages/functionchild.pyo
+${PYSITELIB}/pydoctor/nevowhtml/pages/table.py
+${PYSITELIB}/pydoctor/nevowhtml/pages/table.pyc
+${PYSITELIB}/pydoctor/nevowhtml/pages/table.pyo
+${PYSITELIB}/pydoctor/nevowhtml/summary.py
+${PYSITELIB}/pydoctor/nevowhtml/summary.pyc
+${PYSITELIB}/pydoctor/nevowhtml/summary.pyo
+${PYSITELIB}/pydoctor/nevowhtml/util.py
+${PYSITELIB}/pydoctor/nevowhtml/util.pyc
+${PYSITELIB}/pydoctor/nevowhtml/util.pyo
+${PYSITELIB}/pydoctor/nevowhtml/writer.py
+${PYSITELIB}/pydoctor/nevowhtml/writer.pyc
+${PYSITELIB}/pydoctor/nevowhtml/writer.pyo
+${PYSITELIB}/pydoctor/server.py
+${PYSITELIB}/pydoctor/server.pyc
+${PYSITELIB}/pydoctor/server.pyo
+${PYSITELIB}/pydoctor/templates/apidocs.css
+${PYSITELIB}/pydoctor/templates/attribute-child.html
+${PYSITELIB}/pydoctor/templates/bigDiff.html
+${PYSITELIB}/pydoctor/templates/common.html
+${PYSITELIB}/pydoctor/templates/diff.html
+${PYSITELIB}/pydoctor/templates/edit.html
+${PYSITELIB}/pydoctor/templates/function-child.html
+${PYSITELIB}/pydoctor/templates/index.html
+${PYSITELIB}/pydoctor/templates/nameIndex.html
+${PYSITELIB}/pydoctor/templates/problemObjects.html
+${PYSITELIB}/pydoctor/templates/pydoctor.js
+${PYSITELIB}/pydoctor/templates/sorttable.js
+${PYSITELIB}/pydoctor/templates/summary.html
+${PYSITELIB}/pydoctor/templates/summary.html.~1~
+${PYSITELIB}/pydoctor/templates/table.html
+${PYSITELIB}/pydoctor/twistedmodel.py
+${PYSITELIB}/pydoctor/twistedmodel.pyc
+${PYSITELIB}/pydoctor/twistedmodel.pyo
+${PYSITELIB}/pydoctor/zopeinterface.py
+${PYSITELIB}/pydoctor/zopeinterface.pyc
+${PYSITELIB}/pydoctor/zopeinterface.pyo
diff --git a/devel/py-doctor/distinfo b/devel/py-doctor/distinfo
new file mode 100644
index 00000000000..3529ec044e8
--- /dev/null
+++ b/devel/py-doctor/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/30 17:23:04 wiz Exp $
+
+SHA1 (pydoctor-0.4.tar.gz) = ffb26f8f470c5b4afede992fc15c89104f61b238
+RMD160 (pydoctor-0.4.tar.gz) = 6d56da643c741f143e31c6505579575b854c52ef
+Size (pydoctor-0.4.tar.gz) = 81064 bytes