Skip to contentSkip to conversation

meta-python: add python-inflection recipe

PATCH New Binghua Guan 1 participant 1 message Jul 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-python: add python-inflection recipe

---
 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
meta-python/recipes-devtools/python/python-inflection.inc new file +14 -0
new file mode 100644
index 000000000..556b26820
@@ -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"
meta-python/recipes-devtools/python/python-inflection_0.3.1.bb new file +4 -0
new file mode 100644
index 000000000..4a9d49791
@@ -0,0 +1,4 @@
+inherit setuptools
+require python-inflection.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-codecs"
meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb new file +2 -0
new file mode 100644
index 000000000..cc36a02a7
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-inflection.inc
Signature · 1 line
2.11.0