treewide: Add PACKAGE_* conds to python packages

If a package builds python & python3 variants, then the respective
PACKAGE-python* conditional DEPENDS were added, since circular
dependencies should all be resolved now.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
Eneas U de Queiroz
2019-05-20 13:53:39 -03:00
parent 36d0c59e99
commit 65009e8127
11 changed files with 52 additions and 47 deletions

View File

@@ -28,23 +28,23 @@ endef
define Package/python-botocore
$(call Package/python-botocore/Default)
DEPENDS:=+python \
+python-urllib3 \
+python-docutils \
+python-dateutil \
+python-jmespath \
+python-requests
DEPENDS:=+PACKAGE_python-botocore:python \
+PACKAGE_python-botocore:python-urllib3 \
+PACKAGE_python-botocore:python-docutils \
+PACKAGE_python-botocore:python-dateutil \
+PACKAGE_python-botocore:python-jmespath \
+PACKAGE_python-botocore:python-requests
VARIANT:=python
endef
define Package/python3-botocore
$(call Package/python-botocore/Default)
DEPENDS:=+python3 \
+python3-urllib3 \
+python3-docutils \
+python3-dateutil \
+python3-jmespath \
+python3-requests
DEPENDS:=+PACKAGE_python3-botocore:python3 \
+PACKAGE_python3-botocore:python3-urllib3 \
+PACKAGE_python3-botocore:python3-docutils \
+PACKAGE_python3-botocore:python3-dateutil \
+PACKAGE_python3-botocore:python3-jmespath \
+PACKAGE_python3-botocore:python3-requests
VARIANT:=python3
endef