the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: pychecker-py%type_pkg[python]
Version: 0.8.18
Revision: 2
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python(2.3 2.4 2.5 2.6)
Description: Check Python programs for error - Modules
License: BSD
Homepage: http://pychecker.sourceforge.net/
Maintainer: Kurt Schwehr
# Dependencies.
BuildDepends: fink (>= 0.24.12-1)
Depends: python%type_pkg[python]
# Unpack Phase.
Source: mirror:sourceforge:pychecker/pychecker-%v.tar.gz
Source-MD5: ef156a631df46de150a364912f2e36c8
# Patch Phase.
PatchFile: %{ni}.patch
PatchFile-MD5: 91959ff0ec1f83a3c0c5538f5a2a3cc9
# Compile Phase.
CompileScript: %p/bin/python%type_raw[python] setup.py build
# Install Phase.
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root=%d
perl -pi -e 's,%d,,' %i/bin/pychecker
mv %i/bin/pychecker %i/bin/pychecker-py%type_pkg[python]
<<
DocFiles: CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO VERSION
SplitOff: <<
Description: Check Python programs for error - Main binary
Package: %N-bin
Depends: %N (= %v-%r)
Conflicts: pychecker-py22-bin, pychecker-py23-bin, pychecker-py24-bin, pychecker-py25-bin, pychecker-py26-bin
Replaces: pychecker-py22-bin, pychecker-py23-bin, pychecker-py24-bin, pychecker-py25-bin, pychecker-py26-bin
InstallScript: <<
mkdir %i/bin
ln -s pychecker-py%type_pkg[python] %i/bin/pychecker
<<
DocFiles: CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO VERSION
<<
# Documentation.
DescDetail: <<
PyChecker is a tool for finding bugs in python source code. It finds
problems that are typically caught by a compiler for less dynamic
languages, like C and C++. It is similar to lint. 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. The code
for each function, class, and method is checked for possible problems.
<<
DescUsage: <<
The pychecker-pyXX package installs a %p/bin/pychecker-pyXX binary,
where XX is the version of Python you choose. If you would like a
%p/bin/pychecker binary, then install the pychecker-pyXX-bin package,
which creates a symbolic link to %p/bin/pychecker-pyXX.
<<
<<
diff -Nurd -x'*~' pychecker-0.8.17.orig/setup.py pychecker-0.8.17/setup.py
--- pychecker-0.8.17.orig/setup.py 2006-02-03 21:29:46.000000000 -0500
+++ pychecker-0.8.17/setup.py 2007-01-05 11:29:50.000000000 -0500
@@ -255,7 +255,7 @@
'url' : "http://pychecker.sourceforge.net/",
'packages' : [ 'pychecker', ],
'scripts' : [ "pychecker" ], # note: will be replaced by customized action
- 'data_files' : [ ( "pychecker", DATA_FILES, ) ],
+# 'data_files' : [ ( "pychecker", DATA_FILES, ) ],
'long_description' : LONG_DESCRIPTION,
'cmdclass' : CUSTOMIZED_ACTIONS,
}