python3-pyudev: add a python3 recipe

- Split to a common python-pyudev.inc for python2 and python3

- The contextlib module is moved to python3-lang.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Hongxu Jia
2017-05-26 03:37:31 -04:00
committed by Martin Jansa
parent abc5a71c4d
commit ab2ca92e83
3 changed files with 31 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
require python-pyudev.inc
RDEPENDS_${PN} = "\
${PYTHON_PN}-lang \
"
inherit pypi setuptools3