mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
python,python3: allow python packages to override Package/<pkg>/install rule
Python packages try to enforce their own. For some cases this may not be desired. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -61,6 +61,7 @@ define PyPackage
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef Package/$(1)/install
|
||||||
$(call shexport,PyPackage/$(1)/filespec)
|
$(call shexport,PyPackage/$(1)/filespec)
|
||||||
|
|
||||||
define Package/$(1)/install
|
define Package/$(1)/install
|
||||||
@@ -85,6 +86,7 @@ define PyPackage
|
|||||||
define Package/$(1)-src/install
|
define Package/$(1)-src/install
|
||||||
$$(call Package/$(1)/install,$$(1),sources)
|
$$(call Package/$(1)/install,$$(1),sources)
|
||||||
endef
|
endef
|
||||||
|
endif # Package/$(1)/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(call include_mk, python-host.mk)
|
$(call include_mk, python-host.mk)
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ define Py3Package
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef Package/$(1)/install
|
||||||
$(call shexport,Py3Package/$(1)/filespec)
|
$(call shexport,Py3Package/$(1)/filespec)
|
||||||
|
|
||||||
define Package/$(1)/install
|
define Package/$(1)/install
|
||||||
@@ -85,6 +86,7 @@ define Py3Package
|
|||||||
define Package/$(1)-src/install
|
define Package/$(1)-src/install
|
||||||
$$(call Package/$(1)/install,$$(1),sources)
|
$$(call Package/$(1)/install,$$(1),sources)
|
||||||
endef
|
endef
|
||||||
|
endif # Package/$(1)/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(call include_mk, python3-host.mk)
|
$(call include_mk, python3-host.mk)
|
||||||
|
|||||||
Reference in New Issue
Block a user