From patchwork Mon Sep 9 11:58:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= X-Patchwork-Id: 1159691 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=none (p=none dis=none) header.from=essensium.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=essensium-com.20150623.gappssmtp.com header.i=@essensium-com.20150623.gappssmtp.com header.b="ULzfMRfG"; 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 46Rms744gPz9s00 for ; Mon, 9 Sep 2019 21:58:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0D13287582; Mon, 9 Sep 2019 11:58:34 +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 fyL8pxug52lA; Mon, 9 Sep 2019 11:58:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2A6E0863E0; Mon, 9 Sep 2019 11:58:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id DB46A1BF398 for ; Mon, 9 Sep 2019 11:58:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D7EB7847FE for ; Mon, 9 Sep 2019 11:58:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vEcxC0BGAmAb for ; Mon, 9 Sep 2019 11:58:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8291884728 for ; Mon, 9 Sep 2019 11:58:30 +0000 (UTC) Received: by mail-ed1-f41.google.com with SMTP id y91so12665852ede.9 for ; Mon, 09 Sep 2019 04:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=a3m9KxViwuK57yWWftGQlI6fshC0zd0hxA/Yz70ItP8=; b=ULzfMRfGPfroMT82DshOc+hfis5O9HqauRwP4JExN/fw0NaSclkCSZ3kk+3o57hEyT cQj8KR2gD8TuZdCn0PwIUtNnrmdpuQG/DNFrsfE/zwjJLo1Ms0hqJix05apKY9dpDzRs WabvCKPkkVWLSiEd7HIsZ20AtGK9CZW+iFPeVs5COOgYrrFzy/cLZLieUje60xH5Xuuj rSuGUYnuX1BRYV50qOLw2x7hfB3MHYdNwfAwDsWNx0ElhFSpCt3gO6S2y10SnSjLIRt0 DyiGCa0kZ4HKJZD9N0kVKcNAeTx8eo5iv3S1vg0pirJNOTgGIA61cDA+WqKQHB/CH80X sasw== 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:mime-version :content-transfer-encoding; bh=a3m9KxViwuK57yWWftGQlI6fshC0zd0hxA/Yz70ItP8=; b=BNbx/GlSvDRXXvx+O283abjC3A/+RtHtHqrAV1oPooYgi43NGcQGazlmpXnun66oFC 4MdO9Xg7GRpL4GhMTcT+LhkGS4/iidKscI9K/a4yjQgPlGA60j7d22QuO+KcDXe6Gife oB2PATqzLZX2pZYhmFxquzIkOZXfOkD0w+vxbdJT95DSPdJ6MNH8MR8GxKWUbglvh+lv WsTfIegGhL4VsJ6zv4RaQXGP4xzeRKz8BhLVDuNCY3zlPgCGmDf4hGKsaBcHm2yQ0UPJ 6u2YfMX4oqx/cglDb7x9grKBbpJATTRMwf7m5sPWGhp9aD+O8PyZOxOlJ7cQT/VU09fM KsAQ== X-Gm-Message-State: APjAAAUNV8TLgMHKfLZ2Jae1EVYJDBYxlAcX4X2MIsy6hDNOUcWzOzp9 sYztj8OVoPpwYrJTwfuVdKE4mDF0/vo= X-Google-Smtp-Source: APXvYqx/wG+m7qfoYofsljkl0PS6ScGze/jKNMmDqFe1W9UCbgwP0VZdPGBP86tMex5/ZcEkcD2l7A== X-Received: by 2002:a50:ab49:: with SMTP id t9mr20528649edc.301.1568030308599; Mon, 09 Sep 2019 04:58:28 -0700 (PDT) Received: from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id f36sm2840285ede.28.2019.09.09.04.58.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 04:58:28 -0700 (PDT) From: raphael.melotte@essensium.com To: buildroot@buildroot.org Date: Mon, 9 Sep 2019 13:58:07 +0200 Message-Id: <20190909115807.5753-1-raphael.melotte@essensium.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence. 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: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Raphaël Mélotte Python packages should no longer depend on BR2_PACKAGE_PYTHON in their config file, unless they are only compatible with Python 2. Signed-off-by: Raphaël Mélotte --- docs/manual/adding-packages-python.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-python.txt b/docs/manual/adding-packages-python.txt index 15137cfd6d..74e2e78b29 100644 --- a/docs/manual/adding-packages-python.txt +++ b/docs/manual/adding-packages-python.txt @@ -67,9 +67,13 @@ Python build system, but are not Python modules, can freely choose their name (existing examples in Buildroot are +scons+ and +supervisor+). -In their +Config.in+ file, they should depend on +BR2_PACKAGE_PYTHON+ -so that when Buildroot will enable Python 3 usage for modules, we will -be able to enable Python modules progressively on Python 3. +Packages that are only compatible with one version of Python (as in: +Python 2 or Python 3) should depend on that version explicitely in +their +Config.in+ file (+BR2_PACKAGE_PYTHON+ for Python 2, ++BR2_PACKAGE_PYTHON3+ for Python 3). Packages that are compatible +with both versions should not explicitely depend on them in their ++Config.in+ file, since that condition is already expressed for the +whole "External python modules" menu. The main macro of the Python package infrastructure is +python-package+. It is similar to the +generic-package+ macro. It is