openbsd-ports/textproc/py-sphinx/Makefile

48 lines
1.3 KiB
Makefile

COMMENT = Python documentation generator
MODPY_EGG_VERSION = 5.3.0
DISTNAME = Sphinx-${MODPY_EGG_VERSION}
PKGNAME = py-sphinx-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = textproc
HOMEPAGE = https://www.sphinx-doc.org/
# BSD
PERMIT_PACKAGE = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_PYBUILD = flit_core
RUN_DEPENDS += textproc/py-sphinxcontrib/applehelp${MODPY_FLAVOR} \
textproc/py-sphinxcontrib/devhelp${MODPY_FLAVOR} \
textproc/py-sphinxcontrib/jsmath${MODPY_FLAVOR} \
textproc/py-sphinxcontrib/htmlhelp${MODPY_FLAVOR}>=2.0.0 \
textproc/py-sphinxcontrib/serializinghtml${MODPY_FLAVOR}>=1.1.5 \
textproc/py-sphinxcontrib/qthelp${MODPY_FLAVOR} \
textproc/py-sphinxcontrib/websupport${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR} \
textproc/py-pygments${MODPY_FLAVOR} \
textproc/py-docutils${MODPY_FLAVOR}<0.20 \
textproc/py-snowballstemmer${MODPY_FLAVOR} \
devel/py-babel${MODPY_FLAVOR} \
textproc/py-alabaster${MODPY_FLAVOR}<0.8 \
graphics/py-imagesize${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR} \
sysutils/py-packaging${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/gettext,-tools
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
devel/py-html5lib${MODPY_FLAVOR} \
print/texlive/texmf,-full
PORTHOME = ${WRKDIR}
.include <bsd.port.mk>