Skip to contentSkip to conversation

python3-editor: Consolidate in a single file

PATCH In review Leon Anavi 2 participants 6 messages Jun 3, 2020 – Jun 5, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-editor: Consolidate in a single file

Consolidate inc and bb files into a single bb file.

---
 meta-python/recipes-devtools/python/python-editor.inc  |  9 ---------
 .../recipes-devtools/python/python3-editor_1.0.4.bb    | 10 +++++++++-
 2 files changed, 9 insertions(+), 10 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-editor.inc
meta-python/recipes-devtools/python/python-editor.inc deleted +0 -9
deleted file mode 100644
index 734ce2bd7..000000000
@@ -1,9 +0,0 @@
-DESCRIPTION = "Programmatically open and editor, capture the result"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4"
-SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"
-
-PYPI_PACKAGE = "python-editor"
-
meta-python/recipes-devtools/python/python3-editor_1.0.4.bb +9 -1
index 8ad2b869d..c7a6cd8f0 100644
@@ -1,2 +1,10 @@
+DESCRIPTION = "Programmatically open and editor, capture the result"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+
+SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4"
+SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"
+
+PYPI_PACKAGE = "python-editor"
+
 inherit pypi setuptools3
-require python-editor.inc
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/3 python3-engineio: Upgrade 3.12.1 -> 3.13.0

Upgrade to release 3.13.0 and consolidate inc and bb files into a single bb file.

---
 .../recipes-devtools/python/python3-engineio_3.12.1.bb      | 2 --
 .../{python-engineio.inc => python3-engineio_3.13.0.bb}     | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb
 rename meta-python/recipes-devtools/python/{python-engineio.inc => python3-engineio_3.13.0.bb} (59%)
meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb deleted +0 -2
deleted file mode 100644
index 028d1104a..000000000
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-engineio.inc
meta-python/recipes-devtools/python/python3-engineio_3.13.0.bb renamed from meta-python/recipes-devtools/python/python-engineio.inc +3 -3
similarity index 59%
rename from meta-python/recipes-devtools/python/python-engineio.inc
rename to meta-python/recipes-devtools/python/python3-engineio_3.13.0.bb
index 965f42014..51f853390 100644
@@ -5,9 +5,9 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8"
 
-inherit pypi
+inherit pypi setuptools3
 
 PYPI_PACKAGE = "python-engineio"
 
-SRC_URI[md5sum] = "e6ea8b3f2f32eeeb02014c46092f2adb"
-SRC_URI[sha256sum] = "2481732d93646998f7372ef0ecf003af7817b82720b881db173c3d50b4887916"
+SRC_URI[md5sum] = "822b5dba0308dde6b8cbfd022daae0e4"
+SRC_URI[sha256sum] = "2da5e1e5565e170a17169d1a76eb6a099cc96f0a25a5b1e0f9785f151485daea"
Signature · 1 line
2.17.1
Acked-by on v1 2/3
#2 lore raw

Re: [oe] [meta-python][PATCH 2/3] python3-engineio: Upgrade 3.12.1 -> 3.13.0

Quoted 4 lines · Leon Anavi

Upgrade to release 3.13.0 and consolidate inc and bb files into a single bb file.

Quoted 37 lines
---
  .../recipes-devtools/python/python3-engineio_3.12.1.bb      | 2 --
  .../{python-engineio.inc => python3-engineio_3.13.0.bb}     | 6 +++---
  2 files changed, 3 insertions(+), 5 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb rename meta-python/recipes-devtools/python/{python-engineio.inc => python3-engineio_3.13.0.bb} (59%)

meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb deleted +0 -2
deleted file mode 100644
index 028d1104a..000000000
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-engineio.inc
meta-python/recipes-devtools/python/python3-engineio_3.13.0.bb renamed from meta-python/recipes-devtools/python/python-engineio.inc +3 -3
similarity index 59%
rename from meta-python/recipes-devtools/python/python-engineio.inc
rename to meta-python/recipes-devtools/python/python3-engineio_3.13.0.bb
index 965f42014..51f853390 100644
@@ -5,9 +5,9 @@ SECTION = "devel/python"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8"
 
-inherit pypi
+inherit pypi setuptools3
 
  PYPI_PACKAGE = "python-engineio"
 
-SRC_URI[md5sum] = "e6ea8b3f2f32eeeb02014c46092f2adb"
-SRC_URI[sha256sum] = "2481732d93646998f7372ef0ecf003af7817b82720b881db173c3d50b4887916"
+SRC_URI[md5sum] = "822b5dba0308dde6b8cbfd022daae0e4"
+SRC_URI[sha256sum] = "2da5e1e5565e170a17169d1a76eb6a099cc96f0a25a5b1e0f9785f151485daea"
author
#3 lore raw

PATCH 3/3 python3-feedformatter: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../python/python-feedformatter.inc            | 16 ----------------
 .../python/python3-feedformatter_0.4.bb        | 18 +++++++++++++++++-
 2 files changed, 17 insertions(+), 17 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-feedformatter.inc
meta-python/recipes-devtools/python/python-feedformatter.inc deleted +0 -16
deleted file mode 100644
index 6ddcaa98e..000000000
@@ -1,16 +0,0 @@
-DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats"
-HOMEPAGE = "http://code.google.com/p/feedformatter/"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
-SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
-
-SRC_URI = "git://github.com/marianoguerra/feedformatter.git"
-
-S = "${WORKDIR}/git"
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-xml \
-    "
meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb +17 -1
index 95a5405f3..81c5fde13 100644
@@ -1,2 +1,18 @@
+DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats"
+HOMEPAGE = "http://code.google.com/p/feedformatter/"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
+
+SRC_URI = "git://github.com/marianoguerra/feedformatter.git"
+SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
+
+S = "${WORKDIR}/git"
+
 inherit setuptools3
-require python-feedformatter.inc
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-xml \
+    "
Signature · 1 line
2.17.1
Acked-by on v1 3/3
#4 lore raw

Re: [oe] [meta-python][PATCH 3/3] python3-feedformatter: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 54 lines
---
  .../python/python-feedformatter.inc            | 16 ----------------
  .../python/python3-feedformatter_0.4.bb        | 18 +++++++++++++++++-
  2 files changed, 17 insertions(+), 17 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-feedformatter.inc

meta-python/recipes-devtools/python/python-feedformatter.inc deleted +0 -16
deleted file mode 100644
index 6ddcaa98e..000000000
@@ -1,16 +0,0 @@
-DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats"
-HOMEPAGE = "http://code.google.com/p/feedformatter/"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
-SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
-
-SRC_URI = "git://github.com/marianoguerra/feedformatter.git"
-
-S = "${WORKDIR}/git"
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-xml \
-    "
meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb +17 -1
index 95a5405f3..81c5fde13 100644
@@ -1,2 +1,18 @@
+DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats"
+HOMEPAGE = "http://code.google.com/p/feedformatter/"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
+
+SRC_URI = "git://github.com/marianoguerra/feedformatter.git"
+SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
+
+S = "${WORKDIR}/git"
+
  inherit setuptools3
-require python-feedformatter.inc
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-xml \
+    "
Acked-by on v1 1/3
#5 lore raw
In reply to Leon Anavi
Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 39 lines
---
  meta-python/recipes-devtools/python/python-editor.inc  |  9 ---------
  .../recipes-devtools/python/python3-editor_1.0.4.bb    | 10 +++++++++-
  2 files changed, 9 insertions(+), 10 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-editor.inc

meta-python/recipes-devtools/python/python-editor.inc deleted +0 -9
deleted file mode 100644
index 734ce2bd7..000000000
@@ -1,9 +0,0 @@
-DESCRIPTION = "Programmatically open and editor, capture the result"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4"
-SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"
-
-PYPI_PACKAGE = "python-editor"
-
meta-python/recipes-devtools/python/python3-editor_1.0.4.bb +9 -1
index 8ad2b869d..c7a6cd8f0 100644
@@ -1,2 +1,10 @@
+DESCRIPTION = "Programmatically open and editor, capture the result"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+
+SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4"
+SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"
+
+PYPI_PACKAGE = "python-editor"
+
  inherit pypi setuptools3
-require python-editor.inc