Add new recipe python-pathlib2 as it is RDEPEND of python-pytest.

Signed-off-by: Yuan Chao <yuanc.f...@cn.fujitsu.com>
---
 meta-python/recipes-devtools/python/python-pathlib2.inc  | 9 +++++++++
 .../recipes-devtools/python/python-pathlib2_2.3.4.bb     | 2 ++
 .../recipes-devtools/python/python3-pathlib2_2.3.4.bb    | 2 ++
 3 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pathlib2.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pathlib2_2.3.4.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-pathlib2_2.3.4.bb

diff --git a/meta-python/recipes-devtools/python/python-pathlib2.inc 
b/meta-python/recipes-devtools/python/python-pathlib2.inc
new file mode 100644
index 000000000..c25e5a080
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pathlib2.inc
@@ -0,0 +1,9 @@
+DESCRIPTION = "Object-oriented filesystem paths"
+HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
+
+SRC_URI[md5sum] = "96da6398b3ea944417b84ccb25b171aa"
+SRC_URI[sha256sum] = 
"446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-six"
diff --git a/meta-python/recipes-devtools/python/python-pathlib2_2.3.4.bb 
b/meta-python/recipes-devtools/python/python-pathlib2_2.3.4.bb
new file mode 100644
index 000000000..e4bf78913
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pathlib2_2.3.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pathlib2.inc
diff --git a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.4.bb 
b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.4.bb
new file mode 100644
index 000000000..66f71e57a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pathlib2.inc
-- 
2.17.1



-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to