diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/objgraph | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/objgraph')
| -rw-r--r-- | dev-python/objgraph/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/objgraph/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-python/objgraph/objgraph-3.6.2.ebuild | 55 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/objgraph/Manifest b/dev-python/objgraph/Manifest new file mode 100644 index 000000000000..eddec17ad646 --- /dev/null +++ b/dev-python/objgraph/Manifest @@ -0,0 +1 @@ +DIST objgraph-3.6.2.tar.gz 759524 BLAKE2B 23d1154a613ca417c332871c7905571f48aea4ef6ff24a236e58fdc76d74254490f04b7e50c1ee7fd190864448f4bb83c05127d438d2d72c4bb5c9a0dd247491 SHA512 7a1edaddb6bc7c57d77d8631019c183a198bb570725b71ddc49ee54fc1be8f54471175957899794ff2c51a57fd68ee8b856ced661f7efc1023dd7f5b0f5b714f diff --git a/dev-python/objgraph/metadata.xml b/dev-python/objgraph/metadata.xml new file mode 100644 index 000000000000..1826a49d399d --- /dev/null +++ b/dev-python/objgraph/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>heroxbd@gentoo.org</email> + <name>Benda Xu</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">mgedmin/objgraph</remote-id> + <remote-id type="pypi">objgraph</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/objgraph/objgraph-3.6.2.ebuild b/dev-python/objgraph/objgraph-3.6.2.ebuild new file mode 100644 index 000000000000..8674ef13e562 --- /dev/null +++ b/dev-python/objgraph/objgraph-3.6.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 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 +" + +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 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # TODO: figure out how to run doctests + epytest tests.py +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/* ) + distutils-r1_python_install_all +} |
