dev-python/sphinxcontrib-plantuml: new package, add 0.25

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2023-08-15 17:26:03 +02:00
parent 1bf27838bc
commit d79852a2ba
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST sphinxcontrib-plantuml-0.25.gh.tar.gz 18871 BLAKE2B 563cedb9c67303b08e71019f5ca21385a7ef6fd65b07eed01710c83776742868a18aa01346c2dcb7c9121693ec15f9181c610bd39432042812c891423dd0d3f8 SHA512 1f04ccfd1f8cedea22a0bd8d445e298d461c253d75f92a757c55ae013fa5043327312021f4915a15e522a5409d92217ac76865e7a520512c190ba3e6e5642f08

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Florian Schmaus</name>
<email>flow@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="pypi">sphinxcontrib-plantuml</remote-id>
<remote-id type="github">sphinx-contrib/plantuml</remote-id>
</upstream>
<stabilize-allarches/>
</pkgmetadata>

View File

@@ -0,0 +1,42 @@
# 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 )
inherit distutils-r1
DESCRIPTION="Sphinx extensions for PlantUML"
HOMEPAGE="https://github.com/sphinx-contrib/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
}