[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] python3-setuptools: upgrade to 29.0.1
From:       Edwin Plauchu <edwin.plauchu.camacho () linux ! intel ! com>
Date:       2016-11-30 16:05:54
Message-ID: 20161130160554.14737-1-edwin.plauchu.camacho () linux ! intel ! com
[Download RAW message or body]

From: Edwin Plauchu <edwin.plauchu.camacho@intel.com>

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
---
 meta/recipes-devtools/python/python-setuptools.inc |   6 +-
 ...tools_22.0.5.bb => python-setuptools_28.8.0.bb} |   0
 ...ools_22.0.5.bb => python3-setuptools_29.0.1.bb} |   0
 tatus                                              | 109 +++++++++++++++++++++
 4 files changed, 112 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python-setuptools_22.0.5.bb => \
python-setuptools_28.8.0.bb} (100%)  rename \
meta/recipes-devtools/python/{python3-setuptools_22.0.5.bb => \
python3-setuptools_29.0.1.bb} (100%)  create mode 100644 tatus

diff --git a/meta/recipes-devtools/python/python-setuptools.inc \
b/meta/recipes-devtools/python/python-setuptools.inc index 92ca9a0..e76484a 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -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=146;endline=146;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] = \
"28ecfd0f2574b489b9a18343879a7324" +SRC_URI[sha256sum] = \
"b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0"  
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb \
b/meta/recipes-devtools/python/python-setuptools_28.8.0.bb similarity index 100%
rename from meta/recipes-devtools/python/python-setuptools_22.0.5.bb
rename to meta/recipes-devtools/python/python-setuptools_28.8.0.bb
diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb \
b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb similarity index 100%
rename from meta/recipes-devtools/python/python3-setuptools_22.0.5.bb
rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb
diff --git a/tatus b/tatus
new file mode 100644
index 0000000..18b9527
--- /dev/null
+++ b/tatus
@@ -0,0 +1,109 @@
+diff --git a/meta/recipes-devtools/python/python-setuptools.inc \
b/meta/recipes-devtools/python/python-setuptools.inc +index 92ca9a0..d3eef13 \
100644 +--- a/meta/recipes-devtools/python/python-setuptools.inc
++++ b/meta/recipes-devtools/python/python-setuptools.inc
+@@ -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=146;endline=146;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] = "43d6eb25f60e8a2682a8f826ce9e3f42" \
++SRC_URI[sha256sum] = \
"432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61" + 
+ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
+ 
+diff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb \
b/meta/recipes-devtools/python/python-setuptools_22.0.5.bb +deleted file mode \
100644 +index 526474c..0000000
+--- a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb
++++ /dev/null
+@@ -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}${PYTHON_SITEPACKAGES_DIR}"
+-
+-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"
+diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb \
b/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb +deleted file mode \
100644 +index 65af6f0..0000000
+--- a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb
++++ /dev/null
+@@ -1,37 +0,0 @@
+-require python-setuptools.inc
+-
+-DEPENDS += "python3"
+-DEPENDS_class-native += "python3-native"
+-
+-inherit distutils3
+-
+-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
+-
+-# The installer puts the wrong path in the setuptools.pth file.  Correct \
it. +-do_install_append() {
+-    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
+-    mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
+-    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > \
${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth +-}
+-
+-RDEPENDS_${PN} = "\
+-  python3-distutils \
+-  python3-compression \
+-"
+-RDEPENDS_${PN}_class-target = "\
+-  python3-ctypes \
+-  python3-distutils \
+-  python3-email \
+-  python3-importlib \
+-  python3-numbers \
+-  python3-compression \
+-  python3-shell \
+-  python3-subprocess \
+-  python3-textutils \
+-  python3-pkgutil \
+-  python3-threading \
+-  python3-misc \
+-  python3-unittest \
+-  python3-xml \
+-"
+-BBCLASSEXTEND = "native"
-- 
2.9.3

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic