From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1629117-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5DD8F158064
	for <garchives@archives.gentoo.org>; Wed,  8 May 2024 21:18:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 861D5E2D17;
	Wed,  8 May 2024 21:18:53 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 606FFE2D17
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 21:18:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 451183430B0
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 21:18:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A036E1355
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 21:18:50 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1715203040.501f9e0004f152093fbb4fa19f3abcb3bfc4aa00.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/afew/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-filter/afew/afew-3.0.1.ebuild
X-VCS-Directories: mail-filter/afew/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 501f9e0004f152093fbb4fa19f3abcb3bfc4aa00
X-VCS-Branch: master
Date: Wed,  8 May 2024 21:18:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 45b3e96c-5904-41e2-9518-2186d0e8cfc5
X-Archives-Hash: d36dff7818e40a601e4232fdceb95ccb

commit:     501f9e0004f152093fbb4fa19f3abcb3bfc4aa00
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 21:17:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  8 21:17:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501f9e00

mail-filter/afew: fix build w/ >=sphinx-7

Closes: https://bugs.gentoo.org/906704
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/afew/afew-3.0.1.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/mail-filter/afew/afew-3.0.1.ebuild b/mail-filter/afew/afew-3.0.1.ebuild
index a0e78506c838..7113ba509d4a 100644
--- a/mail-filter/afew/afew-3.0.1.ebuild
+++ b/mail-filter/afew/afew-3.0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 pypi
 
@@ -46,8 +46,11 @@ python_prepare_all() {
 }
 
 python_compile_all() {
-	esetup.py build_sphinx -b man --build-dir=docs/build
-	use doc && esetup.py build_sphinx -b html --build-dir=docs/build
+	sphinx-build -b man docs docs/build/man || die
+
+	if use doc ; then
+		sphinx-build -b html docs docs/build/html || die
+	fi
 }
 
 python_install_all() {