All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python] [PATCH] meta-python: add python-pycodestyle recipe
@ 2018-08-08 13:43 Binghua Guan
  0 siblings, 0 replies; only message in thread
From: Binghua Guan @ 2018-08-08 13:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Binghua Guan <freebendy@gmail.com>
---
 .../recipes-devtools/python/python-pycodestyle.inc   | 12 ++++++++++++
 .../python/python-pycodestyle_2.4.0.bb               |  4 ++++
 .../python/python3-pycodestyle_2.4.0.bb              |  2 ++
 3 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pycodestyle.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pycodestyle.inc b/meta-python/recipes-devtools/python/python-pycodestyle.inc
new file mode 100644
index 000000000..c0e46b7ea
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pycodestyle.inc
@@ -0,0 +1,12 @@
+SUMMARY = "Python style guide checker (formly called pep8)"
+HOMEPAGE = "https://pypi.org/project/pycodestyle"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=01831ddbaf398471da3cc87f5037e822"
+
+SRC_URI[md5sum] = "85bbebd2c90d2f833c1db467d4d0e9a3"
+SRC_URI[sha256sum] = "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb b/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb
new file mode 100644
index 000000000..7c736e76f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools
+require python-pycodestyle.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-lang"
diff --git a/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb b/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb
new file mode 100644
index 000000000..cedcdb3bf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pycodestyle.inc
-- 
2.17.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-08 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 13:43 [meta-python] [PATCH] meta-python: add python-pycodestyle recipe Binghua Guan

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.