summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2021-01-22 16:15:37 +1030
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:34:06 -0800
commit1ac1e523cccb74f5f443922be0b6a7c2933f5f7e (patch)
treee4c02f078699802a153addfa93c5735bd8039e8d
parent2dfe32fd822c8d7dcec4d4046598969d51006a88 (diff)
downloadmeta-openembedded-1ac1e523cccb74f5f443922be0b6a7c2933f5f7e.tar.gz
meta-python: Add hexdump package
The hexdump package appears to be abandoned, but it's used as the dependency of another project I'm packaging. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-hexdump_3.3.bb27
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index bf46896f1c..41f376b39b 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -416,6 +416,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
416 python3-cerberus \ 416 python3-cerberus \
417 python3-cvxopt \ 417 python3-cvxopt \
418 python3-jsonpath-rw \ 418 python3-jsonpath-rw \
419 python3-hexdump \
419" 420"
420 421
421RDEPENDS_packagegroup-meta-python3-extended = "\ 422RDEPENDS_packagegroup-meta-python3-extended = "\
diff --git a/meta-python/recipes-devtools/python/python3-hexdump_3.3.bb b/meta-python/recipes-devtools/python/python3-hexdump_3.3.bb
new file mode 100644
index 0000000000..cb04e17dfd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-hexdump_3.3.bb
@@ -0,0 +1,27 @@
1SUMMARY = "view/edit your binary with any text editor"
2
3# The homepage listed on pypi is [1] but the repository has been removed.
4# Instead, set the homepage to pypi.
5#
6# [1] https://bitbucket.org/techtonik/hexdump/
7HOMEPAGE = "https://pypi.org/project/hexdump/"
8
9LICENSE = "PD"
10LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
11
12PYPI_PACKAGE_EXT = "zip"
13
14inherit pypi distutils3
15
16SRC_URI[sha256sum] = "d781a43b0c16ace3f9366aade73e8ad3a7bd5137d58f0b45ab2d3f54876f20db"
17
18S = "${WORKDIR}"
19
20BBCLASSEXTEND = "native nativesdk"
21
22do_cleanup_hexfile() {
23 rm ${D}${datadir}/data/hexfile.bin
24 rmdir ${D}${datadir}/data ${D}${datadir}
25}
26
27addtask cleanup_hexfile before do_package after do_install