On 2016年06月28日 22:56, Tim Orling wrote:
On Tue, Jun 28, 2016 at 1:36 AM, <[email protected]> wrote:

From: Mingli Yu <[email protected]>

* Add python-pbr bb file as python-mock depends on
   python-pbr-native

Signed-off-by: Mingli Yu <[email protected]>
---
  .../recipes-devtools/python/python-pbr_1.10.0.bb   | 22
++++++++++++++++++++++
  1 file changed, 22 insertions(+)
  create mode 100644 meta-python/recipes-devtools/python/
python-pbr_1.10.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
new file mode 100644
index 0000000..4a08bde
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects
some useful and sensible default behaviors into your setuptools run"
+HOMEPAGE = "https://pypi.python.org/pypi/pbr";
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+SRCNAME = "pbr"
+
+SRC_URI = "
https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"


You don't need to do this if you inherit pypi.
Thanks! Update to inherit pypi.


+
+SRC_URI[md5sum] = "8e4968c587268f030e38329feb9c8f17"
+SRC_URI[sha256sum] =
"186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS_class-target += " \
+        python-pip \
+        "
+
+BBCLASSEXTEND = "native"
--
2.8.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to