[meta-python,8/9] python3-pymisp: inherit poetry_core

Message ID 20220301203354.3839755-8-tim.orling@konsulko.com
State New
Headers show
Series [meta-python,1/9] python3-poetry-core: add v1.0.8 | expand

Commit Message

Tim Orling March 1, 2022, 8:33 p.m. UTC
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta-python/recipes-devtools/python/python3-pymisp_2.4.152.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.152.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.4.152.bb
index 254330bf5d..18f5f9cd90 100644
--- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.152.bb
+++ b/meta-python/recipes-devtools/python/python3-pymisp_2.4.152.bb
@@ -7,7 +7,9 @@  SRC_URI = "git://github.com/MISP/PyMISP.git;protocol=https;branch=main"
 SRCREV = "d991e53f9a9641f454e116e83d2913edf405a53f"
 S = "${WORKDIR}/git"
 
-inherit setuptools3
+inherit poetry_core
+
+PIP_INSTALL_PACKAGE = "pymisp"
 
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-dateutil \