From patchwork Mon Jun 22 16:22:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 487298 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E8CDE14010F for ; Tue, 23 Jun 2015 02:22:30 +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=fBcRUnyq; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0E584917F2; Mon, 22 Jun 2015 16:22:30 +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 MfaMfHPT0jxV; Mon, 22 Jun 2015 16:22:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E01268CB5A; Mon, 22 Jun 2015 16:22:22 +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 47CBA1C224C for ; Mon, 22 Jun 2015 16:22:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4395FA1C99 for ; Mon, 22 Jun 2015 16:22:21 +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 OxGULWOIwgpU for ; Mon, 22 Jun 2015 16:22:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 554C4A318D for ; Mon, 22 Jun 2015 16:22:15 +0000 (UTC) Received: by wiwl6 with SMTP id l6so42242491wiw.0 for ; Mon, 22 Jun 2015 09:22:14 -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=3AAdUwzCon3Z8Db5JvmZnNdA0DT7xu6deYxYQqGdUu0=; b=fBcRUnyqkFnXMZIw1O9qmFssK6D0BFGzi3DLzIz8z5nSHHgLpBm3hL5GCghj2n1E83 nW0k+pvPl4ebw2U9gD71qRyisfylHNPWQOK6RNUdbiNdygk5lnTlNUdFi2kgrnynrhW7 FPkGHPswRIVn24d6m8s2UjhH50r3CGchKEBOSugC8u9D0Mf9VUutkfM1JqFpHArPRP4y wpSzy/Q7UgLIfYH4JZjEJUHS1FsoT/f1w2wP+rxZfj8XL0XoHzyA7TfwHeYxXOh6h8ms OfiyrHKr6lwh9gBkueRmD46MjOyB7ZOeb4WK6U7WWsDwq4xCqr81txqLwbhaNVU+7UXd RvYw== X-Received: by 10.180.149.240 with SMTP id ud16mr33017497wib.7.1434990134037; Mon, 22 Jun 2015 09:22:14 -0700 (PDT) Received: from localhost.localdomain (wixan-207-198.fastnet.it. [195.96.207.198]) by mx.google.com with ESMTPSA id q3sm31336642wjr.38.2015.06.22.09.22.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 09:22:13 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Mon, 22 Jun 2015 18:22:06 +0200 Message-Id: <1434990126-2630-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v3] 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. * v2->v3: updated I2C_TOOLS_SOURCE to a more reliable ulr. package/i2c-tools/i2c-tools.hash | 2 +- package/i2c-tools/i2c-tools.mk | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 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..762169a 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_SITE = http://jdelvare.nerim.net/mirror/i2c-tools/ 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) \