diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb b/meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb new file mode 100644 index 0000000000..ec6c12f2f1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit setuptools | ||
2 | require python-pycodestyle.inc | ||
3 | |||
4 | RDEPENDS_${PN} += "${PYTHON_PN}-lang" | ||
5 | |||
6 | do_install_append () { | ||
7 | if [ -f ${D}${bindir}/pycodestyle ]; then | ||
8 | mv ${D}${bindir}/pycodestyle ${D}${bindir}/pycodestyle-2 | ||
9 | fi | ||
10 | } | ||