PyChecker is a python source code checking tool to help you find
common bugs. It is meant to find problems that are typically caught
by a compiler. Because of the dynamic nature of python, some warnings
may be incorrect; however, spurious warnings should be fairly infrequent.
PyChecker works in a combination of ways. First, it imports each
module. If there is an import error, the module cannot be processed.
The import provides some basic information about the module. For each
function, class, and method, the code within the function is checked
for possible problems.
Types of problems that can be found include:
* No doc strings in modules, classes, functions, and methods
* self not the first parameter to a method
* Wrong number of parameters passed to functions/methods
* No global found (e.g., using a module without importing it)
* Global not used (module or variable)
WWW: http://pychecker.sourceforge.net/
===> The following configuration options are available for pychecker-0.8.19:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
- Rename PYTHON_FEATURES to USE_PYTHON to comply to USE_PERL5 and to avoid a
conflict in behaviour with the read-only COMPILER_FEATURES knob
- Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which
usually should be mutually exclusive, but some ports include both knobs
Phabric: D581
Recommended by: danfe@, makc@
Reviewed by: danfe, wg, antoine
Approved by: portmgr
With hat: python@
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
- It looks like pydistutils installation mechanism use different logic
depending on PREFIX used - e.g. /usr/local vs. /tmp
Work around that by adding a patch to avoid installing docs via setup.py.
We install docs via the port's Makefile instead.
- Adjust pkg-plist accordingly (remove duplicate docs entries)
- Bump PORTREVISION due to changed package
PR: ports/79341
Submitted by: Radim Kolar <hsn@netmag.cz>
- Update to 0.8.12
- Teach the port about respecting NOPORTDOCS
- Use PYTHON_SITELIBDIR and DOCSDIR macros in pkg-plist
- Minor Makefile tweaks
- Hand maintainership to submiter
PR: 55012
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Approved by: fjoe (mentor) (implicit)
Let be hohest: I really don't have a time now to properly maintain all
these great pieces of software, so that let others with more free time
to take over them.