All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Stefan Agner <stefan@agner.ch>
Cc: openembedded-devel@lists.openembedded.org,
	Stefan Agner <stefan.agner@toradex.com>
Subject: Re: [meta-python][PATCH] python-smbus: upgrade to 3.1.2
Date: Thu, 30 Mar 2017 11:48:13 +0200	[thread overview]
Message-ID: <20170330094813.GE3060@jama> (raw)
In-Reply-To: <1490659416-14589-1-git-send-email-stefan@agner.ch>

[-- Attachment #1: Type: text/plain, Size: 3499 bytes --]

On Mon, Mar 27, 2017 at 05:03:36PM -0700, Stefan Agner wrote:
> From: Stefan Agner <stefan.agner@toradex.com>
> 
> Upgrade to 3.1.2 and use Yocto source mirror to follow commit f76fe46e098d
> ("i2c-tools: point SRC_URI at Yocto source mirrors") in OpenEmbedded cores
> i2c-tools recipe.
> 
> With the upgrade to i2c-tools 3.1.2 Python 3 support has been added. To
> support Python 3 add a common recipe for all common information and one for
> each supported Python version 2 and 3.

Fails here:
http://errors.yoctoproject.org/Errors/Details/138492/
http://errors.yoctoproject.org/Errors/Details/138494/

> 
> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
> ---
>  .../python/{python-smbus_3.1.1.bb => python-smbus.inc}            | 8 +++-----
>  meta-python/recipes-devtools/python/python-smbus_3.1.2.bb         | 2 ++
>  meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb        | 2 ++
>  3 files changed, 7 insertions(+), 5 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-smbus_3.1.1.bb => python-smbus.inc} (64%)
>  create mode 100644 meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
> 
> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb b/meta-python/recipes-devtools/python/python-smbus.inc
> similarity index 64%
> rename from meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
> rename to meta-python/recipes-devtools/python/python-smbus.inc
> index df47df6..71de976 100644
> --- a/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
> +++ b/meta-python/recipes-devtools/python/python-smbus.inc
> @@ -2,15 +2,13 @@ SUMMARY = "Set of i2c tools for linux - Python module"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
>  
> -SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
> +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-${PV}.tar.bz2 \
>  "
> -SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
> -SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
> +SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
> +SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441"
>  
>  DEPENDS = "i2c-tools"
>  
> -inherit distutils
> -
>  S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
>  
>  do_configure_prepend() {
> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
> new file mode 100644
> index 0000000..1b95778
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
> @@ -0,0 +1,2 @@
> +inherit distutils
> +require python-smbus.inc
> diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
> new file mode 100644
> index 0000000..b357bcd
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
> @@ -0,0 +1,2 @@
> +inherit distutils3
> +require python-smbus.inc
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

      reply	other threads:[~2017-03-30  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28  0:03 [meta-python][PATCH] python-smbus: upgrade to 3.1.2 Stefan Agner
2017-03-30  9:48 ` Martin Jansa [this message]

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=20170330094813.GE3060@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=stefan.agner@toradex.com \
    --cc=stefan@agner.ch \
    /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 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.