[oe] [meta-python] [PATCH] meta-python: add python-inflection recipe
Binghua Guan
freebendy at gmail.com
Wed Jul 25 13:49:54 UTC 2018
Signed-off-by: Binghua Guan <freebendy at gmail.com>
---
meta-python/recipes-devtools/python/python-inflection.inc | 14 ++++++++++++++
.../recipes-devtools/python/python-inflection_0.3.1.bb | 4 ++++
.../recipes-devtools/python/python3-inflection_0.3.1.bb | 2 ++
3 files changed, 20 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-inflection.inc
create mode 100644 meta-python/recipes-devtools/python/python-inflection_0.3.1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb
diff --git a/meta-python/recipes-devtools/python/python-inflection.inc b/meta-python/recipes-devtools/python/python-inflection.inc
new file mode 100644
index 000000000..556b26820
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-inflection.inc
@@ -0,0 +1,14 @@
+SUMMARY = "A port of Ruby on Rails' inflection to Python."
+HOMEPAGE = "https://pypi.org/project/inflection"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=de7833d9c2ce0052a4073928c76a13d7"
+
+SRC_URI[md5sum] = "7941165e9f148e0520023941c0886b40"
+SRC_URI[sha256sum] = "18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-pytest"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb b/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb
new file mode 100644
index 000000000..4a9d49791
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb
@@ -0,0 +1,4 @@
+inherit setuptools
+require python-inflection.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-codecs"
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb
new file mode 100644
index 000000000..cc36a02a7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-inflection.inc
--
2.11.0
More information about the Openembedded-devel
mailing list