From patchwork Wed Jun 17 15:57:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 485587 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 37A6E140283 for ; Thu, 18 Jun 2015 01:58:18 +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=WBsDxrWr; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3BDB8A19E2; Wed, 17 Jun 2015 15:58:17 +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 TRy1NFD1f9Tz; Wed, 17 Jun 2015 15:58:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2F03CA17C6; Wed, 17 Jun 2015 15:58:15 +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 EABB51BFEEA for ; Wed, 17 Jun 2015 15:58:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E61B58A804 for ; Wed, 17 Jun 2015 15:58:13 +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 yQmCP6Yf8yPq for ; Wed, 17 Jun 2015 15:58:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by hemlock.osuosl.org (Postfix) with ESMTPS id C249F8A7B6 for ; Wed, 17 Jun 2015 15:58:11 +0000 (UTC) Received: by wiwd19 with SMTP id d19so138186145wiw.0 for ; Wed, 17 Jun 2015 08:58:10 -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=YgyrdsQRUQDXM8J2WiqdCTZ+FGnBie1E3BXpB4wIf08=; b=WBsDxrWrP0QvoK3H5LENmNu3ELq7CCCTUHBnE2fuGfRG8rq17Sl5CaM36/IYd76kAm g5xo+ERL3h4QVgbRq/FXJRHT4aZBP43fUyPDOA+amcVVH+vKmUDCQdmrijsNs0NCLuj+ E1xueoPq5YdUUX6SzzSoncdVOH4HAfv2tHtdETlT5pNgpXDU+h0yNL0i+ibc3xwvx3gI yzgRQKUjCZ4uPTU7yBUfZqDtDij2vaon698e+GCYbcZ+OVM4glJE+uGHKQBGocquyplk kBJWnTcxTtFHON4ge+4zGY1xpzeYkqXP/6gnICB5idE2c7myz3Ea83VV1e/z306wia6p k/6Q== X-Received: by 10.194.5.135 with SMTP id s7mr7187986wjs.115.1434556690423; Wed, 17 Jun 2015 08:58:10 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.100]) by mx.google.com with ESMTPSA id bh7sm7469540wjb.8.2015.06.17.08.58.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 08:58:09 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.net Date: Wed, 17 Jun 2015 17:57:58 +0200 Message-Id: <1434556678-32346-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] 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 --- 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..5fe4a6f 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 +ifneq ($(filter y,$(BR2_PACKAGE_PYTHON) $(BR2_PACKAGE_PYTHON3)),) # BASE_ENV taken from PKG_PYTHON_DISTUTILS_ENV in package/pkg-python.mk I2C_TOOLS_PYTHON_BASE_ENV = \ $(PKG_PYTHON_DISTUTILS_ENV) \