commit: 74bab68894096a85888107f84b19d43ca55163a0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Apr 6 12:38:36 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Apr 6 12:38:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bab688
dev-python/graphviz: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/graphviz/Manifest | 2 - ...0.1_fix_python3_12_test_deprecated_escape.patch | 30 ------------ dev-python/graphviz/graphviz-0.20.1-r1.ebuild | 53 --------------------- dev-python/graphviz/graphviz-0.20.1.ebuild | 48 ------------------- dev-python/graphviz/graphviz-0.20.2.ebuild | 54 ---------------------- 5 files changed, 187 deletions(-) diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index 7f3ab34cb3f2..d81cb9cd0b07 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1,3 +1 @@ -DIST graphviz-0.20.1.gh.tar.gz 188952 BLAKE2B 65d0b993e01492894b6d245c0869412b4956e5d55f9d8d490505c8f3477dc5ab98739cf0bf1aa1a15c4bacb2db4c2807659ce410ca65503c5876ffdc278e959f SHA512 34d340469856777f03b9c9e6d28f232908797bc1456a5b50104dd2f7dc8b7488afc7b29a564d57707ae96f3291f5ae90b8140ab64e378b82f271b5521763fb55 -DIST graphviz-0.20.2.gh.tar.gz 190548 BLAKE2B 786f43fa29e6a09c837c9d13f1a41ca385e4993c52dd1467964c1c8506175e9f1bae864a7ca2ad301d1cbdb1d639a1314f2a2af30e01c4a6ecd17f93b1416871 SHA512 bd07c0ed46f380df2ace4d8396f1406455ff1b117fdb431337ebcf54a112b1894275e2d3e84c9711a25118c880f64dcb82c952aa1d8b704c1cd4c6215e651a1a DIST graphviz-0.20.3.gh.tar.gz 190499 BLAKE2B 841362c30feb7683371e557706fdcad27c52f6279bbb252a83f61127649e81f162ea80e8b2685dbf1c4f9e6f530409f7f5363ac573edf7d9942126be8ad85842 SHA512 e920093e499a539b1c8b5b250f2feeb0829caffd7ad27ae762cb7d4f8762e20bc4c9c72ac2a8d0efbbc81a3eef3289f5f66eed6c6db45353c9d802594449f6ae diff --git a/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch b/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch deleted file mode 100644 index 0193ef928775..000000000000 --- a/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5ce9fc5de4f2284baa27d7a8d68ab0885d032868 Mon Sep 17 00:00:00 2001 -From: Sebastian Bank <sebastian.b...@uni-leipzig.de> -Date: Tue, 24 Oct 2023 20:39:52 +0200 -Subject: [PATCH] expect SyntaxWarning in test_deprecated_escape() under Python - 3.12 - -https://docs.python.org/3.12/whatsnew/3.12.html#other-language-changes ---- - tests/test_quoting.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/tests/test_quoting.py b/tests/test_quoting.py -index e4ece573bd..3692d38a12 100644 ---- a/tests/test_quoting.py -+++ b/tests/test_quoting.py -@@ -1,3 +1,4 @@ -+import sys - import warnings - - import pytest -@@ -14,7 +15,8 @@ def test_deprecated_escape(recwarn, char): - escape = eval(rf'"\{char}"') - - assert len(recwarn) == 1 -- w = recwarn.pop(DeprecationWarning) -+ w = recwarn.pop(DeprecationWarning if sys.version_info < (3, 12) -+ else SyntaxWarning) - assert str(w.message).startswith('invalid escape sequence') - - assert escape == f'\\{char}' diff --git a/dev-python/graphviz/graphviz-0.20.1-r1.ebuild b/dev-python/graphviz/graphviz-0.20.1-r1.ebuild deleted file mode 100644 index 36b673c27ae2..000000000000 --- a/dev-python/graphviz/graphviz-0.20.1-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Simple Python interface for Graphviz" -HOMEPAGE=" - https://graphviz.readthedocs.io/ - https://github.com/xflr6/graphviz/ - https://pypi.org/project/graphviz/ -" -SRC_URI=" - https://github.com/xflr6/graphviz/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -KEYWORDS="amd64 ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" -SLOT="0" - -RDEPEND=" - media-gfx/graphviz -" -BDEPEND=" - test? ( - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] - media-gfx/graphviz[gts,pdf] - ) -" - -PATCHES=" - ${FILESDIR}/${P}_fix_python3_12_test_deprecated_escape.patch -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:license_file:license_files:' \ - -e 's:--cov --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/graphviz/graphviz-0.20.1.ebuild b/dev-python/graphviz/graphviz-0.20.1.ebuild deleted file mode 100644 index 7c5bdbfc0e27..000000000000 --- a/dev-python/graphviz/graphviz-0.20.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# 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_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Simple Python interface for Graphviz" -HOMEPAGE=" - https://graphviz.readthedocs.io/ - https://github.com/xflr6/graphviz/ - https://pypi.org/project/graphviz/ -" -SRC_URI=" - https://github.com/xflr6/graphviz/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" -SLOT="0" - -RDEPEND=" - media-gfx/graphviz -" -BDEPEND=" - test? ( - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] - media-gfx/graphviz[gts,pdf] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--cov --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/graphviz/graphviz-0.20.2.ebuild b/dev-python/graphviz/graphviz-0.20.2.ebuild deleted file mode 100644 index 920ddb5ef469..000000000000 --- a/dev-python/graphviz/graphviz-0.20.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Simple Python interface for Graphviz" -HOMEPAGE=" - https://graphviz.readthedocs.io/ - https://github.com/xflr6/graphviz/ - https://pypi.org/project/graphviz/ -" -SRC_URI=" - https://github.com/xflr6/graphviz/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - media-gfx/graphviz -" -BDEPEND=" - test? ( - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] - media-gfx/graphviz[gts,pdf] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:license_file:license_files:' \ - -e 's:--cov --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # workaround https://github.com/pytest-dev/pytest/issues/12123 - tests/backend/conftest.py - tests/conftest.py - ) - epytest -p pytest_mock -}