blob: 683a75cdd667ea1edbf8287ab25ed8b8b12b5fba [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "A libudev binding"
2LICENSE = "LGPLv2.1+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
4
5SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b"
6SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b"
7
8do_configure_prepend() {
9 sed -i "/import pyudev/d" ${S}/setup.py
10 sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
11}
12
13RDEPENDS_${PN} = "\
14 ${PYTHON_PN}-ctypes \
15 ${PYTHON_PN}-misc \
16 ${PYTHON_PN}-six \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017 ${PYTHON_PN}-threading \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018 libudev \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019"