From patchwork Fri Oct 15 05:56:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1541353 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=dW4lHONJ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HVwYH5s3Cz9shx for ; Fri, 15 Oct 2021 16:58:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7A51A4066B; Fri, 15 Oct 2021 05:58:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w-tsbYxxHBvN; Fri, 15 Oct 2021 05:58:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id EBA5E40581; Fri, 15 Oct 2021 05:58:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 62B821BF2FB for ; Fri, 15 Oct 2021 05:58:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 51EC060780 for ; Fri, 15 Oct 2021 05:58:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YSgHLeIOUpam for ; Fri, 15 Oct 2021 05:58:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by smtp3.osuosl.org (Postfix) with ESMTPS id 5D2E560638 for ; Fri, 15 Oct 2021 05:58:05 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id g193-20020a1c20ca000000b0030d55f1d984so1813461wmg.3 for ; Thu, 14 Oct 2021 22:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xgGqy/DanjtBMA38GHJ/9DWoOmQTpdQm6oiuzKjzjTs=; b=dW4lHONJDDBzq3HTha0Y1sQEjzUKHtOt6y24obeyV5oeUV7euLRSLGr613GBNMKmOf skZPNYRCLfNd4Qn/lU9cOOg4qEn1tmvc8sDJ1ljbqhsNcobsokf/SSNmGqEdg7/j9pcn MxKvVmx4z54MauIIwqki/MWttJYnWyH85FoI1VIbPzYOPP6qDEFqYmAHRjJnvavbTPmC A+ojy1eaQlvHDzPR3U+Q4PkkvPENf8xPZdSARzMhpTr63fTgI8Q9Awbfx4y/Q74D3pGl UxIZtXKv6SBru/7/zIRqA5K3sF9tzeJ7qvWRs9D7HlSOG1sdscbY9aHvKeJFW73IYGI+ G2NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xgGqy/DanjtBMA38GHJ/9DWoOmQTpdQm6oiuzKjzjTs=; b=DKR5BYir2efsvYF8WpKQOAhQeWmvrjlaJwFX6Ty6sbIuVr47U1IzmXJSS6Q0DGyFFT PU72EmqN39zUqNOBlAvcWydtnOgsy+sNQKjYGazdBCyldmMQBdsX5nUwud9t33opr3a7 R0H1d8ZskhLKL27WQXZkBGL1Dt5muXlWi7TpJwKDuihtbkGIdoXaSIb5ZkgcriDn7J30 fllR4BOf3FM6JWbLVGQ2dnKjt1J9MFcJZIUuPoa1eHEt5uZVHtolItfHpqW2eAkVGjoD 0Za5YYwxx7+1vJRm10x9I+ZUNga5THjv64YHA6twiSzWtgfzmM/Z0yfMXw2jcv1DWsO8 T47Q== X-Gm-Message-State: AOAM5305ihNJzzL0YATN/+SX2UVek4R40DP1wvp2T7/Fbwn2651wwy7U wxJkPQIp7MSvV2uW+/EIOXDPH0DwtjE= X-Google-Smtp-Source: ABdhPJxL6Cl0G6PDLdAh9kK2caxWLf65HPpprRrhDl3quB4cES1ChYIBVMwecrnJhsLLVVGESjONXA== X-Received: by 2002:a05:600c:a4b:: with SMTP id c11mr10260910wmq.97.1634277483148; Thu, 14 Oct 2021 22:58:03 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1732-95.w86-253.abo.wanadoo.fr. [86.253.44.95]) by smtp.gmail.com with ESMTPSA id t21sm3708304wmi.19.2021.10.14.22.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 22:58:02 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 15 Oct 2021 07:56:40 +0200 Message-Id: <20211015055643.158071-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2, 1/4] package/python-cryptography: add host variant X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Since commit 0c7e30b43a5e98abfc8db521a6415b5a5c1c267f, python-cryptography depends on python3. So python3-cryptography became redundant at that point. As python3-cryptography is a host-only package, while python-cryptography is a python-only package, add a host variant to python-cryptography to be able to drop python3-cryptography. While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9 Signed-off-by: Fabrice Fontaine --- package/python-cryptography/python-cryptography.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 98c65e1528..1d903b03e9 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -14,5 +14,8 @@ PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl +HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3 +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Fri Oct 15 05:56:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1541354 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=XtciJ1Ad; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HVwYW2p2qz9shx for ; Fri, 15 Oct 2021 16:58:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 22E4760823; Fri, 15 Oct 2021 05:58:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AGssjzzLN9SK; Fri, 15 Oct 2021 05:58:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 76F0960780; Fri, 15 Oct 2021 05:58:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B332E1BF2FB for ; Fri, 15 Oct 2021 05:58:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A356A83B42 for ; Fri, 15 Oct 2021 05:58:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ib0DVc96BWBR for ; Fri, 15 Oct 2021 05:58:06 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by smtp1.osuosl.org (Postfix) with ESMTPS id B74E883B41 for ; Fri, 15 Oct 2021 05:58:06 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id r10so24343731wra.12 for ; Thu, 14 Oct 2021 22:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mIkKjgBrgEHuAF78bEO7j1DmZfyWF2W3wu8pAlIiV4A=; b=XtciJ1AdNQFu2mHeVorWz2yixUvnbJQKwBTzUAjG7L+q6V6Rbc9QD9KNTnL26o8c/b RPxO3B3xrDwXdPg2adijbOcKG45aKgCbvfet0Eo8PCze6DNYpE8nLjY5UrMUl4otoGLx AvUeQhFaV+XslV11wwa+d/8R1BA2t74gO/YtXPIWN7Fj6kvByA/Ho8Ekz4tQeG8Fw0of JwTrz2bwavbIrOlIxL1mEQOJRtQ9AuBosL9S75MsfTJvQDoepMJ11rMtyemkDT3SwKuY YsAUDUzKKqRDWVSBO2cG8p96VZ48KKEu+4q8uWL/gDfUWt6B4KFuJOrwP/VI/ONulAxf tuPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mIkKjgBrgEHuAF78bEO7j1DmZfyWF2W3wu8pAlIiV4A=; b=7LEWrNx9pq+09uoy1zzkjaLDnCC4UlB/DP0IYKr9VJQbMUrDTYCUNzv5GHZWhSPS9l vc5fuvIF9irmCD81meZu3kT+9hyVaeW6C5qY9EYapxl0pOVU0Ilyg5HTglLIoMYc+S+U A5wE8SvswRrL9P0MKTriMSMD59ypiYaCRaiLO/XzMFvHpgEIlGe095y6KlBlVz+vME+J l7S6XBnhu9ZawCaFoo0TKWFXse7mMhY90AiAu+aprlR/3mnqINWKhVcmuQDzZWIAZ+m0 YYpELQj38m9oULgDQv1RWbSs071dv9aJQm/TIZ6n1QKnTxi1/i5T+SdpL0gE+l++vGdw jifA== X-Gm-Message-State: AOAM531bIhabgLmFKoKcYF5XKxcDzXW+OeycOCdjTZWnZH2lQJBSaQlQ CPtBvjBsa8rRvnS132nsPtiEg3OaNHk= X-Google-Smtp-Source: ABdhPJw2yTnkrRuD9kuFWJDLT/mDEjIGrAK3OnNVX+e2v87qX+6FBePqKOwgJZFjeBZNou/lCf8t3g== X-Received: by 2002:a05:6000:168d:: with SMTP id y13mr11897731wrd.172.1634277484748; Thu, 14 Oct 2021 22:58:04 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1732-95.w86-253.abo.wanadoo.fr. [86.253.44.95]) by smtp.gmail.com with ESMTPSA id t21sm3708304wmi.19.2021.10.14.22.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 22:58:04 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 15 Oct 2021 07:56:41 +0200 Message-Id: <20211015055643.158071-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211015055643.158071-1-fontaine.fabrice@gmail.com> References: <20211015055643.158071-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2, 2/4] package/python3-cryptography: drop package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" python3-cryptography is not needed anymore now that python-cryptography has a host variant Signed-off-by: Fabrice Fontaine --- .../python-cryptography.mk | 1 - .../python3-cryptography.hash | 1 - .../python3-cryptography.mk | 24 ------------------- 3 files changed, 26 deletions(-) delete mode 120000 package/python3-cryptography/python3-cryptography.hash delete mode 100644 package/python3-cryptography/python3-cryptography.mk diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 1d903b03e9..e21b9db042 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,7 +4,6 @@ # ################################################################################ -# Please keep in sync with package/python3-cryptography/python3-cryptography.mk PYTHON_CRYPTOGRAPHY_VERSION = 3.3.2 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/d4/85/38715448253404186029c575d559879912eb8a1c5d16ad9f25d35f7c4f4c diff --git a/package/python3-cryptography/python3-cryptography.hash b/package/python3-cryptography/python3-cryptography.hash deleted file mode 120000 index 73fa25f572..0000000000 --- a/package/python3-cryptography/python3-cryptography.hash +++ /dev/null @@ -1 +0,0 @@ -../python-cryptography/python-cryptography.hash \ No newline at end of file diff --git a/package/python3-cryptography/python3-cryptography.mk b/package/python3-cryptography/python3-cryptography.mk deleted file mode 100644 index 516864f315..0000000000 --- a/package/python3-cryptography/python3-cryptography.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# python3-cryptography -# -################################################################################ - -# Please keep in sync with package/python-cryptography/python-cryptography.mk -PYTHON3_CRYPTOGRAPHY_VERSION = 3.3.2 -PYTHON3_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON3_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON3_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/d4/85/38715448253404186029c575d559879912eb8a1c5d16ad9f25d35f7c4f4c -PYTHON3_CRYPTOGRAPHY_SETUP_TYPE = setuptools -PYTHON3_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause -PYTHON3_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD -PYTHON3_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project -PYTHON3_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -HOST_PYTHON3_CRYPTOGRAPHY_DL_SUBDIR = python-cryptography -HOST_PYTHON3_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3 -HOST_PYTHON3_CRYPTOGRAPHY_DEPENDENCIES = \ - host-openssl \ - host-python3-cffi \ - host-python3-pip \ - host-python3-six - -$(eval $(host-python-package)) From patchwork Fri Oct 15 05:56:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1541355 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=RtCYDBJd; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HVwYl6jz1z9shx for ; Fri, 15 Oct 2021 16:58:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id F1D89401CC; Fri, 15 Oct 2021 05:58:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bM8-yd9qpDM8; Fri, 15 Oct 2021 05:58:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id F310840153; Fri, 15 Oct 2021 05:58:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E361A1BF2FB for ; Fri, 15 Oct 2021 05:58:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D287E60780 for ; Fri, 15 Oct 2021 05:58:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ghg5Mpf-4IH0 for ; Fri, 15 Oct 2021 05:58:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by smtp3.osuosl.org (Postfix) with ESMTPS id D44D660638 for ; Fri, 15 Oct 2021 05:58:07 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id u8-20020a05600c440800b0030d90076dabso937072wmn.1 for ; Thu, 14 Oct 2021 22:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Sm6SYRdHWhmNStnRUs9yBTp1KFvqu/FqpTJ/q1A7i/I=; b=RtCYDBJdiQGus7gDq3XMULQQYOgjA1r8sW6PVq/rnPBQylGLygQjtPSbYGLPzANWJI zxk+g2yuuAInx0MQNmYfevlO34SmTNcnMZdBFe7+ZaVeAlsAUotpW0dYFRnREk0NOUvd L4v64ez+lxlv5wMon711KnjokQ76H8vGnSFHWmKlQ9xsFQ7ecv+W5C1dvObPMIeag5Qn RQ5BgUJfg4oBE6fye7ZkWVeY3iZfIdiGbLX81JLFh3sl7p4A2KTZB/RgaSDbsutc3oFR 1KXc5yTonRj6u1bn4jX6XgUT+7KUyUmLXhb624jSDqMOWntd9QiC4ZaAMhtxdSM4I8IP GIXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Sm6SYRdHWhmNStnRUs9yBTp1KFvqu/FqpTJ/q1A7i/I=; b=CvFciBhnykmBClmNg56h2jDvud6HSFPiVNBkPGKbfVdioCTNLdZ9uTnDl5kOKkoZqs iUT1K+xDQyKj4sxZ1HlwWDt68zcwk4rDaRMgh/kT/O6HUbaU6JKUQwhbnqU+A7Kpvbws jw2i/SgfT0WrLTVcl2MEuSGKt+bcQ6gtMuSIXfYaOKA/pkMPMtz7uUkUcuFtNggKR+Uu 1Kh0f8fizoGS+/vGyHJUe6o7wG43aQHy5sLJw7ZFImDK/je8AwLawyqWTtGb4l1u9t71 AIdP0C62eqQaM0VmCMSfrqut/RK7/EpGPT6p7qz0cpJYRjWnKVC4w++JFLPY72Nhdx/x bWUA== X-Gm-Message-State: AOAM5300WuhFSg1th/jG5nZ747VniyW9SWWamF0XWyMhpvDoI5OpraoC IRNNjZuwUSjRCdKtD47FtgoQ48GxZSs= X-Google-Smtp-Source: ABdhPJyopPyqBf3o4faM/wS9WyA4eppRuK91q3oSRzzTE4GjWkkirXY+NsTwWXBioHnFPqauFMyIOQ== X-Received: by 2002:a05:600c:21cc:: with SMTP id x12mr15741413wmj.8.1634277485902; Thu, 14 Oct 2021 22:58:05 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1732-95.w86-253.abo.wanadoo.fr. [86.253.44.95]) by smtp.gmail.com with ESMTPSA id t21sm3708304wmi.19.2021.10.14.22.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 22:58:05 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 15 Oct 2021 07:56:42 +0200 Message-Id: <20211015055643.158071-3-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211015055643.158071-1-fontaine.fabrice@gmail.com> References: <20211015055643.158071-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2,3/4] package/python3-pip: drop package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Drop python3-pip now that python3-cryptography has been removed Signed-off-by: Fabrice Fontaine --- package/python-pip/python-pip.mk | 1 - package/python3-pip/python3-pip.hash | 1 - package/python3-pip/python3-pip.mk | 19 ------------------- 3 files changed, 21 deletions(-) delete mode 120000 package/python3-pip/python3-pip.hash delete mode 100644 package/python3-pip/python3-pip.mk diff --git a/package/python-pip/python-pip.mk b/package/python-pip/python-pip.mk index ba7134e235..81fc87d5f0 100644 --- a/package/python-pip/python-pip.mk +++ b/package/python-pip/python-pip.mk @@ -4,7 +4,6 @@ # ################################################################################ -# Please keep in sync with package/python3-pip/python3-pip.mk PYTHON_PIP_VERSION = 21.2.4 PYTHON_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz PYTHON_PIP_SITE = https://files.pythonhosted.org/packages/52/e1/06c018197d8151383f66ebf6979d951995cf495629fc54149491f5d157d0 diff --git a/package/python3-pip/python3-pip.hash b/package/python3-pip/python3-pip.hash deleted file mode 120000 index d90fb3d005..0000000000 --- a/package/python3-pip/python3-pip.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pip/python-pip.hash \ No newline at end of file diff --git a/package/python3-pip/python3-pip.mk b/package/python3-pip/python3-pip.mk deleted file mode 100644 index 5e20b06865..0000000000 --- a/package/python3-pip/python3-pip.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python3-pip -# -################################################################################ - -# Please keep in sync with package/python-pip/python-pip.mk -PYTHON3_PIP_VERSION = 21.2.4 -PYTHON3_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz -PYTHON3_PIP_SITE = https://files.pythonhosted.org/packages/52/e1/06c018197d8151383f66ebf6979d951995cf495629fc54149491f5d157d0 -PYTHON3_PIP_SETUP_TYPE = setuptools -PYTHON3_PIP_LICENSE = MIT -PYTHON3_PIP_LICENSE_FILES = LICENSE.txt -PYTHON3_PIP_CPE_ID_VENDOR = pypa -PYTHON3_PIP_CPE_ID_PRODUCT = pip -HOST_PYTHON3_PIP_DL_SUBDIR = python-pip -HOST_PYTHON3_PIP_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) From patchwork Fri Oct 15 05:56:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1541356 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=B9Z7fouV; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HVwYy4ynBz9shx for ; Fri, 15 Oct 2021 16:58:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id DF482608F8; Fri, 15 Oct 2021 05:58:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0H7hLc9oS_kG; Fri, 15 Oct 2021 05:58:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 5F68D60823; Fri, 15 Oct 2021 05:58:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 80C941BF2FB for ; Fri, 15 Oct 2021 05:58:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6C10340153 for ; Fri, 15 Oct 2021 05:58:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CnEk_UCDbTw0 for ; Fri, 15 Oct 2021 05:58:09 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5834540012 for ; Fri, 15 Oct 2021 05:58:09 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id z2so1503445wmc.3 for ; Thu, 14 Oct 2021 22:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mbtmJgJHwgx39XuFu1w4qLpvneOveHpv9jzV/nmTsbQ=; b=B9Z7fouVEYC6SUo/Ag1X3Wq38n1MKTPCCPlQfwTpDpUq8FAJcVfW3Qw2b6s9KTQeKR fwsfuaUSAZubKKYWrLM+OQySsLI2rBhP7p7QS2T1ABpjgzQg6fu0d8cQJDc9h4YB4Qb8 DYk97tBzMdGqSmst2dcl6yfx4fRZbqkn5w1XskbCAF2sFg+u7TlA7UR2Cy89Rwz40Lfn A8pX70cE7xLGN7ZO7MjdzWTOO2H3Uyf7AOiFXqGbl1LwuqCLmzYr/9vYubExwX77Kxm6 HM/4/Q91XHMxG5gO4YIkBA81g5sE9kjlmzQzT7/aXcRNAE4o+BHGyQnRWUvPsBik5qVg qtEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mbtmJgJHwgx39XuFu1w4qLpvneOveHpv9jzV/nmTsbQ=; b=BWlIHdeOKoewoLFLaoQ6JitNHbgoPS+U+XESLjTy2YcmMHectnfxDxzptSmbDfSyzN xQZCRs0txnMMB/SyeA3+MNjbDrPr4emJRQBIs020MOPJv2HIkbPvC0VD2uKx2BNfg0he eZaFyXxWC7EuOZjyLcq2u43NX4t5gpCDOjrbBzsYc1GBEKiGB7JoZZ4SEM8J80eKseMM TM3Nmq0+Rp6NziWQL/F3rR2IbJtHu4iy41lExNC7z5uBeIhneags642bmJhu0s3NjRPE mEG5tpomcwxvjfHNr+7UCPaa+04n4QzL2wH73QBFTBh2GhMszkLimCd+Wr/uLd8pC8na yMZg== X-Gm-Message-State: AOAM531zrQ4a6tHgEEYcxKO2HY8k/diYJPEpjj/U60WyfAY4CLta8Uy7 du1vbs442IaC+OwVqPCbTFijzpsOOyI= X-Google-Smtp-Source: ABdhPJw/QX948jZXy2vZdkeJ1E4Ei2BN3XQT2FaU5f3r0GDEL/DmSlV3bJ7JizyssmQ53szB5ijJXw== X-Received: by 2002:a05:600c:5128:: with SMTP id o40mr10254192wms.81.1634277487176; Thu, 14 Oct 2021 22:58:07 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1732-95.w86-253.abo.wanadoo.fr. [86.253.44.95]) by smtp.gmail.com with ESMTPSA id t21sm3708304wmi.19.2021.10.14.22.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 22:58:06 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 15 Oct 2021 07:56:43 +0200 Message-Id: <20211015055643.158071-4-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211015055643.158071-1-fontaine.fabrice@gmail.com> References: <20211015055643.158071-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2,4/4] package/python-pip: needs python3 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" python 2 support has been dropped since version 21.0 resulting in the following build failure since bump to version 21.2.4 in commit 3491f34d9ed97ac5980ff4a450367914b6985ff1: File "setup.py", line 7 def read(rel_path: str) -> str: ^ Fixes: - http://autobuild.buildroot.org/results/ed74f4ca96332454af329fac23505000c379d4a3 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Arnout Vandecappelle) - Split patch package/python-pip/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/python-pip/Config.in b/package/python-pip/Config.in index 61d8d7d317..92c3e3bd46 100644 --- a/package/python-pip/Config.in +++ b/package/python-pip/Config.in @@ -1,9 +1,8 @@ config BR2_PACKAGE_PYTHON_PIP bool "python-pip" - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_SSL help The PyPA recommended tool for installing Python packages.