summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pychecker/pychecker-0.8.19.ebuild')
-rw-r--r--dev-python/pychecker/pychecker-0.8.19.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pychecker/pychecker-0.8.19.ebuild b/dev-python/pychecker/pychecker-0.8.19.ebuild
new file mode 100644
index 0000000..193aa64
--- /dev/null
+++ b/dev-python/pychecker/pychecker-0.8.19.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.9 2009/10/25 14:00:33 arfrever Exp $
+# 0.8.18.ebuild modified by mhammill for use with 0.8.19
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="Tool for finding common bugs in python source code"
+SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz"
+HOMEPAGE="http://pychecker.sourceforge.net/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
+
+# PYTHON_MODNAME="pychecker pychecker2"
+PYTHON_MODNAME="pychecker"
+DOCS="pycheckrc"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/pychecker-0.8.17-no-data-files.patch
+ # epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch
+ sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed setup.py failed"
+}