From: John Keeping Date: Thu, 25 Mar 2021 12:46:16 +0000 Subject: [Buildroot] [PATCH] package/ca-certificates: always use host-python3 Message-ID: <20210325124616.153411-1-john@metanate.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net When no Python package is selected for the target, ca-certificate defaults to host-python (as opposed to host-python3). However, with many packages using the meson build system, which requires host-python3, it is likely that this results in both Python 2 and Python 3 being built for the host. One option would be to flip the default to use host-python3 when no target Python package is selected, but Python 2 is no longer supported and the package is marked as deprecated so it makes sense to just require host-python3 here. Signed-off-by: John Keeping --- package/ca-certificates/ca-certificates.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package/ca-certificates/ca-certificates.mk b/package/ca-certificates/ca-certificates.mk index 5c24d4be49..86e64f4270 100644 --- a/package/ca-certificates/ca-certificates.mk +++ b/package/ca-certificates/ca-certificates.mk @@ -7,11 +7,7 @@ CA_CERTIFICATES_VERSION = 20200601 CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz CA_CERTIFICATES_SITE = http://snapshot.debian.org/archive/debian/20200602T145955Z/pool/main/c/ca-certificates -CA_CERTIFICATES_DEPENDENCIES = host-openssl -# ca-certificates can be built with either python 2 or python 3 -# but it must be at least python 2.7 -CA_CERTIFICATES_DEPENDENCIES += \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) +CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python3 CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) CA_CERTIFICATES_LICENSE_FILES = debian/copyright -- 2.31.0