summaryrefslogtreecommitdiff
path: root/lang/python/python3-package.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2023-01-30 13:45:14 +0200
committerGitHub <noreply@github.com>2023-01-30 13:45:14 +0200
commit6cf9fa943694eb31344a2b88bd8bd84d97d0432a (patch)
tree5666f20b5db6686c7dca8de54d50fa511d12f9cf /lang/python/python3-package.mk
parent70a5501f55ddca99d3cf9f6190f5ae5a665749e3 (diff)
parent61f202c0170785addbbc449e4de61cc5886f0833 (diff)
Merge pull request #20366 from commodo/python-toml-support
python-build: add support for pyproject.toml files (reboot of #17130)
Diffstat (limited to 'lang/python/python3-package.mk')
-rw-r--r--lang/python/python3-package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk
index c2617f69c..a24892ac5 100644
--- a/lang/python/python3-package.mk
+++ b/lang/python/python3-package.mk
@@ -62,10 +62,11 @@ endef
# $(3) => additional variables
define Python3/ModSetup
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR)
+ $(call SetupPyShim,$(PKG_BUILD_DIR)/$(strip $(1)))
$(call Python3/Run, \
$(PKG_BUILD_DIR)/$(strip $(1)), \
setup.py $(2), \
- $(3))
+ $(3) PY_PKG_VERSION=$(PKG_VERSION))
endef
define Python3/FixShebang