From patchwork Wed Jul 12 16:27:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 787350 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x74Bn5xMmz9s4s for ; Thu, 13 Jul 2017 02:28:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9AC7987BBC; Wed, 12 Jul 2017 16:28:30 +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 CyzH-06_NWeU; Wed, 12 Jul 2017 16:28:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4E26687BBE; Wed, 12 Jul 2017 16:28:29 +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 3A46F1C0D21 for ; Wed, 12 Jul 2017 16:28:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 23D9088A6D for ; Wed, 12 Jul 2017 16:28:20 +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 N222pk4ra2sr for ; Wed, 12 Jul 2017 16:28:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by whitealder.osuosl.org (Postfix) with ESMTP id C9D6388588 for ; Wed, 12 Jul 2017 16:28:18 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id E4AE821FC6; Wed, 12 Jul 2017 18:28:15 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id AAEC521FC7; Wed, 12 Jul 2017 18:28:05 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List , Yegor Yefremov Date: Wed, 12 Jul 2017 18:27:58 +0200 Message-Id: <20170712162801.31131-6-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170712162801.31131-1-thomas.petazzoni@free-electrons.com> References: <20170712162801.31131-1-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 5/8] python-json-schema-validator: needs versiontools on the host 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" python-json-schema-validator does not need versiontools on the target, but only on the host, as it's listed in setup_requires in setup.py. This was not noticed so far because host Python interpreter is started with a PYTHONPATH that contains a directory with target Python packages, so versiontools was found there. But as we are about to fix PYTHONPATH to no longer include such a directory, python-json-schema-validator would fail due to versiontools being missed on the host. Signed-off-by: Thomas Petazzoni Reviewed-by: Yegor Yefremov --- package/python-json-schema-validator/Config.in | 1 - package/python-json-schema-validator/python-json-schema-validator.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/python-json-schema-validator/Config.in b/package/python-json-schema-validator/Config.in index dbc5328..e50e8ee 100644 --- a/package/python-json-schema-validator/Config.in +++ b/package/python-json-schema-validator/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR bool "python-json-schema-validator" - select BR2_PACKAGE_PYTHON_VERSIONTOOLS help JSON Schema Validator diff --git a/package/python-json-schema-validator/python-json-schema-validator.mk b/package/python-json-schema-validator/python-json-schema-validator.mk index 6accbd6..c0a335c 100644 --- a/package/python-json-schema-validator/python-json-schema-validator.mk +++ b/package/python-json-schema-validator/python-json-schema-validator.mk @@ -9,6 +9,6 @@ PYTHON_JSON_SCHEMA_VALIDATOR_SOURCE = json-schema-validator-$(PYTHON_JSON_SCHEMA PYTHON_JSON_SCHEMA_VALIDATOR_SITE = https://pypi.python.org/packages/70/46/ba39cb7efad1898cfc89bf3588b8612f24d128f1c25b761994f524a59cef PYTHON_JSON_SCHEMA_VALIDATOR_LICENSE = LGPL-3.0 PYTHON_JSON_SCHEMA_VALIDATOR_SETUP_TYPE = setuptools -PYTHON_JSON_SCHEMA_VALIDATOR_DEPENDENCIES = python-versiontools +PYTHON_JSON_SCHEMA_VALIDATOR_DEPENDENCIES = host-python-versiontools $(eval $(python-package))