From patchwork Sun Oct 20 13:42:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 1180003 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZIAsF2Fq"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46x1Cy1mLHz9sP4 for ; Mon, 21 Oct 2019 00:42:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 915BE87A62; Sun, 20 Oct 2019 13:42:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KmrLnH3h8A7z; Sun, 20 Oct 2019 13:42:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B15FA8768B; Sun, 20 Oct 2019 13:42:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0002F1BF956 for ; Sun, 20 Oct 2019 13:42:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ED05B20455 for ; Sun, 20 Oct 2019 13:42:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L2-f0aD-gEgV for ; Sun, 20 Oct 2019 13:42:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by silver.osuosl.org (Postfix) with ESMTPS id 0C6CB2041C for ; Sun, 20 Oct 2019 13:42:16 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r1so1082982wrs.9 for ; Sun, 20 Oct 2019 06:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eQ7ous3b3S+YULxP6MuGS5CkYEYPaO9klXNllHSIol4=; b=ZIAsF2Fq4W6SmmgLEEe/zih7Dzq8Yy7h15WkB9a+3HcRtbyVqAKj2dMY7Gp37sofhK 3JN/Wb69atax+ivhoBhUFJBjAcKHALP7bbMsC4jHQ2wrep81lSOHJA8CHXnFNCYP5YE1 9B9Q6m1XAeBHgM6SqePC+WEyfMNIFqZaTVgatwoOF8qTJ0LBHKk2IfPJRURUsFeMOlVT hg+HSNyZjLOoz/VQpd3d9XFIb3fSskfKXlFc7L5rKFwgB3fH7NfF42yVNerompZABwyK Gsy6M58RhAkZVUvruoC5ANTf7NYKS1H8e4qvMYTgx9Q9ln/V6hVYfIOYj9W748tShIHZ gFGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eQ7ous3b3S+YULxP6MuGS5CkYEYPaO9klXNllHSIol4=; b=YYHsiK+9CAvviAM0ekJXfFX1QejHebnj4hfH5ZAb9dENgHS9lbVFN5h2iVzeRjaVqF XEiiPx22FNcQg1s2yeZC27Or+aNLopO7NW+5n6NjPAc4pfMtIpyBJ8JIHGX5Y6TfiBEg ItXh+1crEzHSwyQIGwoGLgNkA3MXX9LPtSkDEhAUE0JuogSzPw9D4xLyjjjMoSjjupME dLKcAZEoxW8MEipiLjjcztFcoeVq5t4grZ98tt/OUCGmPoUTJYJmusUquvhl5sB7Doxd LK7L/SP1Bh9e67XmzmphMGtyM+PsLx1/dRR56NyIewVSCLtAR6/gGQ4I+fix0q8UZ1Zz 7WxQ== X-Gm-Message-State: APjAAAVsjGNOk598wqW5yMFJOI/R0Roz/D3lB6Zwe4jcytzso+fsa3dz 6bo6TcrWfY+r8vXonJeIbaDOW0AI X-Google-Smtp-Source: APXvYqyaOpZCoyLzod0dE524sJmYK3yOw/EdkY7xcZsk/+L9UeeIAksnG0wmxB0FUA/M83eddw5+hg== X-Received: by 2002:adf:e446:: with SMTP id t6mr5382446wrm.7.1571578934140; Sun, 20 Oct 2019 06:42:14 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-5-46.cablep.bezeqint.net. [84.108.5.46]) by smtp.gmail.com with ESMTPSA id h18sm10773959wrr.78.2019.10.20.06.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 06:42:13 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Sun, 20 Oct 2019 16:42:03 +0300 Message-Id: <20191020134203.11282-2-asafka7@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191020134203.11282-1-asafka7@gmail.com> References: <20191020134203.11282-1-asafka7@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/python-more-itertools: drop Python 2 support X-BeenThere: buildroot@busybox.net 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: Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since version 6.0.0, the package supports only Python 3, and will lead to syntax errors when in use with Python 2. In addition, the dependency of python-six is no longer needed. The reursive reverse dependencies were updated accordingly. Signed-off-by: Asaf Kahlon --- package/python-cheroot/Config.in | 3 +-- package/python-cherrypy/Config.in | 7 +++---- package/python-jaraco-functools/Config.in | 3 +-- package/python-more-itertools/Config.in | 2 +- package/python-portend/Config.in | 1 + package/python-tempora/Config.in | 1 + package/python-webpy/Config.in | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) diff --git a/package/python-cheroot/Config.in b/package/python-cheroot/Config.in index 0b732f8c0b..45dd2d8a11 100644 --- a/package/python-cheroot/Config.in +++ b/package/python-cheroot/Config.in @@ -1,10 +1,9 @@ config BR2_PACKAGE_PYTHON_CHEROOT bool "python-cheroot" + depends on BR2_PACKAGE_PYTHON3 # python-more-itertools, python-jaraco-functools select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime - select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \ - if BR2_PACKAGE_PYTHON # runtime help Cheroot is the high-performance, pure-Python HTTP server used by CherryPy. diff --git a/package/python-cherrypy/Config.in b/package/python-cherrypy/Config.in index 622dd1f49b..eb83054be3 100644 --- a/package/python-cherrypy/Config.in +++ b/package/python-cherrypy/Config.in @@ -1,13 +1,12 @@ config BR2_PACKAGE_PYTHON_CHERRYPY bool "python-cherrypy" + depends on BR2_PACKAGE_PYTHON3 # python-cheroot, python-portend select BR2_PACKAGE_PYTHON_CHEROOT # runtime select BR2_PACKAGE_PYTHON_JARACO_CLASSES # runtime select BR2_PACKAGE_PYTHON_PORTEND # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help A minimalist web framework diff --git a/package/python-jaraco-functools/Config.in b/package/python-jaraco-functools/Config.in index 62669dba6f..6c914f3851 100644 --- a/package/python-jaraco-functools/Config.in +++ b/package/python-jaraco-functools/Config.in @@ -1,8 +1,7 @@ config BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS bool "python-jaraco-functools" + depends on BR2_PACKAGE_PYTHON3 # python-more-itertools select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime - select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \ - if BR2_PACKAGE_PYTHON # runtime help Additional functools in the spirit of stdlib’s functools. diff --git a/package/python-more-itertools/Config.in b/package/python-more-itertools/Config.in index dc5fb7ce54..1a7f95c27f 100644 --- a/package/python-more-itertools/Config.in +++ b/package/python-more-itertools/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_MORE_ITERTOOLS bool "python-more-itertools" - select BR2_PACKAGE_PYTHON_SIX # runtime + depends on BR2_PACKAGE_PYTHON3 help More routines for operating on iterables, beyond itertools. diff --git a/package/python-portend/Config.in b/package/python-portend/Config.in index 6b21078caa..30a50c7f61 100644 --- a/package/python-portend/Config.in +++ b/package/python-portend/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_PORTEND bool "python-portend" + depends on BR2_PACKAGE_PYTHON3 # python-tempora select BR2_PACKAGE_PYTHON_TEMPORA # runtime help TCP port monitoring utilities. diff --git a/package/python-tempora/Config.in b/package/python-tempora/Config.in index 508cbae3f3..06ccbfc283 100644 --- a/package/python-tempora/Config.in +++ b/package/python-tempora/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_TEMPORA bool "python-tempora" + depends on BR2_PACKAGE_PYTHON3 # python-jaraco-functools select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_PYTZ # runtime diff --git a/package/python-webpy/Config.in b/package/python-webpy/Config.in index d30da70e13..419a4a180f 100644 --- a/package/python-webpy/Config.in +++ b/package/python-webpy/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEBPY bool "python-webpy" - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON + depends on BR2_PACKAGE_PYTHON3 # python-cheroot select BR2_PACKAGE_PYTHON_CHEROOT # runtime select BR2_PACKAGE_PYTHON_MARKDOWN # runtime help