objgraph is a module that lets you visually explore Python object graphs.

It can draw object reference graphs with graphviz, or can make use of
xdot for interactive use.

Its origin was in a set of functions used while hunting for memory leaks
in a Python program.

Needed for devel/py-gevent tests

Proposal by sthen@, additonal work by me

OK sthen@
This commit is contained in:
kmos 2019-04-24 21:49:58 +00:00
parent c2ae19d8b7
commit e7e4b983b3
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/04/24 21:49:58 kmos Exp $
COMMENT = draw Python object reference graphs
MODPY_EGG_VERSION = 3.4.1
DISTNAME = objgraph-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://mg.pov.lt/objgraph/
# MIT
PERMIT_PACKAGE_CDROM = Yes
FLAVORS = python3
FLAVOR ?=
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = math/py-graphviz${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS} \
devel/py-mock${MODPY_FLAVOR} \
math/graphviz
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (objgraph-3.4.1.tar.gz) = vylRLX+LRXtT+gci6ln1Fqu4q8WbePl/DvgTlKDGFac=
SIZE (objgraph-3.4.1.tar.gz) = 634602

View File

@ -0,0 +1,6 @@
objgraph is a module that lets you visually explore Python object graphs.
It can draw object reference graphs with graphviz, or can make use of
xdot for interactive use.
Its origin was in a set of functions used while hunting for memory leaks
in a Python program.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/04/24 21:49:58 kmos Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}objgraph.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/objgraph-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/objgraph.py