Skip to contentSkip to conversation

python3-pybind11: Override pip install variables

PATCH In review Tom Hochstein 2 participants 2 messages Feb 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pybind11: Override pip install variables

Fix the pip install variables since the default values don't work here.

---
 meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb +3 -0
index dfacb41f1..4d94e2033 100644
@@ -19,6 +19,9 @@ EXTRA_OECMAKE =  "-DPYBIND11_TEST=OFF"
 
 inherit cmake setuptools3 python3native
 
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+PIP_INSTALL_PACKAGE = "pybind11"
+
 do_configure() {
 	cmake_do_configure
 }
Signature · 1 line
2.25.1
#1 lore raw

please resend it to oe-devel ml.

Quoted 35 lines · Tom Hochstein

Fix the pip install variables since the default values don't work here.

---
 meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb +3 -1
index dfacb41f1..4d94e2033 100644
@@ -19,6 +19,9 @@ EXTRA_OECMAKE =  "-DPYBIND11_TEST=OFF"
 
 inherit cmake setuptools3 python3native
 
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+PIP_INSTALL_PACKAGE = "pybind11"
+
 do_configure() {
        cmake_do_configure
 }
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162513): https://lists.openembedded.org/g/openembedded-core/message/162513
Mute This Topic: https://lists.openembedded.org/mt/89457175/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-