inherit python-wheel NAME="pylint" VERSION=2.2.2 RELEASE=1 CATEGORY="Python" SUMMARY="Python static code checker" DESCRIPTION="Analyzes source code for programming errors, helps enforcing a coding standard and sniffs for some code smells (as defined in Martin Fowler's Refactoring book). Pylint can be seen as another PyChecker since nearly all tests you can do with PyChecker can also be done with Pylint. However, Pylint offers some more features, like checking length of lines of code, checking if variable names are well-formed according to your coding standard, or checking if declared interfaces are truly implemented, and much more." HOMEPAGE="https://github.com/PyCQA/pylint" SRC_URI="https://github.com/PyCQA/pylint/archive/pylint-${VERSION}.tar.gz" SRC_DIR="pylint-pylint-${VERSION}" # interferes with get_flags_linker_so in numpy.distutils.fcompiler unset LDFLAGS python2_pylint_CONTENTS="usr/bin/*2 ${python2_pylint_CONTENTS}" python3_pylint_CONTENTS="usr/bin/*3 ${python3_pylint_CONTENTS}"