From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1284696-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 59B801382C5
	for <garchives@archives.gentoo.org>; Sat, 22 May 2021 14:23:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A7B4CE086D;
	Sat, 22 May 2021 14:23:36 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8A51DE086D
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 May 2021 14:23:36 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 90F04340A98
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 May 2021 14:23:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B352D4A0
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 May 2021 14:23:32 +0000 (UTC)
From: "Andrey Grozin" <grozin@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, "Andrey Grozin" <grozin@gentoo.org>
Message-ID: <1621693384.8fb2c08ef3a8e87b56de1dfce435bf917e724b2d.grozin@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/, dev-python/bpython/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/bpython/bpython-0.21.ebuild dev-python/bpython/files/bpython-sphinx-4.patch
X-VCS-Directories: dev-python/bpython/ dev-python/bpython/files/
X-VCS-Committer: grozin
X-VCS-Committer-Name: Andrey Grozin
X-VCS-Revision: 8fb2c08ef3a8e87b56de1dfce435bf917e724b2d
X-VCS-Branch: master
Date: Sat, 22 May 2021 14:23:32 +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: 04498bec-aae4-4ec7-b602-0bd2055431e9
X-Archives-Hash: a20bf388fd4cc8562d416a494ba2ec52

commit:     8fb2c08ef3a8e87b56de1dfce435bf917e724b2d
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat May 22 14:23:04 2021 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat May 22 14:23:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb2c08e

dev-python/bpython: ask sphinx-4 to use the old layout

Closes: https://bugs.gentoo.org/789426
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 dev-python/bpython/bpython-0.21.ebuild          | 2 ++
 dev-python/bpython/files/bpython-sphinx-4.patch | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/dev-python/bpython/bpython-0.21.ebuild b/dev-python/bpython/bpython-0.21.ebuild
index d82bf1719c2..b89b7316740 100644
--- a/dev-python/bpython/bpython-0.21.ebuild
+++ b/dev-python/bpython/bpython-0.21.ebuild
@@ -34,5 +34,7 @@ BDEPEND="
 
 DOCS=( AUTHORS.rst CHANGELOG.rst )
 
+PATCHES=( "${FILESDIR}"/${PN}-sphinx-4.patch )
+
 distutils_enable_sphinx doc/sphinx/source --no-autodoc
 distutils_enable_tests unittest

diff --git a/dev-python/bpython/files/bpython-sphinx-4.patch b/dev-python/bpython/files/bpython-sphinx-4.patch
new file mode 100644
index 00000000000..5003de24bcf
--- /dev/null
+++ b/dev-python/bpython/files/bpython-sphinx-4.patch
@@ -0,0 +1,8 @@
+diff -U2 -r bpython-0.21.orig/doc/sphinx/source/conf.py bpython-0.21/doc/sphinx/source/conf.py
+--- bpython-0.21.orig/doc/sphinx/source/conf.py	2020-03-30 01:44:23.000000000 +0700
++++ bpython-0.21/doc/sphinx/source/conf.py	2021-05-22 21:06:51.161746459 +0700
+@@ -215,3 +215,3 @@
+ # If true, show URL addresses after external links.
+ #man_show_urls = False
+-
++man_make_section_directory = False