Skip to contentSkip to conversation

python-setuptools: Upgrade to v 25.1.0

PATCH In review Alejandro Hernandez 2 participants 3 messages Jul 28, 2016 – Aug 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python-setuptools: Upgrade to v 25.1.0

LICENCE checksum did not change, it is emebedded on the setup.py file, this file changed, so the line number where we get the checksum changed.

---
 meta/recipes-devtools/python/python-setuptools.inc |  6 ++--
 .../python/python-setuptools_22.0.5.bb             | 38 ----------------------
 .../python/python-setuptools_25.1.0.bb             | 38 ++++++++++++++++++++++
 3 files changed, 41 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-setuptools_22.0.5.bb
 create mode 100644 meta/recipes-devtools/python/python-setuptools_25.1.0.bb
meta/recipes-devtools/python/python-setuptools.inc +3 -3
index 53a514b..f435e68 100644
@@ -3,14 +3,14 @@ HOMEPAGE = "https://pypi.python.org/pypi/setuptools"
 SECTION = "devel/python"
 LICENSE = "MIT"
 
-LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=155;endline=155;md5=3e8df024d6c1442d18e84acf8fbbc475"
 
 SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"
-SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"
+SRC_URI[md5sum] = "a4814dead37e74a86883c66f7d420d73"
+SRC_URI[sha256sum] = "6a0f8111feb5a3438c6309cda49810a16d23e73c173331281edc37dd1374d1d5"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
meta/recipes-devtools/python/python-setuptools_22.0.5.bb deleted +0 -38
deleted file mode 100644
index c172039..0000000
@@ -1,38 +0,0 @@
-require python-setuptools.inc
-
-PROVIDES = "python-distribute"
-
-DEPENDS += "python"
-DEPENDS_class-native += "python-native"
-
-inherit distutils
-
-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
-
-RDEPENDS_${PN} = "\
-  python-stringold \
-  python-email \
-  python-shell \
-  python-distutils \
-  python-compression \
-  python-pkgutil \
-  python-plistlib \
-  python-numbers \
-  python-html \
-  python-netserver \
-  python-ctypes \
-  python-subprocess \
-  python-unittest \
-  python-compile \
-"
-
-RDEPENDS_${PN}_class-native = "\
-  python-distutils \
-  python-compression \
-"
-
-RREPLACES_${PN} = "python-distribute"
-RPROVIDES_${PN} = "python-distribute"
-RCONFLICTS_${PN} = "python-distribute"
-
-BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python-setuptools_25.1.0.bb new file +38 -0
new file mode 100644
index 0000000..c172039
@@ -0,0 +1,38 @@
+require python-setuptools.inc
+
+PROVIDES = "python-distribute"
+
+DEPENDS += "python"
+DEPENDS_class-native += "python-native"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
+
+RDEPENDS_${PN} = "\
+  python-stringold \
+  python-email \
+  python-shell \
+  python-distutils \
+  python-compression \
+  python-pkgutil \
+  python-plistlib \
+  python-numbers \
+  python-html \
+  python-netserver \
+  python-ctypes \
+  python-subprocess \
+  python-unittest \
+  python-compile \
+"
+
+RDEPENDS_${PN}_class-native = "\
+  python-distutils \
+  python-compression \
+"
+
+RREPLACES_${PN} = "python-distribute"
+RPROVIDES_${PN} = "python-distribute"
+RCONFLICTS_${PN} = "python-distribute"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.6.6
#1 lore raw
Quoted 15 lines · Alejandro Hernandez

LICENCE checksum did not change, it is emebedded on the setup.py file,
this file changed, so the line number where we get the checksum changed.

Signed-off-by: Alejandro Hernandez <
[email protected]>

---
 meta/recipes-devtools/python/python-setuptools.inc |  6 ++--
 .../python/python-setuptools_22.0.5.bb             | 38 ------------
----------
 .../python/python-setuptools_25.1.0.bb             | 38
++++++++++++++++++++++
 3 files changed, 41 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python

Review

Quoted 3 lines
(quoted diff) +0 -2
-setuptools_22.0.5.bb
 create mode 100644 meta/recipes-devtools/python/python
-setuptools_25.1.0.bb

This patch results in:

ERROR: python3-setuptools-22.0.5-r0 do_fetch: Checksum failure fetching https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-22.0.5.tar.gz
ERROR: python3-setuptools-22.0.5-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-22.0.5.tar.gz'. Checksum mismatch!
File: '/media/build3/sources/setuptools-22.0.5.tar.gz' has md5 checksum 869f3029dcc66a64ba39875e2a2f044a when a4814dead37e74a86883c66f7d420d73 was expected
File: '/media/build3/sources/setuptools-22.0.5.tar.gz' has sha256 checksum 19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb when 6a0f8111feb5a3438c6309cda49810a16d23e73c173331281edc37dd1374d1d5 was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"
SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp/work/core2-64-poky-linux/python3-setuptools/22.0.5-r0/temp/log.do_fetch.131527
ERROR: Task /media/build1/poky/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb:do_fetch (/media/build1/poky/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb:do_fetch) failed with exit code '1'

Since I suspect there is a common file between python and python3...

Cheers,

Richard

#2 lore raw
Quoted 30 lines · Richard Purdie
Quoted 15 lines · Alejandro Hernandez

LICENCE checksum did not change, it is emebedded on the setup.py file,
this file changed, so the line number where we get the checksum changed.

Signed-off-by: Alejandro Hernandez <
[email protected]>

---
  meta/recipes-devtools/python/python-setuptools.inc |  6 ++--
  .../python/python-setuptools_22.0.5.bb             | 38 ------------
----------
  .../python/python-setuptools_25.1.0.bb             | 38
++++++++++++++++++++++
  3 files changed, 41 insertions(+), 41 deletions(-)

delete mode 100644 meta/recipes-devtools/python/python

Review

Quoted 3 lines
(quoted diff) +0 -2
-setuptools_22.0.5.bb
  create mode 100644 meta/recipes-devtools/python/python
-setuptools_25.1.0.bb

This patch results in:

ERROR: python3-setuptools-22.0.5-r0 do_fetch: Checksum failure fetching https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-22.0.5.tar.gz
ERROR: python3-setuptools-22.0.5-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-22.0.5.tar.gz'. Checksum mismatch!
File: '/media/build3/sources/setuptools-22.0.5.tar.gz' has md5 checksum 869f3029dcc66a64ba39875e2a2f044a when a4814dead37e74a86883c66f7d420d73 was expected
File: '/media/build3/sources/setuptools-22.0.5.tar.gz' has sha256 checksum 19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb when 6a0f8111feb5a3438c6309cda49810a16d23e73c173331281edc37dd1374d1d5 was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"
SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

Quoted 4 lines

ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp/work/core2-64-poky-linux/python3-setuptools/22.0.5-r0/temp/log.do_fetch.131527
ERROR: Task /media/build1/poky/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb:do_fetch (/media/build1/poky/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb:do_fetch) failed with exit code '1'

Since I suspect there is a common file between python and python3...

Oh sorry, I forgot to rename the python3-setuptools bb file, sending it soon.

Quoted 4 lines

Cheers,

Richard