mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
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@vctlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
2d78e2cfab
commit
3a13b1b4e3
10
meta-python/recipes-devtools/python/python-pyusb.inc
Normal file
10
meta-python/recipes-devtools/python/python-pyusb.inc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
inherit distutils3
|
||||
require python-pyusb.inc
|
||||
Loading…
Reference in New Issue
Block a user