From: Binghua Guan <freebendy@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-python] [PATCH] meta-python: add python-crcmod recipe
Date: Wed, 25 Jul 2018 21:29:15 +0800 [thread overview]
Message-ID: <20180725132915.2558-1-freebendy@gmail.com> (raw)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
---
meta-python/recipes-devtools/python/python-crcmod.inc | 14 ++++++++++++++
meta-python/recipes-devtools/python/python-crcmod_1.7.bb | 2 ++
meta-python/recipes-devtools/python/python3-crcmod_1.7.bb | 2 ++
3 files changed, 18 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-crcmod.inc
create mode 100644 meta-python/recipes-devtools/python/python-crcmod_1.7.bb
create mode 100644 meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
diff --git a/meta-python/recipes-devtools/python/python-crcmod.inc b/meta-python/recipes-devtools/python/python-crcmod.inc
new file mode 100644
index 000000000..85da7cb3c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-crcmod.inc
@@ -0,0 +1,14 @@
+SUMMARY = "A Python module for generating objects that compute the Cyclic Redundancy Check."
+HOMEPAGE = "https://pypi.org/project/crcmod"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a19291627cad2d1dfbfcf3c9fb85c2"
+
+SRC_URI[md5sum] = "2d5b92117d958dcead94f9e17f54cd32"
+SRC_URI[sha256sum] = "dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-unittest"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-crcmod_1.7.bb b/meta-python/recipes-devtools/python/python-crcmod_1.7.bb
new file mode 100644
index 000000000..45b9a2ce6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-crcmod_1.7.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-crcmod.inc
diff --git a/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb b/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
new file mode 100644
index 000000000..6996b13d0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-crcmod.inc
--
2.11.0
reply other threads:[~2018-07-25 13:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180725132915.2558-1-freebendy@gmail.com \
--to=freebendy@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox