From patchwork Sun Nov 8 17:08:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Noonan X-Patchwork-Id: 541467 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]) by ozlabs.org (Postfix) with ESMTP id 8DE2F140322 for ; Mon, 9 Nov 2015 04:08:17 +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=mlH0uL97; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D95A4877AA; Sun, 8 Nov 2015 17:08:16 +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 LkMy07pFeE2b; Sun, 8 Nov 2015 17:08:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 23ACF86A2B; Sun, 8 Nov 2015 17:08:16 +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 D2AF91C1046 for ; Sun, 8 Nov 2015 17:08:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CD47588B58 for ; Sun, 8 Nov 2015 17:08:14 +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 PotlRoXF33mu for ; Sun, 8 Nov 2015 17:08:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4881288099 for ; Sun, 8 Nov 2015 17:08:14 +0000 (UTC) Received: by pasz6 with SMTP id z6so178072980pas.2 for ; Sun, 08 Nov 2015 09:08:14 -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:in-reply-to:references; bh=WBg1m8uNEVHRI5qyVDioPH2HgqTIiowLrbyaOUJR1O4=; b=mlH0uL97+YZ9TT1EILVtajyQq7ZsENwCiftSSUBPChnEpHvfNUvzDoz2Qu6kcsJPbu 6ASkguTOfNlXvYQLjJxB+7l9dnmVpUIlLQLpVWoJYr13sJ9ZlhSmGeVDphHZJlYEf3Gk zeOXpUKd3CHtSCu9Jqev74DQQm81CImFLQHYSwnsv5S8HnKgqqeRy+sz7hIbdMzRvwvQ ykbixisjZ95bmr53eFKCe1UBMIRq++14shGiRB9TmhvfFFwbfTzYBpxOty8Ln+Q5r4c0 jku5AJq3CN8KfeY/pUdl64R4iptMioWmJJO5/eXBlxIUjsM2LKii3/t293YORZcJ5tjf ygZw== 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:in-reply-to :references; bh=WBg1m8uNEVHRI5qyVDioPH2HgqTIiowLrbyaOUJR1O4=; b=WeAM1tSxZZPUxl7atibMr0XOdKo5KYR1/gAde//r7NKLHLXSBjhJYtYmT4uyPhyoFw rWndfvTYYpurzc3YtfF6d0KzuzWIerO+1PXmu7aCOvm6MR0y4zzaWEcAaaJSc27sb0P/ hUJ0FSZYRPXavFQQ32kMv4iPxUejc3isuBzZKu2TgU3OSRHVt0K/12ZPdZtlLvSKj7yv HFUjpvVe8QyLSoednZXKvrP8ubQLWrwzkqSDnaOr6spdmRXnQwDsF9JPeYslpMerWqLy dPcoewp0j55GaEhGfP153g+ME7UBIYD6GEouMSUbSPrxs1tvVcqdtASQbDIIlga+fjzJ Fd4A== X-Gm-Message-State: ALoCoQmKf+wRVl4KtKFuNFvLTyFcG4QswrnCURE6XEyMsQrWgmlNx292kAhNWoNkADvD52AdE9R8 X-Received: by 10.68.172.228 with SMTP id bf4mr33674690pbc.169.1447002493876; Sun, 08 Nov 2015 09:08:13 -0800 (PST) Received: from steven@uplinklabs.net ([2605:9080:1012:1f21:ec4:7aff:fe6a:4977]) by smtp.gmail.com with ESMTPSA id ef2sm10634312pbc.92.2015.11.08.09.08.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Nov 2015 09:08:12 -0800 (PST) Received: by steven@uplinklabs.net (sSMTP sendmail emulation); Sun, 08 Nov 2015 09:08:10 -0800 From: Steven Noonan To: buildroot@buildroot.org Date: Sun, 8 Nov 2015 09:08:09 -0800 Message-Id: <1447002489-2373-1-git-send-email-steven@uplinklabs.net> X-Mailer: git-send-email 2.6.2 In-Reply-To: References: Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] 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. Signed-off-by: Steven Noonan Cc: Thomas Petazzoni Tested-by: Thomas Petazzoni --- ...2.6.1-disable-unneeded-build-dependencies.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/python-protobuf/protobuf-2.6.1-disable-unneeded-build-dependencies.patch diff --git a/package/python-protobuf/protobuf-2.6.1-disable-unneeded-build-dependencies.patch b/package/python-protobuf/protobuf-2.6.1-disable-unneeded-build-dependencies.patch new file mode 100644 index 0000000..3f0eabd --- /dev/null +++ b/package/python-protobuf/protobuf-2.6.1-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 +