So www/py-itsdangerous just uses sphinx-build to build its documentation.
It doesn't use py-sphinx as a library. This patch shifts it to use
only the python3 FLAVOR of py-sphinx.
ok?
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-itsdangerous/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 3 Jul 2020 21:13:19 -0000 1.10
+++ Makefile 18 Oct 2020 23:51:25 -0000
@@ -3,7 +3,7 @@
COMMENT = helpers to pass trusted data to untrusted environments
MODPY_EGG_VERSION = 0.24
-REVISION = 5
+REVISION = 6
DISTNAME = itsdangerous-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@@ -20,12 +20,12 @@ MODULES = lang/python
MODPY_SETUPTOOLS = Yes
-BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
+BUILD_DEPENDS = textproc/py-sphinx,python3
FLAVORS = python3
FLAVOR ?=
-MAKE_ENV += PYTHONPATH=${WRKSRC}
SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX}
+MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build-3
post-build:
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html