diff mbox

[v2] package/i2c-tools: bump to version 3.1.2

Message ID 1434615148-29568-1-git-send-email-angelo.compagnucci@gmail.com
State Accepted
Headers show

Commit Message

Angelo Compagnucci June 18, 2015, 8:12 a.m. UTC
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(-)

Comments

Thomas Petazzoni June 18, 2015, 9:15 p.m. UTC | #1
Dear Angelo Compagnucci,

On Thu, 18 Jun 2015 10:12:28 +0200, Angelo Compagnucci wrote:
> 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>

I had applied this patch locally, but unfortunately, the lm-sensors
website is dead, so I can't download the new version of i2c-tools.

Thomas
Angelo Compagnucci June 19, 2015, 6:55 a.m. UTC | #2
Dear Thomas Petazzoni,

2015-06-18 23:15 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>:
> Dear Angelo Compagnucci,
>
> On Thu, 18 Jun 2015 10:12:28 +0200, Angelo Compagnucci wrote:
>> 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>
>
> I had applied this patch locally, but unfortunately, the lm-sensors
> website is dead, so I can't download the new version of i2c-tools.

Doh! You are completely right, It's down! What a shame ... Yesterday
was working smoothly ...

Attached you can find the i2c-tools package as I downloaded yesterday
if you want go ahead with your testing.

Thank you!

>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
Angelo Compagnucci June 22, 2015, 11:51 a.m. UTC | #3
Dear Thomas Petazzoni,

2015-06-19 8:55 GMT+02:00 Angelo Compagnucci <angelo.compagnucci@gmail.com>:
> Dear Thomas Petazzoni,
>
> 2015-06-18 23:15 GMT+02:00 Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com>:
>> Dear Angelo Compagnucci,
>>
>> On Thu, 18 Jun 2015 10:12:28 +0200, Angelo Compagnucci wrote:
>>> 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>
>>
>> I had applied this patch locally, but unfortunately, the lm-sensors
>> website is dead, so I can't download the new version of i2c-tools.

Following a conversation I had with Jean Delvare, i2c-tools maintainer:

***
AC:  "It's not just you! http://www.lm-sensor.org looks down from here.

JD: I've noticed it too. Hopefully the admin (Axel Thimm) has noticed as
JD: well and is already looking at the problem.

AC: The website is still down, any news on when it will be up again?

JD: No, I tried to contact the admin via LinkedIn but no reply so far.
JD: If you need to download the latest i2c-tools, I have a mirror on my home
JD: page:
JD: http://jdelvare.nerim.net/mirror/i2c-tools/

AC: No problem for me, I submitted a patch to buildroot and cannot be
AC: tested cause main download site failure. Do you think your mirror is
AC: more stable than the official one? Probably I could switch to use your
AC: mirror!

JD: It's the first time since many years that lm-sensors.org is down,
JD: usually it's quite reliable. My mirror is hosted by my ISP and is
JD: certainly very reliable... Up to you.
***

I'm thinking switching to Jean's mirror if you agree. What do you think?
Thomas Petazzoni June 22, 2015, 1:04 p.m. UTC | #4
Dear Angelo Compagnucci,

On Mon, 22 Jun 2015 13:51:54 +0200, Angelo Compagnucci wrote:

> JD: No, I tried to contact the admin via LinkedIn but no reply so far.
> JD: If you need to download the latest i2c-tools, I have a mirror on my home
> JD: page:
> JD: http://jdelvare.nerim.net/mirror/i2c-tools/
> 
> AC: No problem for me, I submitted a patch to buildroot and cannot be
> AC: tested cause main download site failure. Do you think your mirror is
> AC: more stable than the official one? Probably I could switch to use your
> AC: mirror!
> 
> JD: It's the first time since many years that lm-sensors.org is down,
> JD: usually it's quite reliable. My mirror is hosted by my ISP and is
> JD: certainly very reliable... Up to you.
> ***
> 
> I'm thinking switching to Jean's mirror if you agree. What do you think?

Fine with me.

Thomas
Angelo Compagnucci June 23, 2015, 11:15 a.m. UTC | #5
Dear Thomas Petazzoni,

2015-06-22 15:04 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>:
> Dear Angelo Compagnucci,
>
> On Mon, 22 Jun 2015 13:51:54 +0200, Angelo Compagnucci wrote:
>
>> JD: No, I tried to contact the admin via LinkedIn but no reply so far.
>> JD: If you need to download the latest i2c-tools, I have a mirror on my home
>> JD: page:
>> JD: http://jdelvare.nerim.net/mirror/i2c-tools/
>>
>> AC: No problem for me, I submitted a patch to buildroot and cannot be
>> AC: tested cause main download site failure. Do you think your mirror is
>> AC: more stable than the official one? Probably I could switch to use your
>> AC: mirror!
>>
>> JD: It's the first time since many years that lm-sensors.org is down,
>> JD: usually it's quite reliable. My mirror is hosted by my ISP and is
>> JD: certainly very reliable... Up to you.
>> ***
>>
>> I'm thinking switching to Jean's mirror if you agree. What do you think?
>
> Fine with me.

I marked version 3 of the patch as rejected, cause main download
website lm-sensors.org is up again. Please use version 2 of this
patch.

>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
Thomas Petazzoni June 30, 2015, 9:35 p.m. UTC | #6
Dear Angelo Compagnucci,

On Thu, 18 Jun 2015 10:12:28 +0200, Angelo Compagnucci wrote:
> 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:

Applied, thanks.

Thomas
diff mbox

Patch

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) \