commit:     3040ea9707fbe98d50c91477aba9abfb230dd456
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  2 07:03:06 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 07:05:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3040ea97

dev-python/sphinxcontrib-plantuml: enable python3.13

Apply upstream patch to fix tests on Python 3.13.

Closes: https://bugs.gentoo.org/952406
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-python/sphinxcontrib-plantuml/Manifest                     |  1 +
 .../sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild  | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/sphinxcontrib-plantuml/Manifest 
b/dev-python/sphinxcontrib-plantuml/Manifest
index cde7c7124279..513b43ec0e5b 100644
--- a/dev-python/sphinxcontrib-plantuml/Manifest
+++ b/dev-python/sphinxcontrib-plantuml/Manifest
@@ -1 +1,2 @@
+DIST sphinxcontrib-plantuml-0.30-fix-tests-python-3.13.patch 1033 BLAKE2B 
d1dc69918c4b0171d060e43863993fc23dea995f102fdd889b0face66587558b4fa4a02662026d8ce166be0f92cc63b8419ae0bb2d5586b98d840fe3fe2776cf
 SHA512 
ca134e5d2e73b28e3f6e77ac46b12d869312601af4ef7e0f9e0ada30c9d26fa1e976693f286bd3613c8b07fee152abccf889066139c35df25892addf8bc3b759
 DIST sphinxcontrib-plantuml-0.30.gh.tar.gz 19378 BLAKE2B 
1f146b59184acec99ff4320199943b2193c3e4c5f5d1f62c6741fb9bbd9802d7c3955bfad786bf7dd4b937b99b974f94d753212c95e7940ab066a9d6ee02af9a
 SHA512 
e85c6332d26d09531c961f8026c72cd82ff4a31700a38cb8285f24d942340700012c08cc1f87a86389b71bfc5d32164586407b5c6777cc94d4d0022c9872ee3a

diff --git 
a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild 
b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild
index 9e5036baf13e..56cc4ddccf0d 100644
--- a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild
+++ b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit distutils-r1
 
@@ -16,6 +16,8 @@ HOMEPAGE="
 SRC_URI="
        
https://github.com/sphinx-contrib/plantuml/archive/refs/tags/${PV}.tar.gz
                -> ${P}.gh.tar.gz
+       
https://github.com/sphinx-contrib/plantuml/commit/27ece3637c0ec5fa91cacf511349e290a1440ba9.patch
+               -> ${PN}-0.30-fix-tests-python-3.13.patch
 "
 S="${WORKDIR}/${P#sphinxcontrib-}"
 
@@ -33,6 +35,10 @@ BDEPEND="
        )
 "
 
+PATCHES=(
+       "${DISTDIR}"/${PN}-0.30-fix-tests-python-3.13.patch
+)
+
 distutils_enable_tests pytest
 
 python_test() {

Reply via email to