blob: ee494e5bdf9c33a71f17de1b7df2a3e2040ac863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.17.ebuild,v 1.6 2008/02/17 15:49:15 coldwind Exp $
inherit distutils
DESCRIPTION="tool for finding common bugs in python source code"
SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz"
HOMEPAGE="http://pychecker.sourceforge.net/"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
LICENSE="BSD"
IUSE=""
DEPEND="virtual/python"
DOCS="pycheckrc TODO"
src_install() {
distutils_src_install
sed -i -e "s|${D}|/|" "${D}/usr/bin/pychecker"
distutils_python_version
local destdir="${D}/usr/lib/python${PYVER}/site-packages/${PN}"
rm ${destdir}/{COPYRIGHT,README,VERSION,CHANGELOG}
rm ${destdir}/{KNOWN_BUGS,MAINTAINERS,TODO}
}
|