diff options
Diffstat (limited to 'dev-python/objgraph')
| -rw-r--r-- | dev-python/objgraph/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/objgraph/objgraph-3.7.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/objgraph/Manifest b/dev-python/objgraph/Manifest index eddec17ad646..53eba05a2d82 100644 --- a/dev-python/objgraph/Manifest +++ b/dev-python/objgraph/Manifest @@ -1 +1,2 @@ DIST objgraph-3.6.2.tar.gz 759524 BLAKE2B 23d1154a613ca417c332871c7905571f48aea4ef6ff24a236e58fdc76d74254490f04b7e50c1ee7fd190864448f4bb83c05127d438d2d72c4bb5c9a0dd247491 SHA512 7a1edaddb6bc7c57d77d8631019c183a198bb570725b71ddc49ee54fc1be8f54471175957899794ff2c51a57fd68ee8b856ced661f7efc1023dd7f5b0f5b714f +DIST objgraph-3.7.0.tar.gz 759826 BLAKE2B ba3c57cb3064f53085f220f9a859a3afb22737a33ac14584892534d428cfb901e9892a9b3f7206d672d12d650aa02f17aa1a316d226cda77a811e95c6285ff70 SHA512 f765b9752d5d921da818aff375717dc627e546e2c8743dda9076aa23a13f942fb5a9cb8b638db5306dea1aa6c021b789754accfb5ef6fec573a85520ee03f5bd diff --git a/dev-python/objgraph/objgraph-3.7.0.ebuild b/dev-python/objgraph/objgraph-3.7.0.ebuild new file mode 100644 index 000000000000..6a9d1905c16c --- /dev/null +++ b/dev-python/objgraph/objgraph-3.7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Draws Python object reference graphs with graphviz" +HOMEPAGE=" + https://github.com/mgedmin/objgraph/ + https://pypi.org/project/objgraph/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc" + +RDEPEND=" + media-gfx/graphviz +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # unhappy about pytest + tests.py::AtAddrsTest::test_at_addrs + ) + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # CPython GC + tests.py::ByTypeTest::test_new_garbage + + # repr() mismatch + tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound + tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound_with_mocked_name + ) + ;; + esac + + # TODO: figure out how to run doctests + epytest tests.py +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/* ) + distutils-r1_python_install_all +} |
