1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
10 DESCRIPTION="Draws Python object reference graphs with graphviz"
11 HOMEPAGE="https://mg.pov.lt/objgraph/"
12 SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
18 RESTRICT="!test? ( test )"
20 RDEPEND="media-gfx/graphviz"
21 DEPEND="dev-python/setuptools
22 test? ( media-gfx/xdot )"
25 "${FILESDIR}/objgraph-3.4.1-tests.patch"
28 distutils_enable_tests unittest
30 python_install_all() {
31 use doc && local HTML_DOCS=( docs/* )
32 distutils-r1_python_install_all