summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb
new file mode 100644
index 0000000000..f4098272ec
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Draws Python object reference graphs with graphviz"
+HOMEPAGE = "https://mg.pov.lt/objgraph/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e48a556235f55ad7d4234475657f68a7"
+
+SRC_URI:append = " file://run-ptest \
+ file://0001-Make-test_at_addrs-independent-of-earlier-get_new_id.patch \
+ "
+SRC_URI[sha256sum] = "b6ef4b244217410509b257970413b01a979d54df48d2d4055b6941e8679ddbbb"
+
+inherit pypi setuptools3 ptest-python-pytest
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[ipython] = ",,,python3-graphviz"
+
+do_install_ptest:append() {
+ install -Dm 0644 ${S}/tests.py ${D}${PTEST_PATH}/tests.py
+}
+
+RDEPENDS:${PN} += "python3-core python3-io"
+RDEPENDS:${PN}-ptest += "python3-tox"