Sisyphus repository
Last update: 22 february 2019 | SRPMs: 18470 | Visits: 13066490
en ru br
ALT Linux repos
S:0.8.19-alt1
5.0: 0.8.17-alt0.1.1
4.1: 0.8.17-alt0.1.1
4.0: 0.8.17-alt0.1

Group :: Development/Other
RPM: pychecker

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pychecker
Version: 0.8.19
Release: alt1

Summary: Tool for finding bugs in Python source code

License: BSD-like
Group: Development/Other
Url: http://pychecker.sourceforge.net/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://prdownloads.sf.net/pychecker/%name-%version.tar
# Debian manpage
Patch: %name-0.8.10-add-manpage.patch

BuildArch: noarch

# Automatically added by buildreq on Sat Apr 11 2009 (-bi)

BuildRequires: python-devel

%description
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++.

%prep
%setup -q
%patch -p2

%build
%python_build

%install
%python_install
# remove docs
rm `find %buildroot%python_sitelibdir/%name | grep -v 'py[^/]*$'`

mkdir -p %buildroot%_bindir
echo -e '#!/bin/sh
/usr/bin/env python %python_sitelibdir/pychecker/checker.pyc "$ at "
' > %buildroot%_bindir/%name

install -D %name.1 %buildroot%_man1dir/%name.1

%files
%doc README MAINTAINERS KNOWN_BUGS TODO pycheckrc
%attr(755,root,root) %_bindir/%name
%_man1dir/%name.*
%python_sitelibdir/%name/
%python_sitelibdir/*.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin