Skip to content

Commit 943f17d

Browse files
committed
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)
1 parent 17de492 commit 943f17d

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

textproc/py-sphinx/Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
22

33
PORTNAME= sphinx
4-
PORTVERSION= 4.3.1
4+
PORTVERSION= 4.5.0
55
PORTEPOCH= 1
66
CATEGORIES= textproc python
77
MASTER_SITES= CHEESESHOP
@@ -32,26 +32,31 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphin
3232
${PYTHON_PKGNAMEPREFIX}alabaster>=0.7<0.8:textproc/py-alabaster@${PY_FLAVOR} \
3333
${PYTHON_PKGNAMEPREFIX}imagesize>=0:graphics/py-imagesize@${PY_FLAVOR} \
3434
${PYTHON_PKGNAMEPREFIX}requests>=2.5.0:www/py-requests@${PY_FLAVOR} \
35-
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
3635
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
3736
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
3837
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4-cov>=0:devel/py-pytest4-cov@${PY_FLAVOR} \
3938
${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \
4039
${PYTHON_PKGNAMEPREFIX}typed-ast>=0:devel/py-typed-ast@${PY_FLAVOR} \
4140
cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
4241

43-
USES= python:3.5+ pytest:4
42+
USES= python:3.7+ pytest:4
4443
USE_PYTHON= autoplist distutils concurrent
4544

4645
NO_ARCH= yes
4746

4847
# Upstream archive contains files with UTF-8 names (#246618)
4948
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
5049

50+
.include <bsd.port.pre.mk>
51+
52+
.if ${PYTHON_REL} < 31000
53+
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
54+
.endif
55+
5156
PYTEST_BROKEN_TESTS= test_latex_images \
5257
test_ext_imgconverter \
5358
test_defaults \
5459
test_defaults_json \
5560
test_anchors_ignored
5661

57-
.include <bsd.port.mk>
62+
.include <bsd.port.post.mk>

textproc/py-sphinx/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1639451734
2-
SHA256 (python/Sphinx-4.3.1.tar.gz) = 32a5b3e9a1b176cc25ed048557d4d3d01af635e6b76c5bc7a43b0a34447fbd45
3-
SIZE (python/Sphinx-4.3.1.tar.gz) = 6655951
1+
TIMESTAMP = 1654533273
2+
SHA256 (python/Sphinx-4.5.0.tar.gz) = 7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6
3+
SIZE (python/Sphinx-4.5.0.tar.gz) = 6698212

0 commit comments

Comments
 (0)