summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-02-08 04:52:28 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-02-08 04:52:28 +0000
commit982e13148c15966b031de9447f3b691c31f5f843 (patch)
tree3ef243071828e8dadb66401b19d8783abf32c306 /dev-python/pylint
parentFix tests, disable test_backendhelpers test (bug 402619). (diff)
downloadgentoo-2-982e13148c15966b031de9447f3b691c31f5f843.tar.gz
gentoo-2-982e13148c15966b031de9447f3b691c31f5f843.tar.bz2
gentoo-2-982e13148c15966b031de9447f3b691c31f5f843.zip
Bump for #401991
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/ChangeLog9
-rw-r--r--dev-python/pylint/pylint-0.25.1.ebuild61
2 files changed, 68 insertions, 2 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog
index 4269315e72d0..ef572f047246 100644
--- a/dev-python/pylint/ChangeLog
+++ b/dev-python/pylint/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pylint
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.85 2011/10/18 19:11:54 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.86 2012/02/08 04:52:28 patrick Exp $
+
+*pylint-0.25.1 (08 Feb 2012)
+
+ 08 Feb 2012; Patrick Lauer <patrick@gentoo.org> +pylint-0.25.1.ebuild:
+ Bump for #401991
18 Oct 2011; Tim Harder <radhermit@gentoo.org> -pylint-0.21.3.ebuild,
-pylint-0.22.0.ebuild:
diff --git a/dev-python/pylint/pylint-0.25.1.ebuild b/dev-python/pylint/pylint-0.25.1.ebuild
new file mode 100644
index 000000000000..5f82cc07eb4e
--- /dev/null
+++ b/dev-python/pylint/pylint-0.25.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.25.1.ebuild,v 1.1 2012/02/08 04:52:28 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="*:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4"
+
+inherit distutils
+
+DESCRIPTION="Python code static checker"
+HOMEPAGE="http://www.logilab.org/projects/pylint/ http://pypi.python.org/pypi/pylint"
+SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="examples"
+
+# Versions specified in __pkginfo__.py.
+RDEPEND=">=dev-python/logilab-common-0.53.0
+ >=dev-python/astng-0.21.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+DOCS="doc/*.txt"
+
+src_test() {
+ testing() {
+ # Test suite broken with Python 3.
+ [[ "${PYTHON_ABI}" == 3.* ]] && return
+
+ PYTHONPATH="build/lib" pytest -v
+ }
+ python_execute_function -s testing
+}
+
+src_install() {
+ distutils_src_install
+
+ doman man/{pylint,pyreverse}.1 || die "doman failed"
+
+ if use examples; then
+ docinto examples
+ dodoc examples/* || die "dodoc failed"
+ fi
+
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/pylint/test"
+ }
+ python_execute_function -q delete_tests
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ # Optional dependency on "tk" USE flag would break support for Jython.
+ elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
+}