[meta-virtualization] [PATCH] python-*: use https for pypi URLs

Mark Asselstine mark.asselstine at windriver.com
Sun Nov 12 17:28:34 PST 2017


On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
<bruce.ashfield at gmail.com> wrote:
> First I've seen of this.  It was filed as spam by gmail.
>
> Was I actually copied on the original ? That's the best way to make
> sure it doesn't
> get lost.
>
> I'll have a look at it in the next day or so, now that it has been
> yanked out of the bin :)

I have been moving things to inherit pypi while moving things to
stable/pike. By doing so we can most often drop the SRC_URI line and
in this way we *should* stay current with the pypi best practices.
This commit will conflict with my webob update that off the top of my
head you merged this week Bruce. Instead of merging this I will move
any recipes that remain to inherit pypi if that is alright with the
two of you.

Mark

>
> Cheers,
>
> Bruce
>
> On Sun, Nov 12, 2017 at 3:01 PM, Paul Eggleton
> <paul.eggleton at linux.intel.com> wrote:
>> On Tuesday, 31 October 2017 11:54:13 AM NZDT Paul Eggleton wrote:
>>> Several of the recipes here were using http URLs for source hosted on
>>> pypi - pypi apparently no longer supports http so switch to https
>>> instead.
>>>
>>> Fixes [YOCTO #12286].
>>>
>>> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
>>> ---
>>>  recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
>>>  recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
>>>  recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
>>>  recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
>>>  4 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
>>> index 47f1267..8ac1295 100644
>>> --- a/recipes-devtools/python/python-gevent_1.0.1.bb
>>> +++ b/recipes-devtools/python/python-gevent_1.0.1.bb
>>> @@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
>>>
>>>  SRCNAME = "gevent"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>>  SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
>>>  SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
>>>
>>> diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> index 95d6eec..9814d3d 100644
>>> --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> @@ -14,7 +14,7 @@ LICENSE = "BSD"
>>>  LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
>>>
>>>  SRCNAME = "M2Crypto"
>>> -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>> +SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>>             file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
>>>  "
>>>
>>> diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> index 835b369..b4ae86b 100644
>>> --- a/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
>>>  PR = "r0"
>>>  SRCNAME = "Sphinx"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>
>>>  SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
>>>  SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
>>> diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
>>> index 71c74ff..93f2acf 100644
>>> --- a/recipes-devtools/python/python-webob_1.6.0.bb
>>> +++ b/recipes-devtools/python/python-webob_1.6.0.bb
>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
>>>  PR = "r0"
>>>  SRCNAME = "WebOb"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>
>>>  SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
>>>  SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
>>>
>>
>> ping ?
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>> --
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


More information about the meta-virtualization mailing list