All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew Jeffery" <andrew@aj.id.au>
To: openembedded-devel@lists.openembedded.org
Cc: raj.khem@gmail.com
Subject: [meta-python][PATCH v2 1/2] meta-python: Add hexdump package
Date: Fri, 22 Jan 2021 16:15:37 +1030	[thread overview]
Message-ID: <20210122054538.3675758-1-andrew@aj.id.au> (raw)

The hexdump package appears to be abandoned, but it's used as the
dependency of another project I'm packaging.

Change-Id: Id90d770fb48fa502f3abeb541b7febef42799b21
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-hexdump_3.3.bb             | 27 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-hexdump_3.3.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index bf46896f1c9b..41f376b39b55 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 = "\
     python3-cerberus \
     python3-cvxopt \
     python3-jsonpath-rw \
+    python3-hexdump \
 "
 
 RDEPENDS_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 000000000000..cb04e17dfdfb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-hexdump_3.3.bb
@@ -0,0 +1,27 @@
+SUMMARY = "view/edit your binary with any text editor"
+
+# The homepage listed on pypi is [1] but the repository has been removed.
+# Instead, set the homepage to pypi.
+#
+# [1] https://bitbucket.org/techtonik/hexdump/
+HOMEPAGE = "https://pypi.org/project/hexdump/"
+
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+PYPI_PACKAGE_EXT = "zip"
+
+inherit pypi distutils3
+
+SRC_URI[sha256sum] = "d781a43b0c16ace3f9366aade73e8ad3a7bd5137d58f0b45ab2d3f54876f20db"
+
+S = "${WORKDIR}"
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_cleanup_hexfile() {
+    rm ${D}${datadir}/data/hexfile.bin
+    rmdir ${D}${datadir}/data ${D}${datadir}
+}
+
+addtask cleanup_hexfile before do_package after do_install
-- 
2.27.0


             reply	other threads:[~2021-01-22  5:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  5:45 Andrew Jeffery [this message]
2021-01-22  5:45 ` [meta-python][PATCH v2 2/2] meta-python: Add jstyleson Andrew Jeffery
2021-01-22 15:04   ` [oe] " Klaus Heinrich Kiwi
2021-01-25 12:42   ` Trevor Gamblin
2021-01-22 14:58 ` [oe] [meta-python][PATCH v2 1/2] meta-python: Add hexdump package Klaus Heinrich Kiwi
2021-01-25 12:41 ` Trevor Gamblin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210122054538.3675758-1-andrew@aj.id.au \
    --to=andrew@aj.id.au \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.