[oe,meta-oe,7/8] meson: use tarball instead of git checkout

Message ID 20170626151117.6221-7-ross.burton@intel.com
State New
Headers show
Series
  • [oe,meta-oe,1/8] meson: revert changes which shouldn't have been submitted
Related show

Commit Message

Ross Burton June 26, 2017, 3:11 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta-oe/recipes-devtools/meson/meson_0.40.1.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

-- 
2.11.0

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

Comments

Martin Jansa June 26, 2017, 3:26 p.m. | #1
I still don't trust github archives/releases, can we skip this one?

On Mon, Jun 26, 2017 at 5:11 PM, Ross Burton <ross.burton@intel.com> wrote:

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>  meta-oe/recipes-devtools/meson/meson_0.40.1.bb | 10 +++-------

>  1 file changed, 3 insertions(+), 7 deletions(-)

>

> diff --git a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

> b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

> index ab54b8c79..f33256a10 100644

> --- a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

> +++ b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

> @@ -4,13 +4,9 @@ SUMMARY = "A high performance build system"

>  LICENSE = "Apache-2.0"

>  LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"

>

> -SRC_URI = " \

> -    git://github.com/mesonbuild/meson.git \

> -"

> -

> -SRCREV = "b25d3e4d3f2b4d37029a507cc089bdde643c6240"

> -

> -S = "${WORKDIR}/git"

> +SRC_URI = "https://github.com/mesonbuild/meson/releases/

> download/${PV}/${BP}.tar.gz"

> +SRC_URI[md5sum] = "8475b19d5f5f3bd5c40f4bb1f31b93f3"

> +SRC_URI[sha256sum] = "890ce46e713ea0d061f8203c99fa7d

> 38645354a62e4c207c38ade18db852cbf5"

>

>  inherit setuptools3

>

> --

> 2.11.0

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ross Burton June 28, 2017, 9:21 a.m. | #2
That's not a generated archive but an uploaded tarball.

Ross

On 26 June 2017 at 16:26, Martin Jansa <martin.jansa@gmail.com> wrote:

> I still don't trust github archives/releases, can we skip this one?

>

> On Mon, Jun 26, 2017 at 5:11 PM, Ross Burton <ross.burton@intel.com>

> wrote:

>

>> Signed-off-by: Ross Burton <ross.burton@intel.com>

>> ---

>>  meta-oe/recipes-devtools/meson/meson_0.40.1.bb | 10 +++-------

>>  1 file changed, 3 insertions(+), 7 deletions(-)

>>

>> diff --git a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

>> b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

>> index ab54b8c79..f33256a10 100644

>> --- a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

>> +++ b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb

>> @@ -4,13 +4,9 @@ SUMMARY = "A high performance build system"

>>  LICENSE = "Apache-2.0"

>>  LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"

>>

>> -SRC_URI = " \

>> -    git://github.com/mesonbuild/meson.git \

>> -"

>> -

>> -SRCREV = "b25d3e4d3f2b4d37029a507cc089bdde643c6240"

>> -

>> -S = "${WORKDIR}/git"

>> +SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}

>> /${BP}.tar.gz"

>> +SRC_URI[md5sum] = "8475b19d5f5f3bd5c40f4bb1f31b93f3"

>> +SRC_URI[sha256sum] = "890ce46e713ea0d061f8203c99fa7

>> d38645354a62e4c207c38ade18db852cbf5"

>>

>>  inherit setuptools3

>>

>> --

>> 2.11.0

>>

>> --

>> _______________________________________________

>> Openembedded-devel mailing list

>> Openembedded-devel@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>>

>

>

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

Patch

diff --git a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb
index ab54b8c79..f33256a10 100644
--- a/meta-oe/recipes-devtools/meson/meson_0.40.1.bb
+++ b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb
@@ -4,13 +4,9 @@  SUMMARY = "A high performance build system"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI = " \
-    git://github.com/mesonbuild/meson.git \
-"
-
-SRCREV = "b25d3e4d3f2b4d37029a507cc089bdde643c6240"
-
-S = "${WORKDIR}/git"
+SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/${BP}.tar.gz"
+SRC_URI[md5sum] = "8475b19d5f5f3bd5c40f4bb1f31b93f3"
+SRC_URI[sha256sum] = "890ce46e713ea0d061f8203c99fa7d38645354a62e4c207c38ade18db852cbf5"
 
 inherit setuptools3