Skip to contentSkip to conversation

Clear remaining ${PYTHON_PN} uses

PATCH In review Justin Bronder 2 participants 4 messages Apr 11, 2024 – Apr 12, 2024

lore
Share & tools
lore
#0 lore raw

cover Clear remaining ${PYTHON_PN} uses

Removing a couple of remaining ${PYTHON_PN} uses that were missed in the prior scrubs.

#1 lore raw

PATCH 1/2 python3-jsonschema-specifications: drop ${PYTHON_PN}

python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable.

---
 .../python/python3-jsonschema-specifications_2023.12.1.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb +1 -1
index eb63509fce..4ee0dd9b12 100644
@@ -11,6 +11,6 @@ inherit pypi python_hatchling
 
 PYPI_PACKAGE = "jsonschema_specifications"
 
-DEPENDS += "${PYTHON_PN}-hatch-vcs-native"
+DEPENDS += "python3-hatch-vcs-native"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.44.0
#2 lore raw

PATCH 2/2 python3-referencing: drop ${PYTHON_PN}

In reply to Justin Bronder

python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable.

---
 meta/recipes-devtools/python/python3-referencing_0.33.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-referencing_0.33.0.bb +1 -1
index 5b50932264..f675bbc67d 100644
@@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "c775fedf74bc0f9189c2a3be1c12fd03e8c23f4d371dce795df44e06c5
 
 inherit pypi python_hatchling
 
-DEPENDS += "${PYTHON_PN}-hatch-vcs-native"
+DEPENDS += "python3-hatch-vcs-native"
 
 RDEPENDS:${PN} += "python3-rpds-py"
 
Signature · 1 line
2.44.0
#3 lore raw
In reply to Justin Bronder
Quoted 3 lines · Justin Bronder

Removing a couple of remaining ${PYTHON_PN} uses that were missed in the prior scrubs.

Thank you. I thought we had already caught everything.
We really do not need to be carrying such obfuscation and abstraction anymore. Let python2 go off to pasture in quiet reverence.

Quoted 13 lines

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