From patchwork Thu Jun 18 08:12:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 486117 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 5BFA314028F for ; Thu, 18 Jun 2015 18:12:48 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=LxgCU5JS; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AD255A2E0C; Thu, 18 Jun 2015 08:12:47 +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 REoaRwa8cFrT; Thu, 18 Jun 2015 08:12:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CF5A2A2E25; Thu, 18 Jun 2015 08:12:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E762C1C0E8B for ; Thu, 18 Jun 2015 08:12:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E32A9A2E25 for ; Thu, 18 Jun 2015 08:12:41 +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 a3b2jNkDu0XG for ; Thu, 18 Jun 2015 08:12:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9520EA2E0C for ; Thu, 18 Jun 2015 08:12:37 +0000 (UTC) Received: by wiwd19 with SMTP id d19so14777691wiw.0 for ; Thu, 18 Jun 2015 01:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LIFwb4nB/DHeJvQIKQjKhfV2mkVQEwEnJAHVASdkw+Y=; b=LxgCU5JSMDJkGSwaHa1Z0W5Q6cQGoeU9Braate8RgodvBFowgPoswCCEVNinqb11qk Uv6glusqNv1M0D4ZqbrZyQRfQwGzfAqTpjj3nfWY98nqu7Qy6IOavEpF3YUWsVR5gg4g IXbRsOfylDE0wtP6ozpdJHmnbuHkXkEINWaKC6XCc7Ib0SYzJa6utlUvWqowieNPX0y3 QhdfvjY5VMjE/JHk92xn0Py9fcr8E4iU6+yyNYnDL5QIBnThqhIkoppblkOumHqq71ug jaCqJSZWrM16Lwwn5ccuAa1ICjveQYTWSFjjag1/YJ2WczixAGw9YzX0abKBPkiA1S5I Dghg== X-Received: by 10.194.84.179 with SMTP id a19mr13246411wjz.29.1434615156264; Thu, 18 Jun 2015 01:12:36 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.100]) by mx.google.com with ESMTPSA id ym2sm11022281wjc.44.2015.06.18.01.12.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 01:12:35 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 18 Jun 2015 10:12:28 +0200 Message-Id: <1434615148-29568-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v2] package/i2c-tools: bump to version 3.1.2 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 patch bumps version to 3.1.2 and adds support for the recently introduced python3 support for py-smbus. Signed-off-by: Angelo Compagnucci --- Changes: v1->v2: changed ifeq construct to a more appropriate one. package/i2c-tools/i2c-tools.hash | 2 +- package/i2c-tools/i2c-tools.mk | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/i2c-tools/i2c-tools.hash b/package/i2c-tools/i2c-tools.hash index a6c376f..c12ffe8 100644 --- a/package/i2c-tools/i2c-tools.hash +++ b/package/i2c-tools/i2c-tools.hash @@ -1,2 +1,2 @@ # locally computed hash -sha256 14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700 i2c-tools-3.1.1.tar.bz2 +sha256 db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441 i2c-tools-3.1.2.tar.bz2 diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk index 6c156ca..187bd09 100644 --- a/package/i2c-tools/i2c-tools.mk +++ b/package/i2c-tools/i2c-tools.mk @@ -4,16 +4,23 @@ # ################################################################################ -I2C_TOOLS_VERSION = 3.1.1 +I2C_TOOLS_VERSION = 3.1.2 I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2 I2C_TOOLS_SITE = http://dl.lm-sensors.org/i2c-tools/releases I2C_TOOLS_LICENSE = GPLv2+, GPLv2 (py-smbus) I2C_TOOLS_LICENSE_FILES = COPYING -# Build/install steps mirror the distutil python package type in the python package -# infrastructure ifeq ($(BR2_PACKAGE_PYTHON),y) I2C_TOOLS_DEPENDENCIES += python +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +I2C_TOOLS_DEPENDENCIES += python3 +endif + +# Build/install steps mirror the distutil python package type in the python package +# infrastructure +ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) # BASE_ENV taken from PKG_PYTHON_DISTUTILS_ENV in package/pkg-python.mk I2C_TOOLS_PYTHON_BASE_ENV = \ $(PKG_PYTHON_DISTUTILS_ENV) \