From patchwork Fri Oct 25 18:54:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 1184407 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="FhmPGkt6"; 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 470CwZ0lGVz9sPV for ; Sat, 26 Oct 2019 05:55:10 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8525687B82; Fri, 25 Oct 2019 18:55:08 +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 SXdq8IjdxGvN; Fri, 25 Oct 2019 18:55:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E626687B97; Fri, 25 Oct 2019 18:55:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3CF4D1BF35A for ; Fri, 25 Oct 2019 18:55:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 38AF186AD9 for ; Fri, 25 Oct 2019 18:55:02 +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 uCzZdGBeuHJ1 for ; Fri, 25 Oct 2019 18:55:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6EC5386A48 for ; Fri, 25 Oct 2019 18:55:01 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id q13so3481436wrs.12 for ; Fri, 25 Oct 2019 11:55:01 -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=su0N+gwQjJwOoN0ZywJPdk+vFWW5UYkAZDbdLvqjeS0=; b=FhmPGkt6X5u+dELflsxZG0StQKs3jfCC2jipQ7TsGwdkuFfUSBSLaQo2vU0qL0OUOF lFgjnKWUQBftmKDOhApfIZolLV7b6+Yp0l+oDCBRiq4RHqmLRsdmaaC5ZPAjafdgCYgZ KUjFnYlJpjdZVkWBOeoY1OptHCNYCmpUMdpuU9PBBrC2RIcYizMhDT63xbfr+py8wHLy psDBdYlryuWAmeP14ZYjecSRKX7QhpVQV9qFO9Ud1EpaPygRxiJSXbTi4Q16d0loTS6E 0VDGsLWdTjIlTMlbY0cAgo5ZwJRjin1sM/OCDOernK2LD06Z0XMP8HMD1Vdl8ejonXtU HCiw== 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=su0N+gwQjJwOoN0ZywJPdk+vFWW5UYkAZDbdLvqjeS0=; b=YS/PUVMNq/0rhaZWUWe1dJjySwNYpYAZ/4LIXfCqniaXVynlVDRI5Sfs1V6yVS6DF1 O2NE95nKgoJnJRiZdTfb+0x1ksBmYvFxmlQwzY1e9JBVfswB7lSuDBVofKJLVlu4uwAW CB4l4FLwfmgDet/f89b5lFyOZANSn8zewtSvS97QzGUFE3vSci08bNugNaPR5o7SNQ1Q 9TXEJgOtQ3ak3sVMke+oKdHBQv86uOtY2HCkaIQhRVaYtq14xgJRPBsHtW0Jj4D0lKuU rTMuxgEAmZQ8O7K5VccKQqo2qYxvFFMzA347aWrNGKjvec9HMAiz9VnbqI/zHA7ioeLD m4eQ== X-Gm-Message-State: APjAAAVB+1bsVWYzBPNKxsNmvjukiJaUWzmBap521KwgAgHN0bs+Oxi6 cTp7bcl042QNoqe5pKCluz34s6xC X-Google-Smtp-Source: APXvYqwSoHs6AFr5Qbya7PBeiVJlEyI8K3lZrswA7tRoW9mSb4V87tftzuQX3JDdHfdA/kf8O6Typw== X-Received: by 2002:a5d:544d:: with SMTP id w13mr4463582wrv.19.1572029699799; Fri, 25 Oct 2019 11:54:59 -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 r5sm3964847wrs.57.2019.10.25.11.54.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 11:54:59 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Fri, 25 Oct 2019 21:54:48 +0300 Message-Id: <20191025185448.32633-6-asafka7@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191025185448.32633-1-asafka7@gmail.com> References: <20191025185448.32633-1-asafka7@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/1] package/python-reentry: add host variant 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" Packages which use reentry will have setup_requires=['reentry'] and reentry_register=True in their setup.py. A host variant is needed in order to invoke reentry when building the package and register the entrypoints. Signed-off-by: Asaf Kahlon --- package/python-click/python-click.mk | 1 + package/python-pathlib2/python-pathlib2.mk | 1 + package/python-reentry/python-reentry.mk | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/package/python-click/python-click.mk b/package/python-click/python-click.mk index 12539f557b..1c8c28449a 100644 --- a/package/python-click/python-click.mk +++ b/package/python-click/python-click.mk @@ -12,3 +12,4 @@ PYTHON_CLICK_LICENSE_FILES = LICENSE.rst PYTHON_CLICK_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/package/python-pathlib2/python-pathlib2.mk b/package/python-pathlib2/python-pathlib2.mk index d813b77d7e..5fa885235b 100644 --- a/package/python-pathlib2/python-pathlib2.mk +++ b/package/python-pathlib2/python-pathlib2.mk @@ -12,3 +12,4 @@ PYTHON_PATHLIB2_LICENSE_FILES = LICENSE.rst PYTHON_PATHLIB2_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/package/python-reentry/python-reentry.mk b/package/python-reentry/python-reentry.mk index 428dbf2b1b..b4bd33d846 100644 --- a/package/python-reentry/python-reentry.mk +++ b/package/python-reentry/python-reentry.mk @@ -10,5 +10,10 @@ PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/ee/3f/a90789e01c4d PYTHON_REENTRY_SETUP_TYPE = setuptools PYTHON_REENTRY_LICENSE = MIT PYTHON_REENTRY_LICENSE_FILES = LICENSE +HOST_PYTHON_REENTRY_DEPENDENCIES = \ + host-python-six + host-python-click + $(if $(BR2_PACKAGE_PYTHON),host-python-pathlib2,) $(eval $(python-package)) +$(eval $(host-python-package))