Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 10:45:56 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8be567026f3f - main - textproc/py-sphinx: Convert to USE_PYTHON=cython_test
Message-ID:  <202307091045.369AjuEZ084453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8be567026f3fd15bdc6e4bb7e585d12ed8619356

commit 8be567026f3fd15bdc6e4bb7e585d12ed8619356
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:28:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:28:27 +0000

    textproc/py-sphinx: Convert to USE_PYTHON=cython_test
    
    - Add comment for UTF-8 filename
---
 textproc/py-sphinx/Makefile | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index ddef3226fb00..aa4fe1ed86df 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -35,15 +35,20 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphin
 		${PYTHON_PKGNAMEPREFIX}requests>=2.5.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \
-		cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent pep517 pytest
+USE_PYTHON=	autoplist concurrent cython_test pep517 pytest
 
 NO_ARCH=	yes
+PYTEST_BROKEN_TESTS=	test_anchors_ignored \
+			test_defaults \
+			test_defaults_json \
+			test_ext_imgconverter \
+			test_latex_images
 
 # Upstream archive contains files with UTF-8 names (#246618)
+# 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>
@@ -52,10 +57,4 @@ EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8: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.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307091045.369AjuEZ084453>