diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-06-10 02:32:08 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-11 07:42:47 -0700 |
| commit | e1af7a5773bd901ec8f9155e689ec826fb735ecc (patch) | |
| tree | 9c6e3deaa62f6c7d34816d663fb0c44869eb9aec /meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb | |
| parent | 14fb1554df98967411d7a8b7721a56af52e83a96 (diff) | |
| download | meta-openembedded-e1af7a5773bd901ec8f9155e689ec826fb735ecc.tar.gz | |
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 <zhengrq.fnst@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-inflection_0.5.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "A port of Ruby on Rails' inflection to Python." | ||
| 2 | HOMEPAGE = "https://pypi.org/project/inflection" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "87b2ab6ffdd6e15aa31d109ce5ff10bb" | ||
| 8 | SRC_URI[sha256sum] = "f576e85132d34f5bf7df5183c2c6f94cfb32e528f53065345cf71329ba0b8924" | ||
| 9 | |||
| 10 | inherit pypi setuptools3 ptest | ||
| 11 | |||
| 12 | SRC_URI +=" \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS_${PN}_ptest +=" \ | ||
| 17 | ${PYTHON_PN}_pytest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ | ||
| 22 | } | ||
| 23 | |||
| 24 | |||
| 25 | RDEPENDS_${PN} += "${PYTHON_PN}-pytest" | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
