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 EF884158090 for ; Sun, 22 May 2022 04:37:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D38C8E0946; Sun, 22 May 2022 04:37:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 B8828E0946 for ; Sun, 22 May 2022 04:37:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 93674341BBF for ; Sun, 22 May 2022 04:37:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE8EC3B5 for ; Sun, 22 May 2022 04:37:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1653193905.1f7ec267854aaf1873f66ef379f14c1f68afabab.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/dot2tex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tex/dot2tex/dot2tex-2.11.3.ebuild X-VCS-Directories: dev-tex/dot2tex/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1f7ec267854aaf1873f66ef379f14c1f68afabab X-VCS-Branch: master Date: Sun, 22 May 2022 04:37:05 +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: 04235642-da5a-4d0f-8c8c-9caf08a16c19 X-Archives-Hash: fe9595141c2e83d1d5771c58ad6f23a0 commit: 1f7ec267854aaf1873f66ef379f14c1f68afabab Author: Sam James gentoo org> AuthorDate: Sun May 22 04:30:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 22 04:31:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7ec267 dev-tex/dot2tex: add Python 3.10, tests Closes: https://bugs.gentoo.org/798993 Closes: https://bugs.gentoo.org/845915 Signed-off-by: Sam James gentoo.org> dev-tex/dot2tex/dot2tex-2.11.3.ebuild | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/dev-tex/dot2tex/dot2tex-2.11.3.ebuild b/dev-tex/dot2tex/dot2tex-2.11.3.ebuild index 1e00e0e22341..f35891abaa5e 100644 --- a/dev-tex/dot2tex/dot2tex-2.11.3.ebuild +++ b/dev-tex/dot2tex/dot2tex-2.11.3.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="A Graphviz to LaTeX converter" @@ -20,8 +19,23 @@ DEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" RDEPEND=" dev-python/pydot[${PYTHON_USEDEP}] media-gfx/graphviz" -DEPEND="${DEPEND} - doc? ( dev-python/sphinx )" +DEPEND="${DEPEND}" +BDEPEND="doc? ( dev-python/sphinx )" + +EPYTEST_DESELECT=( + # https://github.com/kjellmf/dot2tex/issues/94 + tests/test_dot2tex.py::MultipleStatements::test_semicolon +) + +distutils_enable_tests pytest + +python_prepare_all() { + # Syntax failures (old-style print) + # Looks fixed in master: https://github.com/kjellmf/dot2tex/commit/38aeef9615f90fe347c5c45d514eaf00b116422b + rm -r "${S}"/tests/experimental || die + + distutils-r1_python_prepare_all +} python_compile_all() { if use doc ; then