All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python-smbus: update to version 4.0
@ 2018-01-21 16:54 Derek Straka
  2018-02-07  9:05 ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Straka @ 2018-01-21 16:54 UTC (permalink / raw)
  To: openembedded-devel

Fixes issues related to incompatibility with i2c-tools upgrade in oe-core

Signed-off-by: Derek Straka <derek@asterius.io>
---
 meta-python/recipes-devtools/python/python-smbus.inc               | 7 +++----
 .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb}          | 0
 .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb}        | 0
 3 files changed, 3 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-smbus.inc b/meta-python/recipes-devtools/python/python-smbus.inc
index de2a270..0bca58f 100644
--- a/meta-python/recipes-devtools/python/python-smbus.inc
+++ b/meta-python/recipes-devtools/python/python-smbus.inc
@@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
 
-SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-${PV}.tar.bz2 \
-"
-SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
-SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441"
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz "
+SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
+SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f071ca403"
 
 DEPENDS += "i2c-tools"
 
diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python-smbus_4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH] python-smbus: update to version 4.0
  2018-01-21 16:54 [meta-python][PATCH] python-smbus: update to version 4.0 Derek Straka
@ 2018-02-07  9:05 ` Martin Jansa
  2018-02-07 12:55   ` Derek Straka
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2018-02-07  9:05 UTC (permalink / raw)
  To: Derek Straka; +Cc: openembedded-devel

We might need another upgrade for this after last oe-core changes, now it
fails with:

smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or
directory
 #include <linux/i2c-dev-user.h>
          ^~~~~~~~~~~~~~~~~~~~~~

Do you have something already in your queue?

On Sun, Jan 21, 2018 at 5:54 PM, Derek Straka <derek@asterius.io> wrote:

> Fixes issues related to incompatibility with i2c-tools upgrade in oe-core
>
> Signed-off-by: Derek Straka <derek@asterius.io>
> ---
>  meta-python/recipes-devtools/python/python-smbus.inc               | 7
> +++----
>  .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb}          | 0
>  .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb}        | 0
>  3 files changed, 3 insertions(+), 4 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb =>
> python-smbus_4.0.bb} (100%)
>  rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb =>
> python3-smbus_4.0.bb} (100%)
>
> diff --git a/meta-python/recipes-devtools/python/python-smbus.inc
> b/meta-python/recipes-devtools/python/python-smbus.inc
> index de2a270..0bca58f 100644
> --- a/meta-python/recipes-devtools/python/python-smbus.inc
> +++ b/meta-python/recipes-devtools/python/python-smbus.inc
> @@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=17;md5=
> fa24df321a520ff8e10f203425ab9fa8"
>
> -SRC_URI = "http://downloads.yoctoproject.org/mirror/
> sources/i2c-tools-${PV}.tar.bz2 \
> -"
> -SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
> -SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490b
> 149c504468770f58921c8c5b8a7860a441"
> +SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz
> "
> +SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
> +SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f
> 2054bb39f19961d67e0c91610f071ca403"
>
>  DEPENDS += "i2c-tools"
>
> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
> b/meta-python/recipes-devtools/python/python-smbus_4.0.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
> rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb
> diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
> b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
> rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH] python-smbus: update to version 4.0
  2018-02-07  9:05 ` Martin Jansa
@ 2018-02-07 12:55   ` Derek Straka
  2018-02-08 13:59     ` Derek Straka
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Straka @ 2018-02-07 12:55 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Yeah.  IIRC there is a sed to replace the path of the include.  I'll take a
look.

On Feb 7, 2018 4:05 AM, "Martin Jansa" <martin.jansa@gmail.com> wrote:

> We might need another upgrade for this after last oe-core changes, now it
> fails with:
>
> smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or
> directory
>  #include <linux/i2c-dev-user.h>
>           ^~~~~~~~~~~~~~~~~~~~~~
>
> Do you have something already in your queue?
>
> On Sun, Jan 21, 2018 at 5:54 PM, Derek Straka <derek@asterius.io> wrote:
>
>> Fixes issues related to incompatibility with i2c-tools upgrade in oe-core
>>
>> Signed-off-by: Derek Straka <derek@asterius.io>
>> ---
>>  meta-python/recipes-devtools/python/python-smbus.inc               | 7
>> +++----
>>  .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb}          | 0
>>  .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb}        | 0
>>  3 files changed, 3 insertions(+), 4 deletions(-)
>>  rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb =>
>> python-smbus_4.0.bb} (100%)
>>  rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb =>
>> python3-smbus_4.0.bb} (100%)
>>
>> diff --git a/meta-python/recipes-devtools/python/python-smbus.inc
>> b/meta-python/recipes-devtools/python/python-smbus.inc
>> index de2a270..0bca58f 100644
>> --- a/meta-python/recipes-devtools/python/python-smbus.inc
>> +++ b/meta-python/recipes-devtools/python/python-smbus.inc
>> @@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
>>  LICENSE = "GPLv2"
>>  LIC_FILES_CHKSUM = "file://smbusmodule.c;beginlin
>> e=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
>>
>> -SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-
>> ${PV}.tar.bz2 \
>> -"
>> -SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
>> -SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490
>> b149c504468770f58921c8c5b8a7860a441"
>> +SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz
>> "
>> +SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
>> +SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62
>> f2054bb39f19961d67e0c91610f071ca403"
>>
>>  DEPENDS += "i2c-tools"
>>
>> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
>> b/meta-python/recipes-devtools/python/python-smbus_4.0.bb
>> similarity index 100%
>> rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
>> rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb
>> diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
>> b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb
>> similarity index 100%
>> rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
>> rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH] python-smbus: update to version 4.0
  2018-02-07 12:55   ` Derek Straka
@ 2018-02-08 13:59     ` Derek Straka
  0 siblings, 0 replies; 4+ messages in thread
From: Derek Straka @ 2018-02-08 13:59 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Give this one a try:
http://lists.openembedded.org/pipermail/openembedded-devel/2018-February/116666.html

On Wed, Feb 7, 2018 at 7:55 AM, Derek Straka <derek@asterius.io> wrote:

> Yeah.  IIRC there is a sed to replace the path of the include.  I'll take
> a look.
>
> On Feb 7, 2018 4:05 AM, "Martin Jansa" <martin.jansa@gmail.com> wrote:
>
>> We might need another upgrade for this after last oe-core changes, now it
>> fails with:
>>
>> smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or
>> directory
>>  #include <linux/i2c-dev-user.h>
>>           ^~~~~~~~~~~~~~~~~~~~~~
>>
>> Do you have something already in your queue?
>>
>> On Sun, Jan 21, 2018 at 5:54 PM, Derek Straka <derek@asterius.io> wrote:
>>
>>> Fixes issues related to incompatibility with i2c-tools upgrade in oe-core
>>>
>>> Signed-off-by: Derek Straka <derek@asterius.io>
>>> ---
>>>  meta-python/recipes-devtools/python/python-smbus.inc               | 7
>>> +++----
>>>  .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb}          | 0
>>>  .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb}        | 0
>>>  3 files changed, 3 insertions(+), 4 deletions(-)
>>>  rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb =>
>>> python-smbus_4.0.bb} (100%)
>>>  rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb =>
>>> python3-smbus_4.0.bb} (100%)
>>>
>>> diff --git a/meta-python/recipes-devtools/python/python-smbus.inc
>>> b/meta-python/recipes-devtools/python/python-smbus.inc
>>> index de2a270..0bca58f 100644
>>> --- a/meta-python/recipes-devtools/python/python-smbus.inc
>>> +++ b/meta-python/recipes-devtools/python/python-smbus.inc
>>> @@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
>>>  LICENSE = "GPLv2"
>>>  LIC_FILES_CHKSUM = "file://smbusmodule.c;beginlin
>>> e=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
>>>
>>> -SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-
>>> ${PV}.tar.bz2 \
>>> -"
>>> -SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
>>> -SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490
>>> b149c504468770f58921c8c5b8a7860a441"
>>> +SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz
>>> "
>>> +SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
>>> +SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62
>>> f2054bb39f19961d67e0c91610f071ca403"
>>>
>>>  DEPENDS += "i2c-tools"
>>>
>>> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
>>> b/meta-python/recipes-devtools/python/python-smbus_4.0.bb
>>> similarity index 100%
>>> rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
>>> rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb
>>> diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
>>> b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb
>>> similarity index 100%
>>> rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
>>> rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb
>>> --
>>> 2.7.4
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>
>>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-08 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21 16:54 [meta-python][PATCH] python-smbus: update to version 4.0 Derek Straka
2018-02-07  9:05 ` Martin Jansa
2018-02-07 12:55   ` Derek Straka
2018-02-08 13:59     ` Derek Straka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.