summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-04 19:46:19 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-04 19:46:19 +0000
commitd4bb078d36aee3b4afd0c56faf412aa7cf1c32ef (patch)
treeadd64342b173032ac2d08c886ceb7673780b8a07 /dev-python/pychecker/pychecker-0.8.18.ebuild
parentChange virtual/xft dependency to x11-libs/libXft. (diff)
downloadhistorical-d4bb078d36aee3b4afd0c56faf412aa7cf1c32ef.tar.gz
historical-d4bb078d36aee3b4afd0c56faf412aa7cf1c32ef.tar.bz2
historical-d4bb078d36aee3b4afd0c56faf412aa7cf1c32ef.zip
Bump to 0.8.18, fixes part of #216970, thanks to Frank Richter
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'dev-python/pychecker/pychecker-0.8.18.ebuild')
-rw-r--r--dev-python/pychecker/pychecker-0.8.18.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pychecker/pychecker-0.8.18.ebuild b/dev-python/pychecker/pychecker-0.8.18.ebuild
new file mode 100644
index 000000000000..824106d5340f
--- /dev/null
+++ b/dev-python/pychecker/pychecker-0.8.18.ebuild
@@ -0,0 +1,36 @@
+# 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.1 2009/01/04 19:46:19 patrick Exp $
+
+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/"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+LICENSE="BSD"
+IUSE=""
+DEPEND="virtual/python"
+DOCS="pycheckrc"
+
+src_unpack() {
+ distutils_src_unpack
+ epatch "${FILESDIR}"/pychecker-0.8.17-no-data-files.patch
+ epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch
+}
+
+src_install() {
+ distutils_src_install
+ sed -i -e "s|${D}|/|" "${D}/usr/bin/pychecker"
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/
+}