commit: fd5aafc80d255fa8f3a4592d14d97b887ef5c2a4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 13:24:37 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 13:35:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5aafc8
dev-python/sphinxcontrib-plantuml: Bump to 0.26
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinxcontrib-plantuml/Manifest | 1 +
.../sphinxcontrib-plantuml-0.26.ebuild | 45 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/sphinxcontrib-plantuml/Manifest
b/dev-python/sphinxcontrib-plantuml/Manifest
index 29bdab537d85..288744257cb1 100644
--- a/dev-python/sphinxcontrib-plantuml/Manifest
+++ b/dev-python/sphinxcontrib-plantuml/Manifest
@@ -1 +1,2 @@
DIST sphinxcontrib-plantuml-0.25.gh.tar.gz 18871 BLAKE2B
563cedb9c67303b08e71019f5ca21385a7ef6fd65b07eed01710c83776742868a18aa01346c2dcb7c9121693ec15f9181c610bd39432042812c891423dd0d3f8
SHA512
1f04ccfd1f8cedea22a0bd8d445e298d461c253d75f92a757c55ae013fa5043327312021f4915a15e522a5409d92217ac76865e7a520512c190ba3e6e5642f08
+DIST sphinxcontrib-plantuml-0.26.gh.tar.gz 19112 BLAKE2B
65d4cca560cbc52271f22cfd479937b872d8bd58f72ac778aab873b5528312ccacc368328f65b29e437445080b9ca65a835019fe5cba38aac7488c5b3e03a6d9
SHA512
1ec004012d4eaeda0f0299206b6cbc1cbd246f378123d067912baf5b2f9c10ecffa4e27778d34db89dde84eff183fbeff35793420971cb94f42fa416af37786f
diff --git
a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.26.ebuild
b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.26.ebuild
new file mode 100644
index 000000000000..d4636449c967
--- /dev/null
+++ b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.26.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..12} )
+
+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
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${P#sphinxcontrib-}"
+
+BDEPEND="
+ test? (
+ app-text/texlive
+ dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
+ dev-tex/latexmk
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-latexextra
+ )
+"
+
+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
+}