diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-11-14 13:58:04 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-14 07:39:48 -0800 |
| commit | a78e6d21094eacf338ca8038c05fea24f19b2ddf (patch) | |
| tree | 4c62444552a8ff1b47150c8c41136ef21f8242f4 /meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb | |
| parent | 38ea8a4617ad395b2addd24bd1f6b57a8242fa0b (diff) | |
| download | meta-openembedded-a78e6d21094eacf338ca8038c05fea24f19b2ddf.tar.gz | |
python3-checksec-py, python3-pylddwrap, python3-icontract: add recipes
they were sent for meta-security long time ago in 2021:
https://lists.yoctoproject.org/g/yocto/message/54470
but never merged there, now there are lief, docopt, rich, asttokens
already in meta-python and checksec-py depends on lief version, e.g.
https://github.com/Wenzel/checksec.py/commit/976d530867756d1393189708aa98308b07b1f3b2
is needed to fixcompatibility with newer lief currently in meta-python
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb b/meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb new file mode 100644 index 0000000000..045ccb9f1e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylddwrap_1.2.2.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "Recipe to embedded the Python PiP Package pylddwrap" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/pylddwrap" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48fd6c978d39a38b3a04f45a1456d0fa" | ||
| 5 | |||
| 6 | inherit pypi setuptools3 | ||
| 7 | PYPI_PACKAGE = "pylddwrap" | ||
| 8 | SRC_URI[sha256sum] = "a70437fea7bca647c0e98161e1006ef49970267999c571b499760f1c43c6ba10" | ||
| 9 | |||
| 10 | PR = "r0" | ||
| 11 | |||
| 12 | RDEPENDS:${PN} += "python3-icontract" | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native" | ||
| 15 | |||
| 16 | do_install:append() { | ||
| 17 | # similarly to https://gitlab.com/akuster/meta-security/-/commit/0fd8e0f8cae612010bafecbff77ed9bb6f647a2d#4e154e295e639fd6c298ca644c75291eb99e0a57_0_16 | ||
| 18 | # but delete it from prefix and delete requirements.txt as well. | ||
| 19 | # ERROR: QA Issue: python3-pylddwrap: Files/directories were installed but not shipped in any package: | ||
| 20 | # /usr/README.rst | ||
| 21 | # /usr/requirements.txt | ||
| 22 | # /usr/LICENSE | ||
| 23 | # Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. | ||
| 24 | # python3-pylddwrap: 3 installed and not shipped files. [installed-vs-shipped] | ||
| 25 | rm -f ${D}${prefix}/README.rst ${D}${prefix}/requirements.txt ${D}${prefix}/LICENSE | ||
| 26 | } | ||
