diff mbox series

[meta-networking,03/15] ntpsec: Support Python freethreading

Message ID 20260325122046.1211090-4-zboszor@gmail.com
State Under Review
Headers show
Series Support Python freethreading | expand

Commit Message

Böszörményi Zoltán March 25, 2026, 12:19 p.m. UTC
Use PYTHON_MAINVERSION instead of PYTHON_BASEVERSION because
the former includes PYTHON_ABI. This makes the python module
to be installed into the correct location.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Khem Raj March 25, 2026, 4:35 p.m. UTC | #1
You forgot to mark this series as RFC since it is dependent upon another
patch series meant for OE-core. Please ping here once the oe-core one is
merged.

On Wed, Mar 25, 2026 at 5:21 AM Zoltán Böszörményi <zboszor@gmail.com>
wrote:

> Use PYTHON_MAINVERSION instead of PYTHON_BASEVERSION because
> the former includes PYTHON_ABI. This makes the python module
> to be installed into the correct location.
>
> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> ---
>  meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
> b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
> index 9704e2d15e..acde62a493 100644
> --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
> +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
> @@ -50,8 +50,8 @@ CC[unexport] = "1"
>  CFLAGS[unexport] = "1"
>  LDFLAGS[unexport] = "1"
>
> -export PYTHON_VERSION = "${PYTHON_BASEVERSION}"
> -export PYTAG = "cpython${@ d.getVar('PYTHON_BASEVERSION').replace('.',
> '')}"
> +export PYTHON_VERSION = "${PYTHON_MAINVERSION}"
> +export PYTAG = "cpython${@ d.getVar('PYTHON_MAINVERSION').replace('.',
> '')}"
>  export pyext_PATTERN = "%s.so"
>  export PYTHON_LDFLAGS = "-lpthread -ldl"
>
> --
> 2.53.0
>
>
Böszörményi Zoltán March 26, 2026, 4:41 a.m. UTC | #2
2026. 03. 25. 17:35 keltezéssel, Khem Raj írta:
> You forgot to mark this series as RFC since it is dependent upon another patch series 
> meant for OE-core. Please ping here once the oe-core one is merged.

The cover letter was marked as RFC.
I hand-edited every patch in this series to add the sublayer name,
since it touches 3 of them. A single --subject-prefix wouldn't do any good.
I just forgot the RFC for the patches.

> On Wed, Mar 25, 2026 at 5:21 AM Zoltán Böszörményi <zboszor@gmail.com> wrote:
>
>     Use PYTHON_MAINVERSION instead of PYTHON_BASEVERSION because
>     the former includes PYTHON_ABI. This makes the python module
>     to be installed into the correct location.
>
>     Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>     ---
>      meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb <http://ntpsec_1.2.4.bb> | 4
>     ++--
>      1 file changed, 2 insertions(+), 2 deletions(-)
>
>     diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
>     <http://ntpsec_1.2.4.bb> b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
>     <http://ntpsec_1.2.4.bb>
>     index 9704e2d15e..acde62a493 100644
>     --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb <http://ntpsec_1.2.4.bb>
>     +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb <http://ntpsec_1.2.4.bb>
>     @@ -50,8 +50,8 @@ CC[unexport] = "1"
>      CFLAGS[unexport] = "1"
>      LDFLAGS[unexport] = "1"
>
>     -export PYTHON_VERSION = "${PYTHON_BASEVERSION}"
>     -export PYTAG = "cpython${@ d.getVar('PYTHON_BASEVERSION').replace('.', '')}"
>     +export PYTHON_VERSION = "${PYTHON_MAINVERSION}"
>     +export PYTAG = "cpython${@ d.getVar('PYTHON_MAINVERSION').replace('.', '')}"
>      export pyext_PATTERN = "%s.so"
>      export PYTHON_LDFLAGS = "-lpthread -ldl"
>
>     -- 
>     2.53.0
>
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
index 9704e2d15e..acde62a493 100644
--- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
+++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb
@@ -50,8 +50,8 @@  CC[unexport] = "1"
 CFLAGS[unexport] = "1"
 LDFLAGS[unexport] = "1"
 
-export PYTHON_VERSION = "${PYTHON_BASEVERSION}"
-export PYTAG = "cpython${@ d.getVar('PYTHON_BASEVERSION').replace('.', '')}"
+export PYTHON_VERSION = "${PYTHON_MAINVERSION}"
+export PYTAG = "cpython${@ d.getVar('PYTHON_MAINVERSION').replace('.', '')}"
 export pyext_PATTERN = "%s.so"
 export PYTHON_LDFLAGS = "-lpthread -ldl"