the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: pylint-py%type_pkg[python]
Type: python (2.5 2.6 2.7)
Version: 0.25.1
Revision: 1
#Source: http://ftp.logilab.org/pub/pylint/pylint-%v.tar.gz
Source: http://pypi.python.org/packages/source/p/pylint/pylint-%v.tar.gz
Source-MD5: 728bbc2b339bc3749af013709a7f87a5
Depends: python%type_pkg[python], astng-py%type_pkg[python]
Conflicts: pylint-py27-bin, pylint-py26-bin, pylint-py25-bin
Replaces: pylint-py27-bin, pylint-py26-bin, pylint-py25-bin
Description: Analyzes Python code for bugs and quality
Maintainer: Kurt Schwehr
Homepage: http://www.logilab.org/projects/pylint
DocFiles: COPYING DEPENDS README PKG-INFO
CompileScript: <<
echo Skipping Build
<<
InstallScript: <<
#!/bin/bash -ev
%p/bin/python%type_raw[python] setup.py install --root=%d --prefix=%p
for file in pylint pylint-gui symilar epylint pyreverse; do
mv %i/bin/${file} %i/bin/${file}%type_pkg[python]
done
<<
PostInstScript: <<
update-alternatives --verbose --install "%p/bin/pylint" pylint "%p/bin/pylint%type_pkg[python]" %type_pkg[python] \
--slave "%p/bin/pylint-compile" pylint-gui "%p/bin/pylint-gui%type_pkg[python]" \
--slave "%p/bin/symilar" symilar "%p/bin/symilar%type_pkg[python]" \
--slave "%p/bin/epylint" epylint "%p/bin/epylint%type_pkg[python]" \
--slave "%p/bin/pyreverse" pyreverse "%p/bin/pyreverse%type_pkg[python]"
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --verbose --remove pylint "%p/bin/pylint%type_pkg[python]"
fi
<<
LICENSE: GPL
DescDetail: <<
Pylint is a python tool that checks if a module satisfy a coding
standard. Pylint can be seen as another PyChecker since nearly all
tests you can do with PyChecker can also be done with Pylint. But
Pylint offers some more features, like checking line-code's length,
checking if variable names are well-formed according to your coding
standard, or checking if declared interfaces are truly implemented,
and much more (see the complete check list).
The big advantage with Pylint is that it is highly configurable,
customizable, and you can easily write a small plugin to add a
personal feature.
<<
# Info2
<<