From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 C08E815800A for ; Tue, 15 Aug 2023 15:53:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 942682BC038; Tue, 15 Aug 2023 15:53:45 +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 6ECFA2BC02A for ; Tue, 15 Aug 2023 15:53:45 +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 54CEE340E25 for ; Tue, 15 Aug 2023 15:53:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C155FAC for ; Tue, 15 Aug 2023 15:53:42 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1692114792.d79852a2ba878d0391f1e5e83c967cf9ad4dc02e.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-plantuml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinxcontrib-plantuml/Manifest dev-python/sphinxcontrib-plantuml/metadata.xml dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.25.ebuild X-VCS-Directories: dev-python/sphinxcontrib-plantuml/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: d79852a2ba878d0391f1e5e83c967cf9ad4dc02e X-VCS-Branch: master Date: Tue, 15 Aug 2023 15:53:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d367ff8-d341-4782-90b1-d7af5e9b388a X-Archives-Hash: 1142f52601ccae31d114a0f4f473c1fe commit: d79852a2ba878d0391f1e5e83c967cf9ad4dc02e Author: Florian Schmaus gentoo org> AuthorDate: Tue Aug 15 15:26:03 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Aug 15 15:53:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79852a2 dev-python/sphinxcontrib-plantuml: new package, add 0.25 Signed-off-by: Florian Schmaus gentoo.org> dev-python/sphinxcontrib-plantuml/Manifest | 1 + dev-python/sphinxcontrib-plantuml/metadata.xml | 13 +++++++ .../sphinxcontrib-plantuml-0.25.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/dev-python/sphinxcontrib-plantuml/Manifest b/dev-python/sphinxcontrib-plantuml/Manifest new file mode 100644 index 000000000000..29bdab537d85 --- /dev/null +++ b/dev-python/sphinxcontrib-plantuml/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-plantuml-0.25.gh.tar.gz 18871 BLAKE2B 563cedb9c67303b08e71019f5ca21385a7ef6fd65b07eed01710c83776742868a18aa01346c2dcb7c9121693ec15f9181c610bd39432042812c891423dd0d3f8 SHA512 1f04ccfd1f8cedea22a0bd8d445e298d461c253d75f92a757c55ae013fa5043327312021f4915a15e522a5409d92217ac76865e7a520512c190ba3e6e5642f08 diff --git a/dev-python/sphinxcontrib-plantuml/metadata.xml b/dev-python/sphinxcontrib-plantuml/metadata.xml new file mode 100644 index 000000000000..1aafd82825c1 --- /dev/null +++ b/dev-python/sphinxcontrib-plantuml/metadata.xml @@ -0,0 +1,13 @@ + + + + + Florian Schmaus + flow@gentoo.org + + + sphinxcontrib-plantuml + sphinx-contrib/plantuml + + + diff --git a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.25.ebuild b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.25.ebuild new file mode 100644 index 000000000000..64208ead486a --- /dev/null +++ b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.25.ebuild @@ -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 +}