mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-19 00:09:37 +03:00
dev-python/graphviz: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST graphviz-0.20.3.gh.tar.gz 190499 BLAKE2B 841362c30feb7683371e557706fdcad27c52f6279bbb252a83f61127649e81f162ea80e8b2685dbf1c4f9e6f530409f7f5363ac573edf7d9942126be8ad85842 SHA512 e920093e499a539b1c8b5b250f2feeb0829caffd7ad27ae762cb7d4f8762e20bc4c9c72ac2a8d0efbbc81a3eef3289f5f66eed6c6db45353c9d802594449f6ae
|
||||
DIST graphviz-0.21.gh.tar.gz 190888 BLAKE2B 4aa19b6e5660901346d9a46a30241c984e4ea66c1fea3884e15e872d802e565a2d63903fd08a4fb1b4c0183032ab2f5a2b82f7634bdc9369a2a00f46afe681e8 SHA512 012c80c8f70eddcd8ada5d9f047d877e9078ad338df95aa91057df545e9d0939788c82115f6b251ff197a4868c2e2543a8205e64c83c3d64f5a26e7ec55c02bd
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user