[meta-python] python3-astor: fix wheel build

Message ID 20220228224336.28814-1-jsbronder@cold-front.org
State New
Headers show
Series [meta-python] python3-astor: fix wheel build | expand

Commit Message

Justin Bronder Feb. 28, 2022, 10:43 p.m. UTC
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
---
 meta-python/recipes-devtools/python/python3-astor_0.8.1.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
index bc3315f751..54e43e3754 100644
--- a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
@@ -10,6 +10,7 @@  SRC_URI = "git://github.com/berkerpeksag/astor.git;branch=master;protocol=https
 SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072"
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "astor"
 
 S = "${WORKDIR}/git"