diff options
Diffstat (limited to 'meta-python')
3 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index fc6c164c3e..ca91065af0 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -43,6 +43,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 43 | python3-msgpack \ | 43 | python3-msgpack \ |
| 44 | python3-multidict \ | 44 | python3-multidict \ |
| 45 | python3-netaddr \ | 45 | python3-netaddr \ |
| 46 | python3-objgraph \ | ||
| 46 | python3-ordered-set \ | 47 | python3-ordered-set \ |
| 47 | python3-outcome \ | 48 | python3-outcome \ |
| 48 | python3-parse \ | 49 | python3-parse \ |
diff --git a/meta-python/recipes-devtools/python/python3-objgraph/run-ptest b/meta-python/recipes-devtools/python/python3-objgraph/run-ptest new file mode 100644 index 0000000000..058a9ad9ee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-objgraph/run-ptest | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | pytest --automake tests.py | ||
diff --git a/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb b/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb new file mode 100644 index 0000000000..a17b7aa5d6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "Draws Python object reference graphs with graphviz" | ||
| 2 | HOMEPAGE = "https://mg.pov.lt/objgraph/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e48a556235f55ad7d4234475657f68a7" | ||
| 5 | |||
| 6 | SRC_URI:append = " file://run-ptest" | ||
| 7 | SRC_URI[sha256sum] = "00b9f2f40f7422e3c7f45a61c4dafdaf81f03ff0649d6eaec866f01030e51ad8" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 ptest-python-pytest | ||
| 10 | |||
| 11 | PACKAGECONFIG ??= "" | ||
| 12 | PACKAGECONFIG[ipython] = ",,,python3-graphviz" | ||
| 13 | |||
| 14 | do_install_ptest:append() { | ||
| 15 | install -Dm 0644 ${S}/tests.py ${D}${PTEST_PATH}/tests.py | ||
| 16 | } | ||
| 17 | |||
| 18 | RDEPENDS:${PN} += "python3-core python3-io" | ||
| 19 | RDEPENDS:${PN}-ptest += "python3-tox" | ||
| 20 | |||
| 21 | PYPI_PACKAGE = "objgraph" | ||
