summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pycodestyle_2.5.0.bb
diff options
context:
space:
mode:
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.bb10
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 @@
1inherit setuptools
2require python-pycodestyle.inc
3
4RDEPENDS_${PN} += "${PYTHON_PN}-lang"
5
6do_install_append () {
7 if [ -f ${D}${bindir}/pycodestyle ]; then
8 mv ${D}${bindir}/pycodestyle ${D}${bindir}/pycodestyle-2
9 fi
10}