diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-31 12:03:05 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-01 13:42:34 +0000 |
| commit | c2da016918d1fda5bf63d94b59863f5013e482f9 (patch) | |
| tree | 7f1c5dd99c56a405c1ebd86f497461b5c4214752 /meta/classes-recipe/python_pyo3.bbclass | |
| parent | c690181cd112ac6eac18c358b970f0ca0c73cd5f (diff) | |
| download | poky-c2da016918d1fda5bf63d94b59863f5013e482f9.tar.gz | |
meta/meta-selftest: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in OE-Core to show this is definitely the preferred
formatting.
(From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/python_pyo3.bbclass')
| -rw-r--r-- | meta/classes-recipe/python_pyo3.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes-recipe/python_pyo3.bbclass b/meta/classes-recipe/python_pyo3.bbclass index 9a32eac6fd..7f5a00f584 100644 --- a/meta/classes-recipe/python_pyo3.bbclass +++ b/meta/classes-recipe/python_pyo3.bbclass | |||
| @@ -11,13 +11,13 @@ | |||
| 11 | 11 | ||
| 12 | inherit cargo python3-dir siteinfo | 12 | inherit cargo python3-dir siteinfo |
| 13 | 13 | ||
| 14 | export PYO3_CROSS="1" | 14 | export PYO3_CROSS = "1" |
| 15 | export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}" | 15 | export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" |
| 16 | export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}" | 16 | export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" |
| 17 | export CARGO_BUILD_TARGET="${RUST_HOST_SYS}" | 17 | export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" |
| 18 | export RUSTFLAGS | 18 | export RUSTFLAGS |
| 19 | export PYO3_PYTHON="${PYTHON}" | 19 | export PYO3_PYTHON = "${PYTHON}" |
| 20 | export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config" | 20 | export PYO3_CONFIG_FILE = "${WORKDIR}/pyo3.config" |
| 21 | 21 | ||
| 22 | python_pyo3_do_configure () { | 22 | python_pyo3_do_configure () { |
| 23 | cat > ${WORKDIR}/pyo3.config << EOF | 23 | cat > ${WORKDIR}/pyo3.config << EOF |
