From e1af7a5773bd901ec8f9155e689ec826fb735ecc Mon Sep 17 00:00:00 2001 From: Zheng Ruoqin Date: Wed, 10 Jun 2020 02:32:08 +0800 Subject: python3-inflection: upgrade 0.3.1 -> 0.5.0 -Enable ptest. -Consolidate into a single file. -License-Update: Copyright year updated to 2020. Signed-off-by: Zheng Ruoqin Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-inflection_0.5.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb (limited to 'meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb new file mode 100644 index 0000000000..0a3b7734cf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb @@ -0,0 +1,27 @@ +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=2fb6fa1a6f1792d78de19ad1bb653c31" + +SRC_URI[md5sum] = "87b2ab6ffdd6e15aa31d109ce5ff10bb" +SRC_URI[sha256sum] = "f576e85132d34f5bf7df5183c2c6f94cfb32e528f53065345cf71329ba0b8924" + +inherit pypi setuptools3 ptest + +SRC_URI +=" \ + file://run-ptest \ +" + +RDEPENDS_${PN}_ptest +=" \ + ${PYTHON_PN}_pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ +} + + +RDEPENDS_${PN} += "${PYTHON_PN}-pytest" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf