summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-sphinx/Makefile')
-rw-r--r--textproc/py-sphinx/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index f1530738a7a8..1f915a129027 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -37,7 +37,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphin
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
-USES= python
+USES= python:3.10-3.12 # uses imghdr module
USE_PYTHON= autoplist concurrent cython_test pep517 pytest
NO_ARCH= yes
@@ -51,10 +51,4 @@ PYTEST_BROKEN_TESTS= test_anchors_ignored \
# https://github.com/sphinx-doc/sphinx/issues/2395
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>