diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-29 01:01:16 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-29 01:01:16 +0000 |
commit | 8956a2e1a188569566fb94d50bedb361bdf03dd1 (patch) | |
tree | a092abc853d78cef43f06efb3714a96aa52cb047 /dev-python/pylint/pylint-0.21.3.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-8956a2e1a188569566fb94d50bedb361bdf03dd1.tar.gz gentoo-2-8956a2e1a188569566fb94d50bedb361bdf03dd1.tar.bz2 gentoo-2-8956a2e1a188569566fb94d50bedb361bdf03dd1.zip |
Version bump.
(Portage version: 2.2_rc88_p32/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pylint/pylint-0.21.3.ebuild')
-rw-r--r-- | dev-python/pylint/pylint-0.21.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pylint/pylint-0.21.3.ebuild b/dev-python/pylint/pylint-0.21.3.ebuild new file mode 100644 index 000000000000..0923017dc635 --- /dev/null +++ b/dev-python/pylint/pylint-0.21.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.21.3.ebuild,v 1.1 2010/09/29 01:01:16 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" +PYTHON_USE_WITH_OPT="tk" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +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 tk" + +# Versions specified in __pkginfo__.py. +RDEPEND=">=dev-python/logilab-common-0.50.1 + >=dev-python/astng-0.20.1" +DEPEND="${RDEPEND} + dev-python/setuptools" + +DOCS="doc/*.txt" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" pytest -v + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if ! use tk; then + rm -f "${ED}usr/bin/pylint-gui"* + fi + + doman man/{pylint,pyreverse}.1 || die "doman failed" + + if use examples; then + docinto examples + dodoc examples/* || die "dodoc failed" + fi +} |