From: Bill Randle <bill.randle@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-python][V2 PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
Date: Thu, 7 Dec 2017 21:45:43 -0800 [thread overview]
Message-ID: <20171208054548.26218-8-bill.randle@gmail.com> (raw)
In-Reply-To: <20171208054548.26218-1-bill.randle@gmail.com>
V2: add FILESEXTRAPATH_prepend to pick up common patch directory.
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 000000000..3a959aed7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Simple integration of Flask and WTForms."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
+
+SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
+SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-flask-wtf:"
+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
next prev parent reply other threads:[~2017-12-08 5:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-08 5:45 [meta-python][V2 PATCH 00/12] Create Python3 recipies for several existing Python2 recipes Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 01/12] python-dominate: move core of recipe to a .inc file Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 02/12] python3-dominate: new recipe Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 03/12] python-flask-bootstrap: move core of recipe to a .inc file Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 04/12] python3-flask-bootstrap: new recipe Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 05/12] python-flask-sqlalchemy: move core of recipe to a .inc file Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 06/12] python3-flask-sqlalchemy: new recipe Bill Randle
2017-12-08 5:45 ` Bill Randle [this message]
2017-12-08 5:45 ` [meta-python][V2 PATCH 08/12] python3-flask-wtf: " Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 09/12] python-visitor: move core of recipe to a .inc file Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 10/12] python3-visitor: new recipe Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 11/12] python-wtforms: move core of recipe to a .inc file Bill Randle
2017-12-08 5:45 ` [meta-python][V2 PATCH 12/12] python3-wtforms: new recipe Bill Randle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171208054548.26218-8-bill.randle@gmail.com \
--to=bill.randle@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox