From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1623384-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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 54F7A1581E7
	for <garchives@archives.gentoo.org>; Sun, 21 Apr 2024 15:46:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8502CE29BA;
	Sun, 21 Apr 2024 15:46:31 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 6E840E29BA
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:31 +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 7D8C034346B
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D29D51741
	for <gentoo-commits@lists.gentoo.org>; Sun, 21 Apr 2024 15:46:28 +0000 (UTC)
From: "Michał Górny" <mgorny@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, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1713714384.6f7bdf4004bcd5135ec34cc0c0e67bb86694de74.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/myst-parser/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/myst-parser/Manifest dev-python/myst-parser/myst-parser-2.0.0.ebuild
X-VCS-Directories: dev-python/myst-parser/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 6f7bdf4004bcd5135ec34cc0c0e67bb86694de74
X-VCS-Branch: master
Date: Sun, 21 Apr 2024 15:46:28 +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: 201d60ba-6ac0-4569-bcbf-a652f0b6bd2c
X-Archives-Hash: ec8870905cf08012cc9d74adbff490f4

commit:     6f7bdf4004bcd5135ec34cc0c0e67bb86694de74
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 15:30:30 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 15:46:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7bdf40

dev-python/myst-parser: Backport test fixes for Sphinx 7.2.6

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/myst-parser/Manifest                 |  1 +
 dev-python/myst-parser/myst-parser-2.0.0.ebuild | 19 ++++++++-----------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/dev-python/myst-parser/Manifest b/dev-python/myst-parser/Manifest
index f62ab3c5d2ac..850540c12b8c 100644
--- a/dev-python/myst-parser/Manifest
+++ b/dev-python/myst-parser/Manifest
@@ -1 +1,2 @@
 DIST MyST-Parser-2.0.0.gh.tar.gz 815453 BLAKE2B 8f5dd823c3c79d843b45a7a4819d5677b51a12f78db2c1ce9700eb6faa8c4f0bc167fb1d8cd947e89ffab85aec947ab527b67dc73ef4db97a393f700a4331738 SHA512 c47bdd773565e93c4714d318a70f9a8adab1be6e2a63c23175667fc4afb5da4d66b84e11176782c8202e9fd68883e74d444911ddfb0b91356c2ba07fa65f7ea4
+DIST myst-parser-2.0.0-sphinx-7.2.patch 22443 BLAKE2B 994f0b2c419832e61cb006b1b45c01274970900bdcfcef3422d5331e88962a46884afbf5b27b5cb98ed349a426444ca4ff21810526cc34eae4cf074102f7b3de SHA512 707b2a69c81352d2900c91088ca137f6455e0006b0e7c798b6f03b9f0cac85489c27db662f5e6ab6e2cd52e10f1594aa54d5c6821c07c110ad138d0cf129ac65

diff --git a/dev-python/myst-parser/myst-parser-2.0.0.ebuild b/dev-python/myst-parser/myst-parser-2.0.0.ebuild
index ce6cf989a97c..215f63999fe7 100644
--- a/dev-python/myst-parser/myst-parser-2.0.0.ebuild
+++ b/dev-python/myst-parser/myst-parser-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,6 +17,8 @@ HOMEPAGE="
 SRC_URI="
 	https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz
 		-> ${MY_P}.gh.tar.gz
+	https://github.com/executablebooks/MyST-Parser/pull/811.patch
+		-> ${P}-sphinx-7.2.patch
 "
 S=${WORKDIR}/${MY_P}
 
@@ -42,19 +44,14 @@ BDEPEND="
 		>=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}]
 		dev-python/pytest-regressions[${PYTHON_USEDEP}]
 		dev-python/pytest-param-files[${PYTHON_USEDEP}]
+		>=dev-python/sphinx-7.2.6[${PYTHON_USEDEP}]
 		dev-python/sphinx-pytest[${PYTHON_USEDEP}]
 	)
 "
 
 distutils_enable_tests pytest
 
-python_test() {
-	local EPYTEST_DESELECT=()
-
-	false && [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
-		# bad test relying on exact exception messages
-		"tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]"
-	)
-
-	epytest
-}
+PATCHES=(
+	# https://github.com/executablebooks/MyST-Parser/pull/811
+	"${DISTDIR}/${P}-sphinx-7.2.patch"
+)