Skip to contentSkip to conversation

Revert "python3-google-api-core, python3-googleapis-common-protos: set PYPI_PACKAGE_SDIST"

PATCH New [email protected] 1 participant 1 message Oct 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "python3-google-api-core, python3-googleapis-common-protos: set PYPI_PACKAGE_SDIST"

From: Martin Jansa <[email protected]>

This reverts commit b9cc78ed6bb900c1c4eb856f7cd3ee9d753a2e94.

The same issue was resolved in:
https://git.openembedded.org/meta-openembedded/diff/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb?id=0a583b35021692dac485c16d85b3f9a9f5601da0
with the only difference of using PYPI_PACKAGE variable instead of another hardcoded pypi name.

---
 .../recipes-devtools/python/python3-google-api-core_2.19.1.bb | 4 ----
 .../python/python3-googleapis-common-protos_1.63.2.bb         | 4 ----
 2 files changed, 8 deletions(-)
meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb +0 -4
index b433535a02..eee2278e40 100644
@@ -9,10 +9,6 @@ PYPI_PACKAGE_SDIST = "google-api-core"
 
 SRC_URI[sha256sum] = "f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"
 
-# Avoid replace("-", "_") from:
-# https://git.openembedded.org/openembedded-core/commit/?id=98049bf86b615b10c43b3ceb9dbc73580cb76952
-PYPI_PACKAGE_SDIST = "${PYPI_PACKAGE}"
-
 RDEPENDS:${PN} += "\
     python3-asyncio \
     python3-datetime \
meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb +0 -4
index 6eb59f6ef2..779f3afa9d 100644
@@ -9,10 +9,6 @@ PYPI_PACKAGE_SDIST = "googleapis-common-protos"
 
 SRC_URI[sha256sum] = "27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"
 
-# Avoid replace("-", "_") from:
-# https://git.openembedded.org/openembedded-core/commit/?id=98049bf86b615b10c43b3ceb9dbc73580cb76952
-PYPI_PACKAGE_SDIST = "${PYPI_PACKAGE}"
-
 RDEPENDS:${PN} += "\
     python3-grpcio \
     python3-protobuf \