From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package/i2c-tools: bump to version 3.1.2
Date: Thu, 18 Jun 2015 10:12:28 +0200 [thread overview]
Message-ID: <1434615148-29568-1-git-send-email-angelo.compagnucci@gmail.com> (raw)
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 <angelo.compagnucci@gmail.com>
---
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) \
--
1.9.1
next reply other threads:[~2015-06-18 8:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 8:12 Angelo Compagnucci [this message]
2015-06-18 21:15 ` [Buildroot] [PATCH v2] package/i2c-tools: bump to version 3.1.2 Thomas Petazzoni
2015-06-19 6:55 ` Angelo Compagnucci
2015-06-22 11:51 ` Angelo Compagnucci
2015-06-22 13:04 ` Thomas Petazzoni
2015-06-23 11:15 ` Angelo Compagnucci
2015-06-30 21:35 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434615148-29568-1-git-send-email-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox