diff options
author | 2010-06-08 00:34:04 +0000 | |
---|---|---|
committer | 2010-06-08 00:34:04 +0000 | |
commit | f1fe71753c260523520bbe884fd978977a619a82 (patch) | |
tree | 15ec00fd13e1540f0bc990e5cf91632e102145de | |
parent | Fix dependencies. (diff) | |
download | gentoo-2-f1fe71753c260523520bbe884fd978977a619a82.tar.gz gentoo-2-f1fe71753c260523520bbe884fd978977a619a82.tar.bz2 gentoo-2-f1fe71753c260523520bbe884fd978977a619a82.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pylint/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pylint/pylint-0.21.1.ebuild | 67 |
2 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog index 17a16f977c78..7e7c08a4c445 100644 --- a/dev-python/pylint/ChangeLog +++ b/dev-python/pylint/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pylint # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.67 2010/06/06 09:25:08 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.68 2010/06/08 00:34:04 arfrever Exp $ + +*pylint-0.21.1 (08 Jun 2010) + + 08 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pylint-0.21.1.ebuild: + Version bump. 06 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> pylint-0.20.0.ebuild: x86 stable wrt bug #319177 diff --git a/dev-python/pylint/pylint-0.21.1.ebuild b/dev-python/pylint/pylint-0.21.1.ebuild new file mode 100644 index 000000000000..efb5e3f950ec --- /dev/null +++ b/dev-python/pylint/pylint-0.21.1.ebuild @@ -0,0 +1,67 @@ +# 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.1.ebuild,v 1.1 2010/06/08 00:34:04 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 http://pypi.python.org/packages/source/${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="doc examples test tk" + +# Versions specified in __pkginfo__.py. +DEPEND=">=dev-python/logilab-common-0.50.1 + >=dev-python/astng-0.20.1" +RDEPEND="${DEPEND}" + +src_prepare() { + distutils_src_prepare + + # Disable failing tests. + rm -f test/input/func_arguments.py + sed -e "s/test_exhaustivity/_&/" -i test/test_func.py || die "sed failed" +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" pytest -v + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + doman man/{pylint,pyreverse}.1 || die "doman failed" + dodoc doc/FAQ.txt || die "dodoc failed" + + if use doc; then + dodoc doc/*.txt || die "dodoc failed" + fi + + if use examples; then + docinto examples + dodoc examples/* || die "dodoc failed" + fi +} + +pkg_postinst() { + distutils_pkg_postinst + + if ! has_version "=dev-lang/python-2*[tk]"; then + ewarn "dev-lang/python has been built without tk support," + ewarn "${PN}-gui doesn't work without Tkinter so if you really need it," + ewarn "re-install dev-lang/python with \"tk\" useflag enabled." + fi +} |