Skip to contentSkip to conversation

python-humanfriendly: Add recipe for the humanfriendly package.

PATCH Superseded Windel Bouwman 3 participants 3 messages Jul 11, 2019

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-humanfriendly: Add recipe for the humanfriendly package.

---
 .../python/python-humanfriendly.inc           | 25 +++++++++++++++++++
 .../python/python-humanfriendly_4.18.bb       |  2 ++
 .../python/python3-humanfriendly_4.18.bb      |  2 ++
 3 files changed, 29 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-humanfriendly.inc
 create mode 100644 meta-python/recipes-devtools/python/python-humanfriendly_4.18.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb
meta-python/recipes-devtools/python/python-humanfriendly.inc new file +25 -0
new file mode 100644
index 000000000..94f7f8b81
@@ -0,0 +1,25 @@
+DESCRIPTION = "Human friendly output for text interfaces using Python"
+HOMEPAGE = "https://humanfriendly.readthedocs.io/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"
+
+PYPI_PACKAGE = "humanfriendly"
+
+SRC_URI[md5sum] = "9573f9f37a5454d8205cfd1b9b8db9d2"
+SRC_URI[sha256sum] = "33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85"
+
+inherit pypi
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-fcntl \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-stringold \
+"
+
+BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python-humanfriendly_4.18.bb new file +2 -0
new file mode 100644
index 000000000..4e03a654c
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-humanfriendly.inc
meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb new file +2 -0
new file mode 100644
index 000000000..2ca5fe36f
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-humanfriendly.inc
Signature · 1 line
2.17.1
#1 lore raw

https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

You are missing the subject prefix indicating which layer and the fact that this is a v2.

Add this argument to git send-mail:

--subject-prefix=“meta-python][PATCH v2”

Quoted 76 lines · Windel Bouwman
---
 .../python/python-humanfriendly.inc           | 25 +++++++++++++++++++
 .../python/python-humanfriendly_4.18.bb       |  2 ++
 .../python/python3-humanfriendly_4.18.bb      |  2 ++
 3 files changed, 29 insertions(+)
 create mode 100644
meta-python/recipes-devtools/python/python-humanfriendly.inc
 create mode 100644 meta-python/recipes-devtools/python/
python-humanfriendly_4.18.bb
 create mode 100644 meta-python/recipes-devtools/python/

python3-humanfriendly_4.18.bb

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +5 -0
new file mode 100644
index 000000000..94f7f8b81
@@ -0,0 +1,25 @@
+DESCRIPTION = "Human friendly output for text interfaces using Python"
+HOMEPAGE = "https://humanfriendly.readthedocs.io/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +5 -0
+
+PYPI_PACKAGE = "humanfriendly"
+
+SRC_URI[md5sum] = "9573f9f37a5454d8205cfd1b9b8db9d2"
+SRC_URI[sha256sum] =

"33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85"

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +15 -0
+
+inherit pypi
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-fcntl \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-stringold \
+"
+
+BBCLASSEXTEND = "native"
(quoted diff) +0 -0

python-humanfriendly_4.18.bb b/meta-python/recipes-devtools/python/ python-humanfriendly_4.18.bb
new file mode 100644
index 000000000..4e03a654c

meta-python/recipes-devtools/python/python-humanfriendly_4.18.bb new file +2 -0
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-humanfriendly.inc
(quoted diff) +0 -0

python3-humanfriendly_4.18.bb b/meta-python/recipes-devtools/python/ python3-humanfriendly_4.18.bb
new file mode 100644
index 000000000..2ca5fe36f

meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb new file +2 -1
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-humanfriendly.inc
--

2.17.1

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

#2 lore raw
Quoted 10 lines · Tim Orling

https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

You are missing the subject prefix indicating which layer and the fact that this is a v2.

Add this argument to git send-mail:

--subject-prefix=“meta-python][PATCH v2”

And this has duped me. I have applied v1, so please address the delta between what we have in master
in v3.

Quoted 84 lines
Quoted 70 lines · Windel Bouwman
---
 .../python/python-humanfriendly.inc           | 25 +++++++++++++++++++
 .../python/python-humanfriendly_4.18.bb       |  2 ++
 .../python/python3-humanfriendly_4.18.bb      |  2 ++
 3 files changed, 29 insertions(+)
 create mode 100644
meta-python/recipes-devtools/python/python-humanfriendly.inc
 create mode 100644 meta-python/recipes-devtools/python/
python-humanfriendly_4.18.bb
 create mode 100644 meta-python/recipes-devtools/python/

python3-humanfriendly_4.18.bb

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +5 -0
new file mode 100644
index 000000000..94f7f8b81
@@ -0,0 +1,25 @@
+DESCRIPTION = "Human friendly output for text interfaces using Python"
+HOMEPAGE = "https://humanfriendly.readthedocs.io/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6"

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +5 -0
+
+PYPI_PACKAGE = "humanfriendly"
+
+SRC_URI[md5sum] = "9573f9f37a5454d8205cfd1b9b8db9d2"
+SRC_URI[sha256sum] =

"33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85"

meta-python/recipes-devtools/python/python-humanfriendly.inc new file +15 -0
+
+inherit pypi
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-fcntl \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-stringold \
+"
+
+BBCLASSEXTEND = "native"
(quoted diff) +0 -0

python-humanfriendly_4.18.bb b/meta-python/recipes-devtools/python/ python-humanfriendly_4.18.bb
new file mode 100644
index 000000000..4e03a654c

meta-python/recipes-devtools/python/python-humanfriendly_4.18.bb new file +2 -0
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-humanfriendly.inc
(quoted diff) +0 -0

python3-humanfriendly_4.18.bb b/meta-python/recipes-devtools/python/ python3-humanfriendly_4.18.bb
new file mode 100644
index 000000000..2ca5fe36f

meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb new file +2 -1
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-humanfriendly.inc
--

2.17.1

Quoted 6 lines

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

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