diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 19:46:19 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 19:46:19 +0000 |
commit | dfc60dc59cae89a8d346397b41d9966347cbf906 (patch) | |
tree | 7db6c3c5b424b658f4da4ea27981ae1cd850536c /dev-python/pychecker | |
parent | Change virtual/xft dependency to x11-libs/libXft. (diff) | |
download | gentoo-2-dfc60dc59cae89a8d346397b41d9966347cbf906.tar.gz gentoo-2-dfc60dc59cae89a8d346397b41d9966347cbf906.tar.bz2 gentoo-2-dfc60dc59cae89a8d346397b41d9966347cbf906.zip |
Bump to 0.8.18, fixes part of #216970, thanks to Frank Richter
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'dev-python/pychecker')
-rw-r--r-- | dev-python/pychecker/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch | 11 | ||||
-rw-r--r-- | dev-python/pychecker/pychecker-0.8.14.ebuild | 4 | ||||
-rw-r--r-- | dev-python/pychecker/pychecker-0.8.18.ebuild | 36 |
4 files changed, 57 insertions, 4 deletions
diff --git a/dev-python/pychecker/ChangeLog b/dev-python/pychecker/ChangeLog index dd3c1eaa8259..a440339337d0 100644 --- a/dev-python/pychecker/ChangeLog +++ b/dev-python/pychecker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pychecker -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.38 2008/09/01 22:03:58 hawking Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.39 2009/01/04 19:46:19 patrick Exp $ + +*pychecker-0.8.18 (04 Jan 2009) + + 04 Jan 2009; Patrick Lauer <patrick@gentoo.org> + +files/pychecker-0.8.18-pychecker2.patch, +pychecker-0.8.18.ebuild: + Bump to 0.8.18, fixes part of #216970, thanks to Frank Richter *pychecker-0.8.17-r1 (01 Sep 2008) diff --git a/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch b/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch new file mode 100644 index 000000000000..e225d1a06b14 --- /dev/null +++ b/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch @@ -0,0 +1,11 @@ +--- setup.py 2008-11-09 17:43:10.928105449 +0100 ++++ setup.py 2008-11-09 17:38:52.000000000 +0100 +@@ -258,7 +258,7 @@ + 'author' : "Neal Norwitz", + 'author_email' : "nnorwitz@gmail.com", + 'url' : "http://pychecker.sourceforge.net/", +- 'packages' : [ 'pychecker', ], ++ 'packages' : [ 'pychecker', 'pychecker2' ], + 'scripts' : [ "pychecker" ], # note: will be replaced by customized action + # Gentoo Modification: Do not install data files into site-packages + # use DOCS variable in ebuild instead diff --git a/dev-python/pychecker/pychecker-0.8.14.ebuild b/dev-python/pychecker/pychecker-0.8.14.ebuild index 36a43ee5093b..7dbf9821588f 100644 --- a/dev-python/pychecker/pychecker-0.8.14.ebuild +++ b/dev-python/pychecker/pychecker-0.8.14.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.14.ebuild,v 1.11 2007/07/11 06:19:47 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.14.ebuild,v 1.12 2009/01/04 19:46:19 patrick Exp $ inherit distutils 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/ +} |