Skip to contentSkip to conversation

python-*: use https for pypi URLs

PATCH In review Fabio Berton 2 participants 2 messages Nov 28, 2017 – Dec 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-*: use https for pypi URLs

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.

Apply this commit [1] to pyro branch.

[1] https://www.mail-archive.com/[email protected]/msg02821.html

---
 recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
 recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
 recipes-devtools/python/python-pyyaml_3.11.bb     | 2 +-
 recipes-devtools/python/python-requests_2.8.1.bb  | 2 +-
 recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
 recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
recipes-devtools/python/python-gevent_1.0.1.bb +1 -1
index 47f1267..8ac1295 100644
@@ -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"
 
recipes-devtools/python/python-m2crypto_0.22.3.bb +1 -1
index 95d6eec..9814d3d 100644
@@ -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 \
 "
 
recipes-devtools/python/python-pyyaml_3.11.bb +1 -1
index cb1db8c..9a6f2f6 100644
@@ -18,7 +18,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
 
 SRCNAME = "PyYAML"
-SRC_URI = "http://pyyaml.org/download/pyyaml/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pyyaml.org/download/pyyaml/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "f50e08ef0fe55178479d3a618efe21db"
 SRC_URI[sha256sum] = "c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8"
recipes-devtools/python/python-requests_2.8.1.bb +1 -1
index 187f97a..d266780 100644
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=58c7e163c9f8ee037246da101c6afd1e"
 
 SRCNAME = "requests"
 
-SRC_URI = "http://pypi.python.org/packages/source/r/requests/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/r/requests/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "a27ea3d72d7822906ddce5e252d6add9"
 SRC_URI[sha256sum] = "84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b"
recipes-devtools/python/python-sphinx_1.4.1.bb +1 -1
index 835b369..b4ae86b 100644
@@ -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"
recipes-devtools/python/python-webob_1.6.0.bb +1 -1
index 71c74ff..93f2acf 100644
@@ -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"
Signature · 1 line
2.14.2
#1 lore raw

krogoth, morty and pyro now have these patches applied.

Cheers,

Bruce

On Tue, Nov 28, 2017 at 6:14 AM, Fabio Berton <[email protected]

Quoted 133 lines

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.

Apply this commit [1] to pyro branch.

[1] https://www.mail-archive.com/meta-virtualization@
yoctoproject.org/msg02821.html

---
 recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
 recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
 recipes-devtools/python/python-pyyaml_3.11.bb     | 2 +-
 recipes-devtools/python/python-requests_2.8.1.bb  | 2 +-
 recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
 recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
recipes-devtools/python/python-gevent_1.0.1.bb +0 -0
index 47f1267..8ac1295 100644
@@ -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] = "4627e215d058f71d95e6b26d9e7be4
c263788a4756bd2858a93775f6c072df43"

recipes-devtools/python/python-m2crypto_0.22.3.bb +1 -1
index 95d6eec..9814d3d 100644
@@ -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 \

"

recipes-devtools/python/python-pyyaml_3.11.bb +1 -1
index cb1db8c..9a6f2f6 100644
@@ -18,7 +18,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
 
 SRCNAME = "PyYAML"
-SRC_URI = "http://pyyaml.org/download/pyyaml/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pyyaml.org/download/pyyaml/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "f50e08ef0fe55178479d3a618efe21db"
 SRC_URI[sha256sum] = "c36c938a872e5ff494938b33b14aaa

156cb439ec67548fcab3535bb78b0846e8"

recipes-devtools/python/python-requests_2.8.1.bb +0 -0
index 187f97a..d266780 100644
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=

58c7e163c9f8ee037246da101c6afd1e"

SRCNAME = "requests"

-SRC_URI = "http://pypi.python.org/packages/source/r/requests/${ SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/r/requests/${ SRCNAME}-${PV}.tar.gz"

SRC_URI[md5sum] = "a27ea3d72d7822906ddce5e252d6add9" SRC_URI[sha256sum] = "84fe8d5bf4dcdcc49002446c47a146
d17ac10facf00d9086659064ac43b6c25b"

recipes-devtools/python/python-sphinx_1.4.1.bb +0 -0
index 835b369..b4ae86b 100644
@@ -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] = "c6871a784d24aba9270b6b28541537
a57e2fcf4d7c799410eba18236bc76d6bc"

recipes-devtools/python/python-webob_1.6.0.bb +0 -0
index 71c74ff..93f2acf 100644
@@ -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] = "63d262d8f61b516321f786879c9277
fa2209f7f57eb47b537eeecfea383d55b7"
--
2.14.2

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"