Skip to contentSkip to conversation

python-pip: extend to nativesdk

PATCH In review Chen Qi 3 participants 6 messages Jul 27, 2016

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/3 python-pip: extend to nativesdk

---
 meta-python/recipes-devtools/python/python-pip_8.1.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-pip_8.1.2.bb +2 -0
index 8bb052e..e78b9da 100644
@@ -9,3 +9,5 @@ inherit pypi setuptools
 
 # Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works
 RDEPENDS_${PN} = "python-modules python-distribute"
+
+BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.8.3
author
#1 lore raw

PATCH 2/3 python3-pip: add recipe

---
 meta-python/recipes-devtools/python/python3-pip_8.1.2.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pip_8.1.2.bb
meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +13 -0
new file mode 100644
index 0000000..612ba7d
@@ -0,0 +1,13 @@
+SUMMARY = "PIP is a tool for installing and managing Python packages"
+LICENSE = "MIT & LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=25fba45109565f87de20bae85bc39452"
+
+SRC_URI[md5sum] = "87083c0b9867963b29f7aba3613e8f4a"
+SRC_URI[sha256sum] = "4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732"
+
+inherit pypi setuptools3
+
+# Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works
+RDEPENDS_${PN} = "python3-modules python3-setuptools"
+
+BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.8.3
#2 lore raw

Re: [meta-python][PATCH 2/3] python3-pip: add recipe

Can the common portions be pulled out into a .inc file that can be included in the python and python3 recipes or was there a specific reason not to do that?

-Derek

Quoted 40 lines · Chen Qi
---
 meta-python/recipes-devtools/python/python3-pip_8.1.2.bb | 13
+++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-pip_8.1.2.bb

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +3 -0
new file mode 100644
index 0000000..612ba7d
@@ -0,0 +1,13 @@
+SUMMARY = "PIP is a tool for installing and managing Python packages"
+LICENSE = "MIT & LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=25fba45109565f87de20bae85bc39452"

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +3 -0
+
+SRC_URI[md5sum] = "87083c0b9867963b29f7aba3613e8f4a"
+SRC_URI[sha256sum] =

"4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732"

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +4 -0
+
+inherit pypi setuptools3
+
+# Since PIP is like CPAN for PERL we need to drag in all python modules

to ensure everything works

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +3 -1
+RDEPENDS_${PN} = "python3-modules python3-setuptools"
+
+BBCLASSEXTEND = "nativesdk"
--

2.8.3

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

#3 lore raw

Re: [meta-python][PATCH 2/3] python3-pip: add recipe

In reply to Chen Qi
Quoted 16 lines · Chen Qi
---
  meta-python/recipes-devtools/python/python3-pip_8.1.2.bb | 13 +++++++++++++
  1 file changed, 13 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pip_8.1.2.bb

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +3 -0
new file mode 100644
index 0000000..612ba7d
@@ -0,0 +1,13 @@
+SUMMARY = "PIP is a tool for installing and managing Python packages"
+LICENSE = "MIT & LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=25fba45109565f87de20bae85bc39452"

meta-python/recipes-devtools/python/python3-pip_8.1.2.bb line 13

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pip_8.1.2.bb new file +10 -0
+
+SRC_URI[md5sum] = "87083c0b9867963b29f7aba3613e8f4a"
+SRC_URI[sha256sum] = "4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732"
+
+inherit pypi setuptools3
+
+# Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works
+RDEPENDS_${PN} = "python3-modules python3-setuptools"
+
+BBCLASSEXTEND = "nativesdk"

Why is this here, since it is already in OE-core?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
author
#4 lore raw

PATCH 3/3 python3-django: add recipe

In reply to Chen Qi
---
 .../python/python3-django_1.9.7.bb                 | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-django_1.9.7.bb
meta-python/recipes-devtools/python/python3-django_1.9.7.bb new file +24 -0
new file mode 100644
index 0000000..7c0db64
@@ -0,0 +1,24 @@
+SUMMARY = "A high-level Python Web framework"
+HOMEPAGE = "http://www.djangoproject.com/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
+
+SRC_URI[md5sum] = "7de9ba83bfe01f4b7d45645c1b259c83"
+SRC_URI[sha256sum] = "2b29e81c8c32b3c0d9a0119217416887c480d927ae2630bada2da83078c93bf6"
+
+PYPI_PACKAGE = "Django"
+inherit pypi setuptools3
+
+FILES_${PN} += "${datadir}/django"
+
+BBCLASSEXTEND = "nativesdk"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-importlib \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pip \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-threading \
+    "
Signature · 1 line
2.8.3
#5 lore raw

Re: [meta-python][PATCH 3/3] python3-django: add recipe

Can the common portions be pulled out into a .inc file that can be included in the python and python3 recipes or was there a specific reason not to do that?

-Derek

Quoted 49 lines · Chen Qi
---
 .../python/python3-django_1.9.7.bb                 | 24
++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-django_1.9.7.bb

meta-python/recipes-devtools/python/python3-django_1.9.7.bb new file +7 -0
new file mode 100644
index 0000000..7c0db64
@@ -0,0 +1,24 @@
+SUMMARY = "A high-level Python Web framework"
+HOMEPAGE = "http://www.djangoproject.com/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
+
+SRC_URI[md5sum] = "7de9ba83bfe01f4b7d45645c1b259c83"
+SRC_URI[sha256sum] =

"2b29e81c8c32b3c0d9a0119217416887c480d927ae2630bada2da83078c93bf6"

meta-python/recipes-devtools/python/python3-django_1.9.7.bb new file +17 -1
+
+PYPI_PACKAGE = "Django"
+inherit pypi setuptools3
+
+FILES_${PN} += "${datadir}/django"
+
+BBCLASSEXTEND = "nativesdk"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-importlib \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pip \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-threading \
+    "
--

2.8.3

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