From patchwork Wed Sep 13 13:20:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Floret X-Patchwork-Id: 813429 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xsj3j0fl1z9sMN for ; Wed, 13 Sep 2017 23:21:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 98E0388BA1; Wed, 13 Sep 2017 13:21:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a7ucgKvatnDe; Wed, 13 Sep 2017 13:21:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9792688B95; Wed, 13 Sep 2017 13:21:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9B50B1C1054 for ; Wed, 13 Sep 2017 13:21:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 95A3189C6A for ; Wed, 13 Sep 2017 13:21:15 +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 rUgwwT2uxiud for ; Wed, 13 Sep 2017 13:21:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by hemlock.osuosl.org (Postfix) with ESMTP id 734808948C for ; Wed, 13 Sep 2017 13:21:14 +0000 (UTC) Received: from 6wind.com (unknown [10.16.0.185]) by proxy.6wind.com (Postfix) with SMTP id 8D59ADFE6C; Wed, 13 Sep 2017 15:17:12 +0200 (CEST) Received: by 6wind.com (sSMTP sendmail emulation); Wed, 13 Sep 2017 15:21:03 +0200 From: Julien Floret To: buildroot@buildroot.org Date: Wed, 13 Sep 2017 15:20:55 +0200 Message-Id: <20170913132055.12371-1-julien.floret@6wind.com> X-Mailer: git-send-email 2.13.1 Subject: [Buildroot] [PATCH v2] python-six: add host variant X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" While currently there is no in-tree Buildroot package which depends on host-python-six, it can be needed to build external packages. Signed-off-by: Julien Floret Tested-by: Carlos Santos --- package/Config.in.host | 1 + package/python-six/Config.in.host | 9 +++++++++ package/python-six/python-six.mk | 1 + 3 files changed, 11 insertions(+) create mode 100644 package/python-six/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index c5a852b858a4..e2717ae3b541 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -36,6 +36,7 @@ menu "Host utilities" source "package/pru-software-support/Config.in.host" source "package/pwgen/Config.in.host" source "package/python-lxml/Config.in.host" + source "package/python-six/Config.in.host" source "package/qemu/Config.in.host" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" diff --git a/package/python-six/Config.in.host b/package/python-six/Config.in.host new file mode 100644 index 000000000000..1d37e768ae29 --- /dev/null +++ b/package/python-six/Config.in.host @@ -0,0 +1,9 @@ +config BR2_PACKAGE_HOST_PYTHON_SIX + bool "host python-six" + help + Six is a Python 2 and 3 compatibility library. It provides + utility functions for smoothing over the differences between + the Python versions with the goal of writing Python code that + is compatible on both Python versions. + + http://pythonhosted.org/six diff --git a/package/python-six/python-six.mk b/package/python-six/python-six.mk index 0edefe346fdb..850f9340d322 100644 --- a/package/python-six/python-six.mk +++ b/package/python-six/python-six.mk @@ -12,3 +12,4 @@ PYTHON_SIX_LICENSE = MIT PYTHON_SIX_LICENSE_FILES = LICENSE $(eval $(python-package)) +$(eval $(host-python-package))