2023-08-16 22:26:55 +00:00
|
|
|
COMMENT = auto-generate API documentation for entire modules in Sphinx
|
|
|
|
|
2023-09-08 05:21:37 +00:00
|
|
|
MODPY_EGG_VERSION = 0.16.0
|
2023-08-16 22:26:55 +00:00
|
|
|
DISTNAME = sphinx-automodapi-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-sphinx-automodapi-${MODPY_EGG_VERSION}
|
|
|
|
|
|
|
|
CATEGORIES = textproc
|
|
|
|
|
|
|
|
# https://github.com/astropy/sphinx-automodapi
|
|
|
|
HOMEPAGE = https://sphinx-automodapi.readthedocs.io/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
|
|
MODULES = lang/python
|
|
|
|
|
|
|
|
FLAVORS = python3
|
|
|
|
FLAVOR = python3
|
|
|
|
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODPY_PYBUILD = setuptools_scm
|
|
|
|
|
|
|
|
RUN_DEPENDS += textproc/py-sphinx${MODPY_FLAVOR}
|
|
|
|
|
|
|
|
# some tests require network access (intersphinx links)
|
|
|
|
TEST_DEPENDS += math/graphviz,-main \
|
|
|
|
lang/cython${MODPY_FLAVOR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|