[oe-commits] [meta-openembedded] 40/64: python-evdev: add python3 version of the recipe

git at git.openembedded.org git at git.openembedded.org
Fri Mar 2 00:22:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master
in repository meta-openembedded.

commit 19c1b40b4f63ca437aaf78fa17af6fe35372478e
Author: Maxin John <maxin.john at intel.com>
AuthorDate: Tue Feb 20 10:38:46 2018 +0200

    python-evdev: add python3 version of the recipe
    
    Signed-off-by: Maxin B. John <maxin.john at intel.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../python/{python-evdev_0.7.0.bb => python-evdev.inc}  |  2 --
 .../recipes-devtools/python/python-evdev_0.7.0.bb       | 17 +----------------
 .../recipes-devtools/python/python3-evdev_0.7.0.bb      |  2 ++
 3 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb b/meta-python/recipes-devtools/python/python-evdev.inc
similarity index 94%
copy from meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
copy to meta-python/recipes-devtools/python/python-evdev.inc
index 0875da4..ccd5077 100644
--- a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-evdev.inc
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
 SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74"
 SRC_URI[sha256sum] = "57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1"
 
-inherit pypi setuptools
-
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-ctypes \
     ${PYTHON_PN}-fcntl \
diff --git a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb b/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
index 0875da4..6354136 100644
--- a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
@@ -1,17 +1,2 @@
-SUMMARY = "Python evdev lib"
-HOMEPAGE = "https://github.com/gvalkov/python-evdev"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
-
-SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74"
-SRC_URI[sha256sum] = "57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-ctypes \
-    ${PYTHON_PN}-fcntl \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-stringold \
-    "
+require python-evdev.inc
diff --git a/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb b/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb
new file mode 100644
index 0000000..3a92b6e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-evdev.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list