diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-12-21 11:42:16 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-12-21 11:43:14 +0100 |
commit | 09c1a1bd6aedab0e8f6bbd9602d71e8e3274063a (patch) | |
tree | 00c0a20216a057275ec3112e5c75965253f97f87 /dev-python/pylint | |
parent | dev-libs/userspace-rcu: Version bump. (diff) | |
download | gentoo-09c1a1bd6aedab0e8f6bbd9602d71e8e3274063a.tar.gz gentoo-09c1a1bd6aedab0e8f6bbd9602d71e8e3274063a.tar.bz2 gentoo-09c1a1bd6aedab0e8f6bbd9602d71e8e3274063a.zip |
dev-python/pylint: Version Bump
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pylint')
-rw-r--r-- | dev-python/pylint/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pylint/pylint-1.5.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index e015e540abb8..e760a833e1c8 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,4 @@ DIST pylint-1.4.4.tar.gz 342461 SHA256 0561af4d6bd4fa9e8e02f3997fe93684f7187c57bcef9db8c2ea9fb0d7d2f022 SHA512 bcbf5439628a071055cea441455f6c0fe0cbfae2617c473bc376b880421f17f78653901d7cf49950653436a0991a3bafbc2df15744ff24a3b059de53e518b331 WHIRLPOOL 9b8f5384691f5e762bfd7313691783e0b1a9148effec0b29f2e538f587dfa03f57413817589f8fc3f152c05330b7f39c8ede27720ff6ad12496f9101d824fedf DIST pylint-1.4.5.tar.gz 342366 SHA256 cd6623bdd6e79b6b1e4c24672bdfa5923ce14541cf26fecd2bbc56845d136086 SHA512 530cdf53c411afc2b96d1716c5f9effa7b6406f9957c2b5183f651f47e458c28692e183f905a321adeb4919bd0ec68a4148fb171294ad08dfb5b87d37668849f WHIRLPOOL d4ccb18f42ab9b270c949ce145ec22a0f0f0f065f97e2f9fadd29b5503b348bee7ecf1321055b91dca3a9690946c238b09221521612c68f64d42d6170d92d7b0 DIST pylint-1.5.1.tar.gz 419684 SHA256 044e9f03eee51ac1cb05f094af6ccc2a2195c558d233819c22527062dff46225 SHA512 4ea88259ad9b63f02220a32365a446417db751809d24bef5f5a3c4ab4ec62942c02b46acf4dd60f2f3ac849789e306db03bd958d3d181d4c42860efa551927e3 WHIRLPOOL 1a35194d53bb77695164b356abeada82597ca7f228d2d8a9c43ac9880727136d829e135c2fbd85e41ddcd826099cb3d77d42d8b5b55e8952da0ab9f183e4d244 +DIST pylint-1.5.2.tar.gz 419023 SHA256 983bec35e10b0c5f0ec33c03629fe832642c46b76a43edce37a2e8d2708d2179 SHA512 27c4c28ff2aa80fba95033c84af7732365dcf8351cd0caee0205d28100106e194071d51d17d133ccf5ea95a6165896c43851dd397e02676d12720f426cc52afc WHIRLPOOL 16eebbd15f1af4b1932e26419ecb607604fc4b25973c54c444f98be46fd95b374bb0ddc8e5bd3880a272766426f241d6a694433ec9db8d44b559ecda7d231321 diff --git a/dev-python/pylint/pylint-1.5.2.ebuild b/dev-python/pylint/pylint-1.5.2.ebuild new file mode 100644 index 000000000000..d4adb716d28f --- /dev/null +++ b/dev-python/pylint/pylint-1.5.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 eutils + +DESCRIPTION="Python code static checker" +HOMEPAGE="http://www.logilab.org/project/pylint https://pypi.python.org/pypi/pylint" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/astroid-1.4.1[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( ${RDEPEND} )" + +RESTRICT="test" # needs pygtk + +# Usual. Requ'd for impl specific failures in test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + # selection of straight html triggers a trivial annoying bug, we skirt it + use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml +} + +python_test() { + # Test suite appears not to work under Python 3. + # https://bitbucket.org/logilab/pylint/issue/240/ + local msg="Test suite broken with ${EPYTHON}" + if python_is_python3; then + einfo "${msg}" + return 0 + fi + + pytest || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + doman man/{pylint,pyreverse}.1 + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( doc/_build/singlehtml/. ) + distutils-r1_python_install_all +} + +pkg_postinst() { + # Optional dependency on "tk" USE flag would break support for Jython. + optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk] +} |