aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-06-27 16:04:15 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-06-27 16:04:15 +0000
commit943f17d9715038b88ac310a2760d028629aa1914 (patch)
tree51d9252f1ab58ca02cbe3f5dce5c1964ccc43f72
parent17de492f1fdb7b77f0f0db2e9f3650e304e1f512 (diff)
downloadports-943f17d9715038b88ac310a2760d028629aa1914.tar.gz
ports-943f17d9715038b88ac310a2760d028629aa1914.zip
textproc/py-sphinx: update to 4.5.0 release (+)
While sphinx project provided 5.x branch, update our tree with 4.5.0 release. It will satisfy requirements for consumers (e.g, Django40 require sphinx>=4.5.0 for offline HTML docs) Exp-run was fine for 4.4.0, 4.5.0 is a bugfix, so no additional tests assumed. PR: 261505 Exp-run by: antoine Approved by: python (lwhsu)
-rw-r--r--textproc/py-sphinx/Makefile13
-rw-r--r--textproc/py-sphinx/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 5c2c420a0a58..91c1a93ba14b 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -1,7 +1,7 @@
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
PORTNAME= sphinx
-PORTVERSION= 4.3.1
+PORTVERSION= 4.5.0
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
@@ -32,7 +32,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphin
${PYTHON_PKGNAMEPREFIX}alabaster>=0.7<0.8:textproc/py-alabaster@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}imagesize>=0:graphics/py-imagesize@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.5.0:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4-cov>=0:devel/py-pytest4-cov@${PY_FLAVOR} \
@@ -40,7 +39,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4-cov>=0:devel/py-pytest4-cov@${PY_FL
${PYTHON_PKGNAMEPREFIX}typed-ast>=0:devel/py-typed-ast@${PY_FLAVOR} \
cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
-USES= python:3.5+ pytest:4
+USES= python:3.7+ pytest:4
USE_PYTHON= autoplist distutils concurrent
NO_ARCH= yes
@@ -48,10 +47,16 @@ NO_ARCH= yes
# Upstream archive contains files with UTF-8 names (#246618)
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>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
PYTEST_BROKEN_TESTS= test_latex_images \
test_ext_imgconverter \
test_defaults \
test_defaults_json \
test_anchors_ignored
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/py-sphinx/distinfo b/textproc/py-sphinx/distinfo
index b83554361786..2e9e4229f431 100644
--- a/textproc/py-sphinx/distinfo
+++ b/textproc/py-sphinx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639451734
-SHA256 (python/Sphinx-4.3.1.tar.gz) = 32a5b3e9a1b176cc25ed048557d4d3d01af635e6b76c5bc7a43b0a34447fbd45
-SIZE (python/Sphinx-4.3.1.tar.gz) = 6655951
+TIMESTAMP = 1654533273
+SHA256 (python/Sphinx-4.5.0.tar.gz) = 7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6
+SIZE (python/Sphinx-4.5.0.tar.gz) = 6698212