diff mbox series

[oe,meta-python,2/2] python-pyflame: Use SHA instead of tag in SRC_URI

Message ID 20180824163456.10528-2-raj.khem@gmail.com
State Accepted
Commit 9b5562e9a21d9ac6f707548a4170f4b6b81da781
Headers show
Series [oe,meta-python,1/2] python-pyflame: Limit support to just glibc based systems | expand

Commit Message

Khem Raj Aug. 24, 2018, 4:34 p.m. UTC
tags are floating and bitbake will ping the remote host
and this will fail in BB_NO_NETWORK cases

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Cc: Andrew Jeffery <andrew@aj.id.au>
---
 meta-python/recipes-devtools/python/python-pyflame.inc      | 2 +-
 meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Andrew Jeffery Aug. 28, 2018, 12:15 a.m. UTC | #1
On Sat, 25 Aug 2018, at 02:04, Khem Raj wrote:
> tags are floating and bitbake will ping the remote host

> and this will fail in BB_NO_NETWORK cases

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> Cc: Andrew Jeffery <andrew@aj.id.au>


Acked-by: Andrew Jeffery <andrew@aj.id.au>


Thanks Khem!

> ---

>  meta-python/recipes-devtools/python/python-pyflame.inc      | 2 +-

>  meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 2 ++

>  2 files changed, 3 insertions(+), 1 deletion(-)

> 

> diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/

> meta-python/recipes-devtools/python/python-pyflame.inc

> index 2ee79f7b8a..71fe769765 100644

> --- a/meta-python/recipes-devtools/python/python-pyflame.inc

> +++ b/meta-python/recipes-devtools/python/python-pyflame.inc

> @@ -5,7 +5,7 @@ LICENSE = "Apache-2.0"

>  LIC_FILES_CHKSUM = "file://${S}/

> LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"

>  DEPENDS = "python"

>  

> -SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}"

> +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https"

>  S = "${WORKDIR}/git"

>  

>  inherit pkgconfig autotools

> diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb 

> b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb

> index abf3ed7fee..8dedb89286 100644

> --- a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb

> +++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb

> @@ -1,4 +1,6 @@

>  require python-pyflame.inc

>  

> +# v1.6.6

> +SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c"

>  SRC_URI += 

> "file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch"

>  SRC_URI += 

> "file://0001-symbol-Account-for-prelinked-shared-objects.patch"

> -- 

> 2.18.0

> 

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/meta-python/recipes-devtools/python/python-pyflame.inc
index 2ee79f7b8a..71fe769765 100644
--- a/meta-python/recipes-devtools/python/python-pyflame.inc
+++ b/meta-python/recipes-devtools/python/python-pyflame.inc
@@ -5,7 +5,7 @@  LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 DEPENDS = "python"
 
-SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}"
+SRC_URI = "git://github.com/uber/pyflame.git;protocol=https"
 S = "${WORKDIR}/git"
 
 inherit pkgconfig autotools
diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
index abf3ed7fee..8dedb89286 100644
--- a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
+++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
@@ -1,4 +1,6 @@ 
 require python-pyflame.inc
 
+# v1.6.6
+SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c"
 SRC_URI += "file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch"
 SRC_URI += "file://0001-symbol-Account-for-prelinked-shared-objects.patch"