All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python3-setuptools: upgrade to 31.1.1
@ 2017-01-12 20:51 Edwin Plauchu
  0 siblings, 0 replies; 3+ messages in thread
From: Edwin Plauchu @ 2017-01-12 20:51 UTC (permalink / raw)
  To: openembedded-core

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                    | 4 ++--
 .../{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb}      | 0
 .../{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb}    | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb} (100%)
 rename meta/recipes-devtools/python/{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index 858595c..40f47d4 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e"
-SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a"
+SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694"
+SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python-setuptools_31.0.0.bb
rename to meta/recipes-devtools/python/python-setuptools_32.1.1.bb
diff --git a/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-setuptools_31.0.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] python3-setuptools: upgrade to 31.1.1
  2017-01-12 19:46 Edwin Plauchu
@ 2017-01-12 20:28 ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-01-12 20:28 UTC (permalink / raw)
  To: Edwin Plauchu; +Cc: Patches and discussions about the oe-core layer

On Thu, Jan 12, 2017 at 11:46 AM, Edwin Plauchu
<edwin.plauchu.camacho@linux.intel.com> wrote:
> 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 |  4 +--
>  .../python/python-setuptools_32.1.1.bb             | 38 ++++++++++++++++++++++
>  .../python/python3-setuptools_32.1.1.bb            | 37 +++++++++++++++++++++
>  3 files changed, 77 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-devtools/python/python-setuptools_32.1.1.bb
>  create mode 100644 meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
>

I dont see 31.0.0 recipe being deleted with this update. Is there a
reason for that ?

> diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
> index 858595c..40f47d4 100644
> --- a/meta/recipes-devtools/python/python-setuptools.inc
> +++ b/meta/recipes-devtools/python/python-setuptools.inc
> @@ -9,8 +9,8 @@ SRCNAME = "setuptools"
>
>  SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>
> -SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e"
> -SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a"
> +SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694"
> +SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d"
>
>  UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
>
> diff --git a/meta/recipes-devtools/python/python-setuptools_32.1.1.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb
> new file mode 100644
> index 0000000..526474c
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb
> @@ -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}${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_32.1.1.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
> new file mode 100644
> index 0000000..65af6f0
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
> @@ -0,0 +1,37 @@
> +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.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] python3-setuptools: upgrade to 31.1.1
@ 2017-01-12 19:46 Edwin Plauchu
  2017-01-12 20:28 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Edwin Plauchu @ 2017-01-12 19:46 UTC (permalink / raw)
  To: openembedded-core

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 |  4 +--
 .../python/python-setuptools_32.1.1.bb             | 38 ++++++++++++++++++++++
 .../python/python3-setuptools_32.1.1.bb            | 37 +++++++++++++++++++++
 3 files changed, 77 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python-setuptools_32.1.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-setuptools_32.1.1.bb

diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index 858595c..40f47d4 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -9,8 +9,8 @@ SRCNAME = "setuptools"
 
 SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e"
-SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a"
+SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694"
+SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d"
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools"
 
diff --git a/meta/recipes-devtools/python/python-setuptools_32.1.1.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb
new file mode 100644
index 0000000..526474c
--- /dev/null
+++ b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb
@@ -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}${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_32.1.1.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
new file mode 100644
index 0000000..65af6f0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
@@ -0,0 +1,37 @@
+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.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-12 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 20:51 [PATCH] python3-setuptools: upgrade to 31.1.1 Edwin Plauchu
  -- strict thread matches above, loose matches on Subject: below --
2017-01-12 19:46 Edwin Plauchu
2017-01-12 20:28 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.