All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes
@ 2017-11-30  5:46 Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 01/12] python-dominate: move core of recipe to a .inc file Bill Randle
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:46 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

This set of patches creates the Python3 variant of several existing Python2 packages.
It first moves the core of the existing recipe(s) into a .inc file, then creates
python-*-.bb and python3-*.bb files that reference the new .inc file.

Bill Randle (12):
  python-dominate: move core of recipe to a .inc file
  python3-dominate: new recipe
  python-flask-bootstrap: move core of recipe to a .inc file
  python3-flask-bootstrap: new recipe
  python-flask-sqlalchemy: move core of recipe to a .inc file
  python3-flask-sqlalchemy: new recipe
  python-flask-wtf: move core of recipe to a .inc file
  python3-flask-wtf: new recipe
  python-visitor: move core of recipe to a .inc file
  python3-visitor: new recipe
  python-wtforms: move core of recipe to a .inc file
  python3-wtforms: new recipe

 .../recipes-devtools/python/python-dominate.inc        | 11 +++++++++++
 .../recipes-devtools/python/python-dominate_2.3.1.bb   | 13 +------------
 .../recipes-devtools/python/python-flask-bootstrap.inc | 14 ++++++++++++++
 .../python/python-flask-bootstrap_3.3.7.1.bb           | 16 +---------------
 .../python/python-flask-sqlalchemy.inc                 | 10 ++++++++++
 .../python/python-flask-sqlalchemy_2.3.2.bb            | 12 +-----------
 .../recipes-devtools/python/python-flask-wtf.inc       | 15 +++++++++++++++
 .../recipes-devtools/python/python-flask-wtf_0.12.bb   | 17 +----------------
 meta-python/recipes-devtools/python/python-visitor.inc |  6 ++++++
 .../recipes-devtools/python/python-visitor_0.1.3.bb    |  8 +-------
 meta-python/recipes-devtools/python/python-wtforms.inc | 16 ++++++++++++++++
 .../recipes-devtools/python/python-wtforms_2.1.bb      | 18 +-----------------
 .../recipes-devtools/python/python3-dominate_2.3.1.bb  |  2 ++
 .../python/python3-flask-bootstrap_3.3.7.1.bb          |  2 ++
 .../python/python3-flask-sqlalchemy_2.3.2.bb           |  2 ++
 .../recipes-devtools/python/python3-flask-wtf_0.12.bb  |  2 ++
 .../recipes-devtools/python/python3-visitor_0.1.3.bb   |  2 ++
 .../recipes-devtools/python/python3-wtforms_2.1.bb     |  2 ++
 18 files changed, 90 insertions(+), 78 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc
 create mode 100644 meta-python/recipes-devtools/python/python-flask-bootstrap.inc
 create mode 100644 meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc
 create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
 create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc
 create mode 100644 meta-python/recipes-devtools/python/python-wtforms.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-wtforms_2.1.bb

-- 
2.7.4



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

* [meta-python][PATCH 01/12] python-dominate: move core of recipe to a .inc file
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 02/12] python3-dominate: new recipe Bill Randle
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python-dominate.inc     | 11 +++++++++++
 .../recipes-devtools/python/python-dominate_2.3.1.bb        | 13 +------------
 2 files changed, 12 insertions(+), 12 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc

diff --git a/meta-python/recipes-devtools/python/python-dominate.inc b/meta-python/recipes-devtools/python/python-dominate.inc
new file mode 100644
index 0000000..ecf74a0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-dominate.inc
@@ -0,0 +1,11 @@
+SUMMARY = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API."
+LICENSE = "LGPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
+
+SRC_URI[md5sum] = "45bd97e6f7888aac24ae86013c57638e"
+SRC_URI[sha256sum] = "4b8ce6f33633c9dd9175b228d21c00c801b6bd0327747cd5e17fc2da934c3a69"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-threading \
+    "
diff --git a/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb b/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb
index 13ebf92..c19445e 100644
--- a/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb
+++ b/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb
@@ -1,13 +1,2 @@
-SUMMARY = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API."
-LICENSE = "LGPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
-
-SRC_URI[md5sum] = "45bd97e6f7888aac24ae86013c57638e"
-SRC_URI[sha256sum] = "4b8ce6f33633c9dd9175b228d21c00c801b6bd0327747cd5e17fc2da934c3a69"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-numbers \
-    ${PYTHON_PN}-threading \
-    "
+require python-dominate.inc
-- 
2.7.4



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

* [meta-python][PATCH 02/12] python3-dominate: new recipe
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 01/12] python-dominate: move core of recipe to a .inc file Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 03/12] python-flask-bootstrap: move core of recipe to a .inc file Bill Randle
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb
new file mode 100644
index 0000000..5304ccc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-dominate.inc
-- 
2.7.4



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

* [meta-python][PATCH 03/12] python-flask-bootstrap: move core of recipe to a .inc file
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 01/12] python-dominate: move core of recipe to a .inc file Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 02/12] python3-dominate: new recipe Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 04/12] python3-flask-bootstrap: new recipe Bill Randle
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 .../recipes-devtools/python/python-flask-bootstrap.inc   | 14 ++++++++++++++
 .../python/python-flask-bootstrap_3.3.7.1.bb             | 16 +---------------
 2 files changed, 15 insertions(+), 15 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-flask-bootstrap.inc

diff --git a/meta-python/recipes-devtools/python/python-flask-bootstrap.inc b/meta-python/recipes-devtools/python/python-flask-bootstrap.inc
new file mode 100644
index 0000000..0723b97
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-flask-bootstrap.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
+
+SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81"
+SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
+
+PYPI_PACKAGE = "Flask-Bootstrap"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-dominate \
+    ${PYTHON_PN}-flask \
+    ${PYTHON_PN}-visitor \
+    "
diff --git a/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb b/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb
index 2b2a6f9..eeaade9 100644
--- a/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb
+++ b/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
-
-SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81"
-SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
-
-PYPI_PACKAGE = "Flask-Bootstrap"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-dominate \
-    ${PYTHON_PN}-flask \
-    ${PYTHON_PN}-visitor \
-    "
+require python-flask-bootstrap.inc
-- 
2.7.4



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

* [meta-python][PATCH 04/12] python3-flask-bootstrap: new recipe
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (2 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 03/12] python-flask-bootstrap: move core of recipe to a .inc file Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 05/12] python-flask-sqlalchemy: move core of recipe to a .inc file Bill Randle
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
new file mode 100644
index 0000000..877c754
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-flask-bootstrap.inc
-- 
2.7.4



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

* [meta-python][PATCH 05/12] python-flask-sqlalchemy: move core of recipe to a .inc file
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (3 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 04/12] python3-flask-bootstrap: new recipe Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 06/12] python3-flask-sqlalchemy: new recipe Bill Randle
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 .../recipes-devtools/python/python-flask-sqlalchemy.inc      | 10 ++++++++++
 .../recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb | 12 +-----------
 2 files changed, 11 insertions(+), 11 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc

diff --git a/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc b/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc
new file mode 100644
index 0000000..e0efbc6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Adds SQLAlchemy support to your Flask application."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5ed1b8cc741515a835a7f6bf2f62ef4a"
+
+SRC_URI[md5sum] = "373ce61dfd03b593ad2eaba68c9fee35"
+SRC_URI[sha256sum] = "5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53"
+
+PYPI_PACKAGE = "Flask-SQLAlchemy"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-sqlalchemy ${PYTHON_PN}-flask"
diff --git a/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb b/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb
index 7650917..3dc355c 100644
--- a/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb
+++ b/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb
@@ -1,12 +1,2 @@
-DESCRIPTION = "Adds SQLAlchemy support to your Flask application."
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5ed1b8cc741515a835a7f6bf2f62ef4a"
-
-SRC_URI[md5sum] = "373ce61dfd03b593ad2eaba68c9fee35"
-SRC_URI[sha256sum] = "5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53"
-
-PYPI_PACKAGE = "Flask-SQLAlchemy"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} = "${PYTHON_PN}-sqlalchemy ${PYTHON_PN}-flask"
+require python-flask-sqlalchemy.inc
-- 
2.7.4



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

* [meta-python][PATCH 06/12] python3-flask-sqlalchemy: new recipe
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (4 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 05/12] python-flask-sqlalchemy: move core of recipe to a .inc file Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file Bill Randle
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb b/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb
new file mode 100644
index 0000000..07f45bc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-flask-sqlalchemy.inc
-- 
2.7.4



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

* [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (5 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 06/12] python3-flask-sqlalchemy: new recipe Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-12-06  1:57   ` akuster808
  2017-11-30  5:47 ` [meta-python][PATCH 08/12] python3-flask-wtf: new recipe Bill Randle
                   ` (2 subsequent siblings)
  9 siblings, 1 reply; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 .../recipes-devtools/python/python-flask-wtf.inc        | 15 +++++++++++++++
 .../recipes-devtools/python/python-flask-wtf_0.12.bb    | 17 +----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc

diff --git a/meta-python/recipes-devtools/python/python-flask-wtf.inc b/meta-python/recipes-devtools/python/python-flask-wtf.inc
new file mode 100644
index 0000000..e42f7c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "Simple integration of Flask and WTForms."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
+
+SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
+SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
+
+SRC_URI += " file://import-simplejson-as-json.patch"
+
+PYPI_PACKAGE = "Flask-WTF"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-wtforms \
+    ${PYTHON_PN}-simplejson \
+"
diff --git a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
index 79afaf6..dbf091b 100644
--- a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
+++ b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
@@ -1,17 +1,2 @@
-DESCRIPTION = "Simple integration of Flask and WTForms."
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
-
-SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
-SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
-
-SRC_URI += " file://import-simplejson-as-json.patch"
-
-PYPI_PACKAGE = "Flask-WTF"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} = "\
-    python-wtforms \
-    python-simplejson \
-"
+require python-flask-wtf.inc
-- 
2.7.4



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

* [meta-python][PATCH 08/12] python3-flask-wtf: new recipe
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (6 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-11-30  5:47 ` [meta-python][PATCH 09/12] python-visitor: move core of recipe to a .inc file Bill Randle
  2017-12-06  2:48 ` [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes akuster808
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb

diff --git a/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb b/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
new file mode 100644
index 0000000..52362a8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-flask-wtf.inc
-- 
2.7.4



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

* [meta-python][PATCH 09/12] python-visitor: move core of recipe to a .inc file
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (7 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 08/12] python3-flask-wtf: new recipe Bill Randle
@ 2017-11-30  5:47 ` Bill Randle
  2017-12-06  2:48 ` [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes akuster808
  9 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-11-30  5:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: ticotim

Signed-off-by: Bill Randle <bill.randle@gmail.com>
---
 meta-python/recipes-devtools/python/python-visitor.inc      | 6 ++++++
 meta-python/recipes-devtools/python/python-visitor_0.1.3.bb | 8 +-------
 2 files changed, 7 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc

diff --git a/meta-python/recipes-devtools/python/python-visitor.inc b/meta-python/recipes-devtools/python/python-visitor.inc
new file mode 100644
index 0000000..8c2288c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-visitor.inc
@@ -0,0 +1,6 @@
+SUMMARY = "A tiny pythonic visitor implementation."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+
+SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca"
+SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a"
diff --git a/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb b/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb
index 1236506..eee25a5 100644
--- a/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb
+++ b/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb
@@ -1,8 +1,2 @@
-SUMMARY = "A tiny pythonic visitor implementation."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
-
-SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca"
-SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a"
-
 inherit pypi setuptools
+require python-visitor.inc
-- 
2.7.4



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

* Re: [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
  2017-11-30  5:47 ` [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file Bill Randle
@ 2017-12-06  1:57   ` akuster808
  2017-12-06  4:03     ` Tim Orling
  0 siblings, 1 reply; 15+ messages in thread
From: akuster808 @ 2017-12-06  1:57 UTC (permalink / raw)
  To: Bill Randle, openembedded-devel; +Cc: ticotim



On 11/29/2017 09:47 PM, Bill Randle wrote:
> Signed-off-by: Bill Randle <bill.randle@gmail.com>
> ---
>  .../recipes-devtools/python/python-flask-wtf.inc        | 15 +++++++++++++++
>  .../recipes-devtools/python/python-flask-wtf_0.12.bb    | 17 +----------------
>  2 files changed, 16 insertions(+), 16 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc

I am getting this error:

WARNING:
/home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb:
Unable to get checksum for python3-flask-xstatic SRC_URI entry
remove-pip-requires.patch: file could not be found
WARNING:
/home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb:
Unable to get checksum for python3-flask-wtf SRC_URI entry
import-simplejson-as-json.patch: file could not be found
ERROR: ParseError in python-flask-migrate: not a BitBake file

- armin
>
> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf.inc b/meta-python/recipes-devtools/python/python-flask-wtf.inc
> new file mode 100644
> index 0000000..e42f7c1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc
> @@ -0,0 +1,15 @@
> +DESCRIPTION = "Simple integration of Flask and WTForms."
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
> +
> +SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
> +SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
> +
> +SRC_URI += " file://import-simplejson-as-json.patch"
> +
> +PYPI_PACKAGE = "Flask-WTF"
> +
> +RDEPENDS_${PN} = "\
> +    ${PYTHON_PN}-wtforms \
> +    ${PYTHON_PN}-simplejson \
> +"
> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
> index 79afaf6..dbf091b 100644
> --- a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
> +++ b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
> @@ -1,17 +1,2 @@
> -DESCRIPTION = "Simple integration of Flask and WTForms."
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
> -
> -SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
> -SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
> -
> -SRC_URI += " file://import-simplejson-as-json.patch"
> -
> -PYPI_PACKAGE = "Flask-WTF"
> -
>  inherit pypi setuptools
> -
> -RDEPENDS_${PN} = "\
> -    python-wtforms \
> -    python-simplejson \
> -"
> +require python-flask-wtf.inc



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

* Re: [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes
  2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
                   ` (8 preceding siblings ...)
  2017-11-30  5:47 ` [meta-python][PATCH 09/12] python-visitor: move core of recipe to a .inc file Bill Randle
@ 2017-12-06  2:48 ` akuster808
  2017-12-06  3:17   ` Bill Randle
  9 siblings, 1 reply; 15+ messages in thread
From: akuster808 @ 2017-12-06  2:48 UTC (permalink / raw)
  To: Bill Randle, openembedded-devel; +Cc: ticotim

Bill,


On 11/29/2017 09:46 PM, Bill Randle wrote:
> This set of patches creates the Python3 variant of several existing Python2 packages.
> It first moves the core of the existing recipe(s) into a .inc file, then creates
> python-*-.bb and python3-*.bb files that reference the new .inc file.
>
> Bill Randle (12):
>   python-dominate: move core of recipe to a .inc file
>   python3-dominate: new recipe
>   python-flask-bootstrap: move core of recipe to a .inc file
>   python3-flask-bootstrap: new recipe
>   python-flask-sqlalchemy: move core of recipe to a .inc file
>   python3-flask-sqlalchemy: new recipe
>   python-flask-wtf: move core of recipe to a .inc file
>   python3-flask-wtf: new recipe
>   python-visitor: move core of recipe to a .inc file
>   python3-visitor: new recipe
>   python-wtforms: move core of recipe to a .inc file
>   python3-wtforms: new recipe

I am seeing these additional issues:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'python3-wtforms' (but
/home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-wtforms' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-wtforms']
NOTE: Runtime target 'python3-flask-wtf' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-flask-wtf',
'python3-wtforms']
ERROR: Nothing RPROVIDES 'python3-flask-wtf-dev' (but
/home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-flask-wtf-dev'
NOTE: Runtime target 'python3-flask-wtf-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-flask-wtf-dev']
ERROR: Nothing RPROVIDES 'python3-visitor' (but
/home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-visitor' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-visitor']
NOTE: Runtime target 'python3-flask-bootstrap-dev' is unbuildable,
removing...
Missing or unbuildable dependency chain was:
['python3-flask-bootstrap-dev', 'python3-visitor']
NOTE: Runtime target 'python3-flask-bootstrap' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-flask-bootstrap',
'python3-visitor']


please check. still running local world build so not sure what else will
pop up.

- armin
>
>  .../recipes-devtools/python/python-dominate.inc        | 11 +++++++++++
>  .../recipes-devtools/python/python-dominate_2.3.1.bb   | 13 +------------
>  .../recipes-devtools/python/python-flask-bootstrap.inc | 14 ++++++++++++++
>  .../python/python-flask-bootstrap_3.3.7.1.bb           | 16 +---------------
>  .../python/python-flask-sqlalchemy.inc                 | 10 ++++++++++
>  .../python/python-flask-sqlalchemy_2.3.2.bb            | 12 +-----------
>  .../recipes-devtools/python/python-flask-wtf.inc       | 15 +++++++++++++++
>  .../recipes-devtools/python/python-flask-wtf_0.12.bb   | 17 +----------------
>  meta-python/recipes-devtools/python/python-visitor.inc |  6 ++++++
>  .../recipes-devtools/python/python-visitor_0.1.3.bb    |  8 +-------
>  meta-python/recipes-devtools/python/python-wtforms.inc | 16 ++++++++++++++++
>  .../recipes-devtools/python/python-wtforms_2.1.bb      | 18 +-----------------
>  .../recipes-devtools/python/python3-dominate_2.3.1.bb  |  2 ++
>  .../python/python3-flask-bootstrap_3.3.7.1.bb          |  2 ++
>  .../python/python3-flask-sqlalchemy_2.3.2.bb           |  2 ++
>  .../recipes-devtools/python/python3-flask-wtf_0.12.bb  |  2 ++
>  .../recipes-devtools/python/python3-visitor_0.1.3.bb   |  2 ++
>  .../recipes-devtools/python/python3-wtforms_2.1.bb     |  2 ++
>  18 files changed, 90 insertions(+), 78 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-bootstrap.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-wtforms.inc
>  create mode 100644 meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-wtforms_2.1.bb
>



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

* Re: [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes
  2017-12-06  2:48 ` [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes akuster808
@ 2017-12-06  3:17   ` Bill Randle
  0 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-12-06  3:17 UTC (permalink / raw)
  To: akuster808; +Cc: Tim Smart, openembedded-devel

On Tue, Dec 5, 2017 at 6:48 PM, akuster808 <akuster808@gmail.com> wrote:
> Bill,
>
>
> On 11/29/2017 09:46 PM, Bill Randle wrote:
>> This set of patches creates the Python3 variant of several existing Python2 packages.
>> It first moves the core of the existing recipe(s) into a .inc file, then creates
>> python-*-.bb and python3-*.bb files that reference the new .inc file.
>>
>> Bill Randle (12):
>>   python-dominate: move core of recipe to a .inc file
>>   python3-dominate: new recipe
>>   python-flask-bootstrap: move core of recipe to a .inc file
>>   python3-flask-bootstrap: new recipe
>>   python-flask-sqlalchemy: move core of recipe to a .inc file
>>   python3-flask-sqlalchemy: new recipe
>>   python-flask-wtf: move core of recipe to a .inc file
>>   python3-flask-wtf: new recipe
>>   python-visitor: move core of recipe to a .inc file
>>   python3-visitor: new recipe
>>   python-wtforms: move core of recipe to a .inc file
>>   python3-wtforms: new recipe
>
> I am seeing these additional issues:
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'python3-wtforms' (but
> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'python3-wtforms' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-wtforms']
> NOTE: Runtime target 'python3-flask-wtf' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-flask-wtf',
> 'python3-wtforms']
> ERROR: Nothing RPROVIDES 'python3-flask-wtf-dev' (but
> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
> RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'python3-flask-wtf-dev'
> NOTE: Runtime target 'python3-flask-wtf-dev' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-flask-wtf-dev']
> ERROR: Nothing RPROVIDES 'python3-visitor' (but
> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'python3-visitor' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-visitor']
> NOTE: Runtime target 'python3-flask-bootstrap-dev' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was:
> ['python3-flask-bootstrap-dev', 'python3-visitor']
> NOTE: Runtime target 'python3-flask-bootstrap' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-flask-bootstrap',
> 'python3-visitor']
>
>
> please check. still running local world build so not sure what else will
> pop up.
>
> - armin
>>
>>  .../recipes-devtools/python/python-dominate.inc        | 11 +++++++++++
>>  .../recipes-devtools/python/python-dominate_2.3.1.bb   | 13 +------------
>>  .../recipes-devtools/python/python-flask-bootstrap.inc | 14 ++++++++++++++
>>  .../python/python-flask-bootstrap_3.3.7.1.bb           | 16 +---------------
>>  .../python/python-flask-sqlalchemy.inc                 | 10 ++++++++++
>>  .../python/python-flask-sqlalchemy_2.3.2.bb            | 12 +-----------
>>  .../recipes-devtools/python/python-flask-wtf.inc       | 15 +++++++++++++++
>>  .../recipes-devtools/python/python-flask-wtf_0.12.bb   | 17 +----------------
>>  meta-python/recipes-devtools/python/python-visitor.inc |  6 ++++++
>>  .../recipes-devtools/python/python-visitor_0.1.3.bb    |  8 +-------
>>  meta-python/recipes-devtools/python/python-wtforms.inc | 16 ++++++++++++++++
>>  .../recipes-devtools/python/python-wtforms_2.1.bb      | 18 +-----------------
>>  .../recipes-devtools/python/python3-dominate_2.3.1.bb  |  2 ++
>>  .../python/python3-flask-bootstrap_3.3.7.1.bb          |  2 ++
>>  .../python/python3-flask-sqlalchemy_2.3.2.bb           |  2 ++
>>  .../recipes-devtools/python/python3-flask-wtf_0.12.bb  |  2 ++
>>  .../recipes-devtools/python/python3-visitor_0.1.3.bb   |  2 ++
>>  .../recipes-devtools/python/python3-wtforms_2.1.bb     |  2 ++
>>  18 files changed, 90 insertions(+), 78 deletions(-)
>>  create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python-flask-bootstrap.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python-wtforms.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb
>>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb
>>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb
>>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb
>>  create mode 100644 meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb
>>  create mode 100644 meta-python/recipes-devtools/python/python3-wtforms_2.1.bb
>>
>

Thanks, Armin. I'll go back through them all and make sure everything
builds cleanly. It was working at one time, but I obviously messed
something up when rebasing against master and submitting.

    -Bill


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

* Re: [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
  2017-12-06  1:57   ` akuster808
@ 2017-12-06  4:03     ` Tim Orling
  2017-12-06  4:13       ` Bill Randle
  0 siblings, 1 reply; 15+ messages in thread
From: Tim Orling @ 2017-12-06  4:03 UTC (permalink / raw)
  To: Bill Randle; +Cc: ticotim, openembeded-devel


> On Dec 5, 2017, at 7:57 PM, akuster808 <akuster808@gmail.com> wrote:
> 
> 
> 
> On 11/29/2017 09:47 PM, Bill Randle wrote:
>> Signed-off-by: Bill Randle <bill.randle@gmail.com>
>> ---
>> .../recipes-devtools/python/python-flask-wtf.inc        | 15 +++++++++++++++
>> .../recipes-devtools/python/python-flask-wtf_0.12.bb    | 17 +----------------
>> 2 files changed, 16 insertions(+), 16 deletions(-)
>> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
> 
> I am getting this error:
> 
> WARNING:
> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb:
> Unable to get checksum for python3-flask-xstatic SRC_URI entry
> remove-pip-requires.patch: file could not be found
> WARNING:
> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb:
> Unable to get checksum for python3-flask-wtf SRC_URI entry
> import-simplejson-as-json.patch: file could not be found

If you are trying to use a common patch file in, for instance, python-flask-wtf directory, you will need to add FILESEXTRAPATHS_prepend to the .inc so that the patch will be picked up by python3 version. One of the few cases where we want FILESEXTRAPATHS in an actual recipe, or at least the .inc (rather than a bbappend).

—Tim

> ERROR: ParseError in python-flask-migrate: not a BitBake file
> 
> - armin
>> 
>> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf.inc b/meta-python/recipes-devtools/python/python-flask-wtf.inc
>> new file mode 100644
>> index 0000000..e42f7c1
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc
>> @@ -0,0 +1,15 @@
>> +DESCRIPTION = "Simple integration of Flask and WTForms."
>> +LICENSE = "BSD"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
>> +
>> +SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
>> +SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
>> +
>> +SRC_URI += " file://import-simplejson-as-json.patch"
>> +
>> +PYPI_PACKAGE = "Flask-WTF"
>> +
>> +RDEPENDS_${PN} = "\
>> +    ${PYTHON_PN}-wtforms \
>> +    ${PYTHON_PN}-simplejson \
>> +"
>> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
>> index 79afaf6..dbf091b 100644
>> --- a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
>> +++ b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb
>> @@ -1,17 +1,2 @@
>> -DESCRIPTION = "Simple integration of Flask and WTForms."
>> -LICENSE = "BSD"
>> -LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
>> -
>> -SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
>> -SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
>> -
>> -SRC_URI += " file://import-simplejson-as-json.patch"
>> -
>> -PYPI_PACKAGE = "Flask-WTF"
>> -
>> inherit pypi setuptools
>> -
>> -RDEPENDS_${PN} = "\
>> -    python-wtforms \
>> -    python-simplejson \
>> -"
>> +require python-flask-wtf.inc
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



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

* Re: [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
  2017-12-06  4:03     ` Tim Orling
@ 2017-12-06  4:13       ` Bill Randle
  0 siblings, 0 replies; 15+ messages in thread
From: Bill Randle @ 2017-12-06  4:13 UTC (permalink / raw)
  To: Tim Orling; +Cc: Tim Smart, openembeded-devel

On Tue, Dec 5, 2017 at 8:03 PM, Tim Orling
<timothy.t.orling@linux.intel.com> wrote:
>
>> On Dec 5, 2017, at 7:57 PM, akuster808 <akuster808@gmail.com> wrote:
>>
>>
>>
>> On 11/29/2017 09:47 PM, Bill Randle wrote:
>>> Signed-off-by: Bill Randle <bill.randle@gmail.com>
>>> ---
>>> .../recipes-devtools/python/python-flask-wtf.inc        | 15 +++++++++++++++
>>> .../recipes-devtools/python/python-flask-wtf_0.12.bb    | 17 +----------------
>>> 2 files changed, 16 insertions(+), 16 deletions(-)
>>> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
>>
>> I am getting this error:
>>
>> WARNING:
>> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb:
>> Unable to get checksum for python3-flask-xstatic SRC_URI entry
>> remove-pip-requires.patch: file could not be found
>> WARNING:
>> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb:
>> Unable to get checksum for python3-flask-wtf SRC_URI entry
>> import-simplejson-as-json.patch: file could not be found
>
> If you are trying to use a common patch file in, for instance, python-flask-wtf directory, you will need to add FILESEXTRAPATHS_prepend to the .inc so that the patch will be picked up by python3 version. One of the few cases where we want FILESEXTRAPATHS in an actual recipe, or at least the .inc (rather than a bbappend).
>
> —Tim

Thanks, Tim! I just figured out I needed something like that. Thanks
for the tip!!

    -Bill

[cut]


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

end of thread, other threads:[~2017-12-06  4:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30  5:46 [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 01/12] python-dominate: move core of recipe to a .inc file Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 02/12] python3-dominate: new recipe Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 03/12] python-flask-bootstrap: move core of recipe to a .inc file Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 04/12] python3-flask-bootstrap: new recipe Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 05/12] python-flask-sqlalchemy: move core of recipe to a .inc file Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 06/12] python3-flask-sqlalchemy: new recipe Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file Bill Randle
2017-12-06  1:57   ` akuster808
2017-12-06  4:03     ` Tim Orling
2017-12-06  4:13       ` Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 08/12] python3-flask-wtf: new recipe Bill Randle
2017-11-30  5:47 ` [meta-python][PATCH 09/12] python-visitor: move core of recipe to a .inc file Bill Randle
2017-12-06  2:48 ` [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes akuster808
2017-12-06  3:17   ` Bill Randle

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.