From patchwork Tue Nov 10 01:24:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Noonan X-Patchwork-Id: 542095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 5500D1402BF for ; Tue, 10 Nov 2015 12:24:59 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=uplinklabs_net.20150623.gappssmtp.com header.i=@uplinklabs_net.20150623.gappssmtp.com header.b=eXBiHxbt; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 32E3F88561; Tue, 10 Nov 2015 01:24:58 +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 AS-g5AojUEN2; Tue, 10 Nov 2015 01:24:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5909A88467; Tue, 10 Nov 2015 01:24:56 +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 E4F681C0E0E for ; Tue, 10 Nov 2015 01:24:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DE1178829A for ; Tue, 10 Nov 2015 01:24:55 +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 q1f+POMvSRJ1 for ; Tue, 10 Nov 2015 01:24:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id B8F9C8828A for ; Tue, 10 Nov 2015 01:24:54 +0000 (UTC) Received: by pacdm15 with SMTP id dm15so192501788pac.3 for ; Mon, 09 Nov 2015 17:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uplinklabs_net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=JvEjOywVPTyyiFc/8nYnvTXbogMIHBLtibPBqBQUoR0=; b=eXBiHxbtK+nKNl0JTGSh/3uLfwrplLk2BP7gJPkQ0RkqJLufwakFFJT/yojWdHzYI8 YAJuXfzH97ZWU2vFxCNuGJE9C3ZllundkeQK1UAEHC3tR4djYJ1MnSuPSS9bqNtJs7kw 4P/zid4YzEdfO6du3sJNrT5mFasaz5oDs9zagzWnr8V4Xvv7Odiby0XlAtFkaaLxfABT H6UkaQD1NM3Jd/2dMfbBRY45B7lq33DKV1QfstC3VvV6t60r7wgzV84gc8ros/g1IuV8 hz9mRAiHjtfpF4vV79RHFxSpVlsvZwWmQpba4Q8cOZ8bjSsrfHjcdO5KERfJa1L1OA27 ElpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JvEjOywVPTyyiFc/8nYnvTXbogMIHBLtibPBqBQUoR0=; b=bRO399j1X7/xVILVrKNzgF4rxs+KtCsHVA3nKFFr2WhRWUBIOq82tVlTNF85iuyR8m 8gNQXIDQ3+Yc2HIIUBhTvx13EqCx5QDf+qwVLL3mGUio3Vf+QHy/sc8F69FeIPWnIU7h d8QNLIKlbAEXmZFkRLFmyeItWDPIOUESmF9X8OKtKSPMUOy/aC2j5m1U6pTse6/sypJr +XUf3fKOc9bid3jRLQXq4MJQwY/PTPjGUNZo0p4Y22/vX7KiMYuh50Nv96YsOPz0Rc4t MqgQT59tofgp0eZxg8Tg8sFnKVVcfzxks7ef/qZM2tsAI2mueDfXIanP1vmln6Q+CfRl 8yrA== X-Gm-Message-State: ALoCoQlTh+3o3uHDsgU9QVl1c5Ne5MU/rEmSV7VOz2jjQsXfbthAOr8Nk3sgAZ9oJFCp5rnDesfS X-Received: by 10.68.216.36 with SMTP id on4mr1596149pbc.12.1447118694098; Mon, 09 Nov 2015 17:24:54 -0800 (PST) Received: from steven@uplinklabs.net ([2605:9080:1012:1f21:ec4:7aff:fe6a:4977]) by smtp.gmail.com with ESMTPSA id cs7sm567968pad.35.2015.11.09.17.24.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 17:24:52 -0800 (PST) Received: by steven@uplinklabs.net (sSMTP sendmail emulation); Mon, 09 Nov 2015 17:24:50 -0800 From: Steven Noonan To: buildroot@buildroot.org Date: Mon, 9 Nov 2015 17:24:46 -0800 Message-Id: <1447118686-10548-1-git-send-email-steven@uplinklabs.net> X-Mailer: git-send-email 2.6.2 Subject: [Buildroot] [PATCH v2] package/python-protobuf: eliminate unneeded build-time dependencies 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" This was causing unexpected HTTP requests by the setup.py script for python-protobuf. These "dependencies" aren't actually required for a successful build, and are not staged into the target install directory. Fixes: http://autobuild.buildroot.org/results/e44/e44694f30e39266491a1040e284e504d6d37ef9e/ Signed-off-by: Steven Noonan Tested-by: Thomas Petazzoni --- v2: renamed .patch file, added 'Fixes' annotation, added Tested-by. .../0001-disable-unneeded-build-dependencies.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/python-protobuf/0001-disable-unneeded-build-dependencies.patch diff --git a/package/python-protobuf/0001-disable-unneeded-build-dependencies.patch b/package/python-protobuf/0001-disable-unneeded-build-dependencies.patch new file mode 100644 index 0000000..3f0eabd --- /dev/null +++ b/package/python-protobuf/0001-disable-unneeded-build-dependencies.patch @@ -0,0 +1,37 @@ +From 7e7db7225e227905acabfa2149152ece21c93e70 Mon Sep 17 00:00:00 2001 +From: Steven Noonan +Date: Sun, 8 Nov 2015 09:03:00 -0800 +Subject: [PATCH] python-protobuf: don't require google-apputils + +This dependency is totally superfluous for successfully building/running +python-protobuf. It's only "required" at build time and is not staged into the +install directory, but it isn't even really required for a successful build. + +Signed-off-by: Steven Noonan +--- + python/setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/python/setup.py b/python/setup.py +index 2450a77..db6f497 100755 +--- a/python/setup.py ++++ b/python/setup.py +@@ -160,7 +160,6 @@ if __name__ == '__main__': + packages = [ 'google' ], + namespace_packages = [ 'google' ], + test_suite = 'setup.MakeTestSuite', +- google_test_dir = "google/protobuf/internal", + # Must list modules explicitly so that we don't install tests. + py_modules = [ + 'google.protobuf.internal.api_implementation', +@@ -189,7 +188,6 @@ if __name__ == '__main__': + 'google.protobuf.text_format'], + cmdclass = { 'clean': clean, 'build_py': build_py }, + install_requires = ['setuptools'], +- setup_requires = ['google-apputils'], + ext_modules = ext_module_list, + url = 'https://developers.google.com/protocol-buffers/', + maintainer = maintainer_email, +-- +2.6.2 +