[oe-commits] [meta-openembedded] 46/101: python-pyusb: make recipe available as python3 version
git at git.openembedded.org
git at git.openembedded.org
Sun Aug 13 11:20:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit 3a13b1b4e3cc0ad48fc096109029a1258982a3cf
Author: S. Lockwood-Childs <sjl at vctlabs.com>
AuthorDate: Wed Aug 2 14:51:23 2017 -0700
python-pyusb: make recipe available as python3 version
Refactored existing python-pyusb recipe so that pyusb can also be built
for python3.
Signed-off-by: S. Lockwood-Childs <sjl at vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../python/{python-pyusb_1.0.0b2.bb => python-pyusb.inc} | 4 ++--
meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb | 12 ++----------
meta-python/recipes-devtools/python/python3-pyusb_1.0.0b2.bb | 2 ++
3 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb b/meta-python/recipes-devtools/python/python-pyusb.inc
similarity index 88%
copy from meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
copy to meta-python/recipes-devtools/python/python-pyusb.inc
index d279abc..af20109 100644
--- a/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
+++ b/meta-python/recipes-devtools/python/python-pyusb.inc
@@ -2,9 +2,9 @@ SUMMARY = "PyUSB provides USB access on the Python language"
HOMEPAGE = "http://pyusb.sourceforge.net/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=50d46bda6248a0b4a46a6d59a66ee08e"
-DEPENDS = "libusb1"
+DEPENDS += "libusb1"
SRC_URI[md5sum] = "bc12e83ff3ef1045d4306d13a9955fc1"
SRC_URI[sha256sum] = "14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19"
-inherit pypi distutils
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb b/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
index d279abc..bb73d9f 100644
--- a/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
+++ b/meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
@@ -1,10 +1,2 @@
-SUMMARY = "PyUSB provides USB access on the Python language"
-HOMEPAGE = "http://pyusb.sourceforge.net/"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=50d46bda6248a0b4a46a6d59a66ee08e"
-DEPENDS = "libusb1"
-
-SRC_URI[md5sum] = "bc12e83ff3ef1045d4306d13a9955fc1"
-SRC_URI[sha256sum] = "14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19"
-
-inherit pypi distutils
+inherit distutils
+require python-pyusb.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.0.0b2.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.0.0b2.bb
new file mode 100644
index 0000000..813e6f0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyusb_1.0.0b2.bb
@@ -0,0 +1,2 @@
+inherit distutils3
+require python-pyusb.inc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list