Skip to contentSkip to conversation

python3-pip & python3-setuptools: extend to nativesdk

PATCH In review Chen Qi 2 participants 6 messages Sep 6, 2017 – Sep 12, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover python3-pip & python3-setuptools: extend to nativesdk

The following changes since commit 8b4f16a9cbbaf521461f699b7264fac2ac872581:

mesa-gl: Fix build after recent mesa PACKAGECONFIG changes (2017-09-05 15:01:02 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/python3-nativesdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/python3-nativesdk

Chen Qi (2):
python3-pip: extend to nativesdk
python3-setuptools: extend to nativesdk

 meta/recipes-devtools/python/python3-pip_9.0.1.bb         | 2 +-
 meta/recipes-devtools/python/python3-setuptools_36.2.7.bb | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/2 python3-pip: extend to nativesdk

Extend python3-pip to nativesdk because some nativesdk python3 packages need it, e.g. nativesdk-python3-django from meta-python layer.

---
 meta/recipes-devtools/python/python3-pip_9.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-pip_9.0.1.bb +1 -1
index 4456b9b..9b907a2 100644
@@ -53,4 +53,4 @@ RDEPENDS_${PN} = "\
   python3-xmlrpc \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/2 python3-setuptools: extend to nativesdk

In reply to Chen Qi

Extend python3-setuptools to nativesdk because nativesdk-python3-pip needs it.

Also, adjust RDEPENDS variable setting to keep the runtime dependencies for nativesdk package the same with the target one. The native package and the target package's dependencies remain the same as before.

---
 meta/recipes-devtools/python/python3-setuptools_36.2.7.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta/recipes-devtools/python/python3-setuptools_36.2.7.bb +4 -3
index 65af6f0..63f2418 100644
@@ -2,6 +2,7 @@ require python-setuptools.inc
 
 DEPENDS += "python3"
 DEPENDS_class-native += "python3-native"
+DEPENDS_class-nativesdk += "nativesdk-python3"
 
 inherit distutils3
 
@@ -14,11 +15,11 @@ do_install_append() {
     echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
 }
 
-RDEPENDS_${PN} = "\
+RDEPENDS_${PN}_class-native = "\
   python3-distutils \
   python3-compression \
 "
-RDEPENDS_${PN}_class-target = "\
+RDEPENDS_${PN} = "\
   python3-ctypes \
   python3-distutils \
   python3-email \
@@ -34,4 +35,4 @@ RDEPENDS_${PN}_class-target = "\
   python3-unittest \
   python3-xml \
 "
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.9.1
author
#3 lore raw
In reply to Chen Qi

ping

Quoted 17 lines · Chen Qi

The following changes since commit 8b4f16a9cbbaf521461f699b7264fac2ac872581:

mesa-gl: Fix build after recent mesa PACKAGECONFIG changes (2017-09-05 15:01:02 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/python3-nativesdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/python3-nativesdk

Chen Qi (2):
python3-pip: extend to nativesdk
python3-setuptools: extend to nativesdk

  meta/recipes-devtools/python/python3-pip_9.0.1.bb         | 2 +-
  meta/recipes-devtools/python/python3-setuptools_36.2.7.bb | 7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)
#4 lore raw

These are in master-next.

Ross

Quoted 31 lines · ChenQi

ping

Quoted 12 lines · Chen Qi

The following changes since commit 8b4f16a9cbbaf521461f699b7264fa c2ac872581:

mesa-gl: Fix build after recent mesa PACKAGECONFIG changes (2017-09-05
15:01:02 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/python3-nativesdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=C
henQi/python3-nativesdk

Quoted 9 lines

Chen Qi (2):
python3-pip: extend to nativesdk
python3-setuptools: extend to nativesdk

  meta/recipes-devtools/python/python3-pip_9.0.1.bb         | 2 +-
  meta/recipes-devtools/python/python3-setuptools_36.2.7.bb | 7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#5 lore raw
Quoted 4 lines · Ross

These are in master-next.

Ross

Thanks Ross.

There are three other patch series on the mailing list.
Is it possible for these patches to get into this release? Or we need to wait for the development cycle for the next release? Their titles are:
[OE-core] [PATCH 0/2] systemd: fix dependency issue related to serial getty
[OE-core] [PATCH 0/2] disallow multiple syslog daemons to be installed
[OE-core] [PATCH 0/1] iputils: backport patch to fix arping hang problem

Best Regards,
Chen Qi

Quoted 39 lines · On 11 September 2017 at 02:44, ChenQi <[email protected]…
    ping

    On 09/06/2017 12:54 PM, Chen Qi wrote:

        The following changes since commit
        8b4f16a9cbbaf521461f699b7264fac2ac872581:

           mesa-gl: Fix build after recent mesa PACKAGECONFIG changes
        (2017-09-05 15:01:02 +0100)

        are available in the git repository at:

           git://git.pokylinux.org/poky-contrib
        <http://git.pokylinux.org/poky-contrib> ChenQi/python3-nativesdk
        http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/python3-nativesdk
        <http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/python3-nativesdk>

        Chen Qi (2):
           python3-pip: extend to nativesdk
           python3-setuptools: extend to nativesdk

          meta/recipes-devtools/python/python3-pip_9.0.1.bb
        <http://python3-pip_9.0.1.bb>  | 2 +-
          meta/recipes-devtools/python/python3-setuptools_36.2.7.bb
        <http://python3-setuptools_36.2.7.bb> | 7 ++++---
          2 files changed, 5 insertions(+), 4 deletions(-)


    -- 
    _______________________________________________
    Openembedded-core mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
    <http://lists.openembedded.org/mailman/listinfo/openembedded-core>