mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/sphinxcontrib-plantuml: Bump to 0.31
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
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
|
||||
DIST sphinxcontrib-plantuml-0.31.gh.tar.gz 19729 BLAKE2B ef24e807dd29a34719ef13201fc1e250351f85879c606eb3c3b850b5556be06453c9f9bba30488f4a9bb69def7e75b26ae800a9a52422aa85607ce7598700f67 SHA512 3c58a3c70fe78d8c0c8be8f3255ea534fb8fe689e3b020da8d1c96ca2b0aafb870762e7e77e405b7c82b4bcad9c6dfb828f3562de09c6a9740afef1a2cc24345
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# 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..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Sphinx extensions for PlantUML"
|
||||
HOMEPAGE="
|
||||
https://github.com/sphinx-contrib/plantuml/
|
||||
https://pypi.org/project/sphinxcontrib-plantuml/
|
||||
"
|
||||
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-}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-text/texlive
|
||||
dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# Fix for sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.applehelp
|
||||
# See https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions, thanks to mgorny.
|
||||
rm -rf sphinxcontrib || die
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user