diff mbox series

recipes: remove redundant PYPI_PACKAGE assignments

Message ID 20260907124701.3107864-1-ross.burton@arm.com
State Under Review
Headers show
Series recipes: remove redundant PYPI_PACKAGE assignments | expand

Commit Message

Ross Burton Sept. 7, 2026, 12:47 p.m. UTC
Recipes don't need to set PYPI_PACKAGE if the default value (the recipe
name with python3- stripped) is correct.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb        | 2 --
 meta/recipes-devtools/python/python3-dtschema_2026.6.bb         | 2 --
 meta/recipes-devtools/python/python3-gitdb_4.0.12.bb            | 2 --
 meta/recipes-devtools/python/python3-hypothesis_6.167.0.bb      | 1 -
 meta/recipes-devtools/python/python3-jinja2_3.1.6.bb            | 2 --
 meta/recipes-devtools/python/python3-libarchive-c_5.1.bb        | 2 --
 meta/recipes-devtools/python/python3-mako_1.4.1.bb              | 2 --
 meta/recipes-devtools/python/python3-markupsafe_3.0.3.bb        | 1 -
 meta/recipes-devtools/python/python3-pyelftools_0.33.bb         | 2 --
 meta/recipes-devtools/python/python3-shacl2code_1.1.0.bb        | 1 -
 meta/recipes-devtools/python/python3-smartypants_2.0.2.bb       | 1 -
 meta/recipes-devtools/python/python3-smmap_6.0.0.bb             | 2 --
 meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb   | 2 --
 .../recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb | 2 --
 .../python/python3-sphinxcontrib-jsmath_1.0.1.bb                | 2 --
 meta/recipes-devtools/python/python3-typogrify_2.1.0.bb         | 1 -
 meta/recipes-devtools/python/python3-xmltodict_1.0.4.bb         | 2 --
 meta/recipes-devtools/python/python3-yamllint_1.38.0.bb         | 2 --
 meta/recipes-extended/python3-kirk/python3-kirk_4.1.0.bb        | 2 --
 19 files changed, 33 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb b/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb
index 322497b09bb..2acf6c16b51 100644
--- a/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb
@@ -4,8 +4,6 @@  SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b5cda97fbd7959ad47a952651a87051a"
 
-PYPI_PACKAGE = "asn1crypto"
-
 SRC_URI[sha256sum] = "13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c"
 
 inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-dtschema_2026.6.bb b/meta/recipes-devtools/python/python3-dtschema_2026.6.bb
index 7e463ed1ad1..bb9ced182c1 100644
--- a/meta/recipes-devtools/python/python3-dtschema_2026.6.bb
+++ b/meta/recipes-devtools/python/python3-dtschema_2026.6.bb
@@ -5,8 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
 
 inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE = "dtschema"
-
 SRC_URI[sha256sum] = "05188e3727393334b99abb74ae220ccb8158eec67d6bec793326253f9e76d57a"
 
 DEPENDS += "python3-setuptools-scm-native"
diff --git a/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb b/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb
index 0b7eec876f2..9ee10d949c1 100644
--- a/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb
+++ b/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb
@@ -8,8 +8,6 @@  DEPENDS = "python3-smmap"
 
 inherit pypi setuptools3
 
-PYPI_PACKAGE = "gitdb"
-
 SRC_URI[sha256sum] = "5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571"
 
 RDEPENDS:${PN} += "python3-compression \
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.167.0.bb b/meta/recipes-devtools/python/python3-hypothesis_6.167.0.bb
index 4ab6e27f84a..075a6edca45 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.167.0.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.167.0.bb
@@ -3,7 +3,6 @@  HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis
 LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"
 
-PYPI_PACKAGE = "hypothesis"
 PTEST_PYTEST_DIR ?= "examples"
 
 require ${BPN}-crates.inc
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
index add266095df..0d06b962a1d 100644
--- a/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
+++ b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
@@ -6,8 +6,6 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
 
 SRC_URI[sha256sum] = "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"
 
-PYPI_PACKAGE = "jinja2"
-
 CVE_PRODUCT = "jinja2 jinja"
 
 inherit pypi python_flit_core ptest-python-pytest
diff --git a/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
index 8b5de01b69e..6bb4e491042 100644
--- a/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
+++ b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
@@ -11,8 +11,6 @@  SRC_URI += " \
         file://run-ptest \
 "
 
-PYPI_PACKAGE = "libarchive-c"
-
 inherit pypi setuptools3 ptest-python-pytest
 
 SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721"
diff --git a/meta/recipes-devtools/python/python3-mako_1.4.1.bb b/meta/recipes-devtools/python/python3-mako_1.4.1.bb
index 90d303e84be..367a65271f5 100644
--- a/meta/recipes-devtools/python/python3-mako_1.4.1.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.4.1.bb
@@ -4,8 +4,6 @@  SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c79ceff89df0a72f29bb0e1b6f0e36ed"
 
-PYPI_PACKAGE = "mako"
-
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 SRC_URI[sha256sum] = "d7904710b662996425a21627710c4777c45053146942cf8a7aebf757c92b8c27"
diff --git a/meta/recipes-devtools/python/python3-markupsafe_3.0.3.bb b/meta/recipes-devtools/python/python3-markupsafe_3.0.3.bb
index dace235bb8d..58c03766c68 100644
--- a/meta/recipes-devtools/python/python3-markupsafe_3.0.3.bb
+++ b/meta/recipes-devtools/python/python3-markupsafe_3.0.3.bb
@@ -5,7 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
 
 SRC_URI[sha256sum] = "722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698"
 
-PYPI_PACKAGE = "markupsafe"
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 RDEPENDS:${PN} += "python3-html python3-stringold"
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.33.bb b/meta/recipes-devtools/python/python3-pyelftools_0.33.bb
index 2586d9fd60e..8a696407dba 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.33.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.33.bb
@@ -6,8 +6,6 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
 
 SRC_URI[sha256sum] = "660d82dcbeb8e83d1702bd97f223f761625da06111c0cc988eac6b8ab0c1b61f"
 
-PYPI_PACKAGE = "pyelftools"
-
 inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-shacl2code_1.1.0.bb b/meta/recipes-devtools/python/python3-shacl2code_1.1.0.bb
index a9c8bec84fc..dc98e445e00 100644
--- a/meta/recipes-devtools/python/python3-shacl2code_1.1.0.bb
+++ b/meta/recipes-devtools/python/python3-shacl2code_1.1.0.bb
@@ -4,7 +4,6 @@  SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0582f358628f299f29c23bf5fb2f73c9"
 
-PYPI_PACKAGE = "shacl2code"
 SRC_URI[sha256sum] = "0f3a243c6482a0f95c5a793288d304908506b51b82dc6133de22be477cd75c24"
 
 inherit pypi python_hatchling
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
index a439f8a8806..31cc8f1983e 100644
--- a/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
+++ b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
@@ -5,7 +5,6 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=ca325788d94ee694fef2a308c5073454"
 
 inherit pypi setuptools3
 
-PYPI_PACKAGE = "smartypants"
 SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
 SRC_URI[sha256sum] = "39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6"
 
diff --git a/meta/recipes-devtools/python/python3-smmap_6.0.0.bb b/meta/recipes-devtools/python/python3-smmap_6.0.0.bb
index 6abed1205fd..bfd3d52865f 100644
--- a/meta/recipes-devtools/python/python3-smmap_6.0.0.bb
+++ b/meta/recipes-devtools/python/python3-smmap_6.0.0.bb
@@ -9,8 +9,6 @@  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665
 
 inherit pypi setuptools3
 
-PYPI_PACKAGE = "smmap"
-
 SRC_URI[sha256sum] = "8d79028ea6cc131da5eab099a5d95a998d43c6779956fffe3b455040911076da"
 
 RDEPENDS:${PN} += "python3-codecs \
diff --git a/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb b/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb
index 032197008f5..7ae92deb8e0 100644
--- a/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb
+++ b/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb
@@ -6,8 +6,6 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=07c3b61d971c3df6e19ce439cfe1fb8c"
 
 SRC_URI[sha256sum] = "e07bbc54a0d798fe6010a12398422e62a8bfbba95c394fd0956ef58cb4d3e260"
 
-PYPI_PACKAGE = "snowballstemmer"
-
 inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb
index 5f915663c27..d21e802582d 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb
@@ -5,8 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENCE;md5=926e8b7e89e3ebb2a2d1dfaf0873f241"
 
 SRC_URI[sha256sum] = "1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a"
 
-PYPI_PACKAGE = "sphinxcontrib-jquery"
-
 inherit pypi python_flit_core
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
index 7c11cfeec53..c06ba1242f9 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
@@ -5,8 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=f0064c10bd544bcffccbc67a41c108d3"
 
 SRC_URI[sha256sum] = "a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"
 
-PYPI_PACKAGE = "sphinxcontrib-jsmath"
-
 inherit pypi setuptools3
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb b/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb
index 0cb31468bdc..8cdfd8e1c22 100644
--- a/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb
+++ b/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb
@@ -5,7 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b8558ebcc682078c1a44d0227573006d"
 
 inherit pypi python_hatchling
 
-PYPI_PACKAGE = "typogrify"
 SRC_URI[sha256sum] = "f0aa004e98032a6e6be4c9da65e7eb7150e36ca3bf508adbcda82b4d003e61ee"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-xmltodict_1.0.4.bb b/meta/recipes-devtools/python/python3-xmltodict_1.0.4.bb
index 04632de099f..fae85b583fe 100644
--- a/meta/recipes-devtools/python/python3-xmltodict_1.0.4.bb
+++ b/meta/recipes-devtools/python/python3-xmltodict_1.0.4.bb
@@ -5,8 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
 
 SRC_URI[sha256sum] = "6d94c9f834dd9e44514162799d344d815a3a4faec913717a9ecbfa5be1bb8e61"
 
-PYPI_PACKAGE = "xmltodict"
-
 CVE_PRODUCT = "xmltodict:xmltodict"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-yamllint_1.38.0.bb b/meta/recipes-devtools/python/python3-yamllint_1.38.0.bb
index c2f32eef63a..acbe0228bda 100644
--- a/meta/recipes-devtools/python/python3-yamllint_1.38.0.bb
+++ b/meta/recipes-devtools/python/python3-yamllint_1.38.0.bb
@@ -5,8 +5,6 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE = "yamllint"
-
 SRC_URI[sha256sum] = "09e5f29531daab93366bb061e76019d5e91691ef0a40328f04c927387d1d364d"
 
 RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
diff --git a/meta/recipes-extended/python3-kirk/python3-kirk_4.1.0.bb b/meta/recipes-extended/python3-kirk/python3-kirk_4.1.0.bb
index 3027d98de03..f9b478ca8d8 100644
--- a/meta/recipes-extended/python3-kirk/python3-kirk_4.1.0.bb
+++ b/meta/recipes-extended/python3-kirk/python3-kirk_4.1.0.bb
@@ -11,6 +11,4 @@  SRC_URI[sha256sum] = "dc4dc4fa8994b14565a3d4f31bb79d6d27102ecbbd4feaef4ebc1e10e9
 
 inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE = "kirk"
-
 RDEPENDS:${PN} += "python3-asyncio python3-json"