diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb new file mode 100644 index 0000000000..559b828fcb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "A libudev binding" | ||
| 2 | |||
| 3 | LICENSE = "LGPL-2.1-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "e788bb983700b1a84efc2e88862b0a51af2a995d5b86bc9997546505cf7b36bc" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | do_configure:prepend() { | ||
| 11 | sed -i "/import pyudev/d" ${S}/setup.py | ||
| 12 | sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py | ||
| 13 | } | ||
| 14 | |||
| 15 | RDEPENDS:${PN} = "\ | ||
| 16 | python3-ctypes \ | ||
| 17 | python3-misc \ | ||
| 18 | python3-six \ | ||
| 19 | python3-threading \ | ||
| 20 | python3-fcntl \ | ||
| 21 | libudev \ | ||
| 22 | " | ||
