]> code.ossystems Code Review - openembedded-core.git/commitdiff
py3o: Rename to python_py3o
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 13 Mar 2022 09:11:29 +0000 (09:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2022 08:40:11 +0000 (08:40 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/python_pyo3.bbclass [moved from meta/classes/pyo3.bbclass with 96% similarity]
meta/classes/setuptools3_rust.bbclass

similarity index 96%
rename from meta/classes/pyo3.bbclass
rename to meta/classes/python_pyo3.bbclass
index 6ce21329c2efcaf011a2f1d7ca0c6cbb438b19ee..10cc3a06457bbf4c86c0c90b5ff2db0958a5f5c9 100644 (file)
@@ -13,7 +13,7 @@ export RUSTFLAGS
 export PYO3_PYTHON="${PYTHON}"
 export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config"
 
-pyo3_do_configure () {
+python_pyo3_do_configure () {
     cat > ${WORKDIR}/pyo3.config << EOF
 implementation=CPython
 version=${PYTHON_BASEVERSION}
index fb11f08f89c722c2b4c044f7809cc52fa93a3c75..fa8508fbec6018edc929e6c71cba2905a13243df 100644 (file)
@@ -1,4 +1,4 @@
-inherit pyo3 setuptools3
+inherit python_pyo3 setuptools3
 
 DEPENDS += "python3-setuptools-rust-native"