From nobody Sat Apr 11 03:14:20 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fszKm1X2Wz6YtqF for ; Sat, 11 Apr 2026 03:14:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fszKm0lmnz3vfN for ; Sat, 11 Apr 2026 03:14:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775877260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+Ip2/hDiBIoOSOYtz8OasMawIFJYbwTJ13jOBrcn1Hw=; b=Gs4m396abcZWMLvSUIKOQsLN5MT48A/0vbkA6M06W7NDPKEfRVcjY/xvmq5eNPo2T1MBv0 wPmVVTkLRvthvf9KtERsGqe8lFFRFVvlaHE5F6Lotn0YJCFWnJYCyjhq9FdHnVyk77lWWJ Q5Ku9zzTlrX4G1oSW+53xD9/1u/nogEpDw7tRWhJ7KMJ+8Ju1VOc8eEcNiCUrqzHRu55lP FfIk+I9GkBIYk57IjUxpf5UdXj2pYepkowdxMAqFW0fn9vZdPz4ADwZpHdSdtNvyooAQyK Tf8XaRJipnBgKsNU9/RGqakvuhNal65J/HoCp3cZRcs/4YsinGCWqjaa5vOj5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775877260; a=rsa-sha256; cv=none; b=XWWOfZUe3/DHvdkl4J+HxnwpSrW/CFNAL+sJodf1mWUbu8dwdLnX7rOKqNhCTpSUtpI42B n6l/JcDXjge5h/dEV7LBrhjl72Ddpiba6/cAc9lX9H0Cr7S6H/RxsVhOIv9Q7AV4PKmxTL EQz5wfqQSLUFyoK1CePNQOUNfAY2PN2+weoZWNWALu+8SY0RkyKjbZEypITbQTJJnprt9d xfw4AKO+gN2DitP8M/cOCD+RMv4OtTHOwGZM4J5akCZTnb7U6tPUZhUlriajOEVgfsFweH xhS+bEfTf5o9SZC/GZIEYPx595PJX+85lQ8Cfc91iQJA0UwjDiBJKKc39ND8+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775877260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+Ip2/hDiBIoOSOYtz8OasMawIFJYbwTJ13jOBrcn1Hw=; b=o2+jz9O3YghfV6GuwxvXMMayDFr5kv7UJFTZTbRqVX8ogmlK5EdKifkIUJA7u2/87HWb3W x3Ooi9/DEr3CSALj4eZFPcU/v6nrZ67+wO+ZVsvB74qw/eeBCDEg9zzSog1jKYXVrgAUPw kqDqw2DgWOpEe7Ur9ae8bSWtPTfBmKS1gnMx5d8qbAdhfDT3kmNPjtq/UKITVUm/7Hk0dR bTZvuLFCwQmtS1ziJsRvaAfzHG/3OH8jNf6jyf28dvn9pHRhmA8oroixDCIcHlRCDa1Ac1 OV2F0JCv5t4Y19ckxnWrBhQcmT58JbFOSLqIbm7EEhEv33rzibMCJxIb3D2eJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fszKm0Jhfz19v6 for ; Sat, 11 Apr 2026 03:14:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 47538 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 11 Apr 2026 03:14:20 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 73f60a4ef338 - main - textproc/py-sphinx: Fix build with Python 3.13+. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73f60a4ef3384b88668b4f6f7c1bf26f55095c98 Auto-Submitted: auto-generated Date: Sat, 11 Apr 2026 03:14:20 +0000 Message-Id: <69d9bc8c.47538.19a574cd@gitrepo.freebsd.org> The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=73f60a4ef3384b88668b4f6f7c1bf26f55095c98 commit 73f60a4ef3384b88668b4f6f7c1bf26f55095c98 Author: Xin LI AuthorDate: 2026-04-11 03:13:35 +0000 Commit: Xin LI CommitDate: 2026-04-11 03:14:04 +0000 textproc/py-sphinx: Fix build with Python 3.13+. --- textproc/py-sphinx/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile index 1f915a129027..9bbecbbd65bc 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:3.10-3.12 # uses imghdr module +USES= python:3.10+ USE_PYTHON= autoplist concurrent cython_test pep517 pytest NO_ARCH= yes @@ -51,4 +51,11 @@ 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 +.include + +# imghdr was removed from the standard library in Python 3.13 +.if ${PYTHON_REL} >= 31300 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}standard-imghdr>=3.13.0:devel/py-standard-imghdr@${PY_FLAVOR} +.endif + +.include