diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3da5747b2..3fddb5e1c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,7 @@ * bump frontend-20191115.0 * bump SQLAlchemy-1.3.11 * bump pyHik-0.2.5 + * bump pylint-2.4.4 2019-11-15 * add aiobotocore-0.10.1 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index f506f9142..eff2c2b71 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,8 +1,10 @@ DIST pylint-2.2.2.tar.gz 568313 BLAKE2B a6a3a48a96820bf9412dbd5f3e643d95fe7c9ead9752920d9979debaf5da53a3b5076c39975dd37420c86b71fd2ed2f513c42663fbaf1e6103a0958271773c58 SHA512 29a9bf39413479cb2996b1a2e0d3aaa1845faf3038b17c30948554c359fe8cc858e9bfc0488ed0af204daea22e0ab36d765c447eae66ac7ac6d60d66d9a33fef DIST pylint-2.4.2.tar.gz 644864 BLAKE2B 698336c9819382ff4331a1893377d47f4d1b4c9feec9a0531c673da2022108446c4eff171d02c6f6e492dd629623baf2ec314f85fa9c1b86628b85b50e8727db SHA512 b048dbc13c4b7928631a3f6068f85c38296442f29934ccc4574c176e9956683ccd4ccd96d8c5931eb542aed4625c6867c973a4d77080957a1a77b92c059fbac1 DIST pylint-2.4.3.tar.gz 645881 BLAKE2B b386c13e0e23df8242c5f011694d16b9e9d46a6ae26e9f0b6952d3572887208324afd4797f79fb636802a9eb7446dfef7877b4f0b65bb92e4106c4c1d7d0282f SHA512 b14399bcc1aa4fdc86cbfb4e453c9d507333a91f5f3405cd284391245eb2a783a16533c5aa75121f80f56f7fceda547ef42701f9084526081ee94e5eeea34774 +DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b EBUILD pylint-2.2.2.ebuild 2440 BLAKE2B 33b1c260a2ec7c8508df46a4abb6213c928d5b7cdbad19520c1ac84cfa9edb6390f0c5010d679e282aedb373a879f164ba95869c3a1ca8e0b9e5376454b74c71 SHA512 df388241d0a5bf3f6b86bd95384614144c672832f126ff7aedf59dfa57878a3732c7f5329c49d2c358114309abedb6d88ea4b971bf0cd6577789fca34c21358b EBUILD pylint-2.4.2.ebuild 2440 BLAKE2B 33b1c260a2ec7c8508df46a4abb6213c928d5b7cdbad19520c1ac84cfa9edb6390f0c5010d679e282aedb373a879f164ba95869c3a1ca8e0b9e5376454b74c71 SHA512 df388241d0a5bf3f6b86bd95384614144c672832f126ff7aedf59dfa57878a3732c7f5329c49d2c358114309abedb6d88ea4b971bf0cd6577789fca34c21358b EBUILD pylint-2.4.3-r1.ebuild 2432 BLAKE2B d36722d7230037dcde510913a382369a672eeeec28ce6a104475b4ad67cad139f9a327c79d29c24df9937d1e19cfbc01d6e8df568126ee1f86d1ae208140ca86 SHA512 6e7bfd4c55e61d9f029ab4ca1e78137784011d0418f6f93a626400ce9debadb74534b895211b9dd475960b0a472090d7b22f6dad45cdc720d5dd722af0569777 EBUILD pylint-2.4.3.ebuild 2440 BLAKE2B 33b1c260a2ec7c8508df46a4abb6213c928d5b7cdbad19520c1ac84cfa9edb6390f0c5010d679e282aedb373a879f164ba95869c3a1ca8e0b9e5376454b74c71 SHA512 df388241d0a5bf3f6b86bd95384614144c672832f126ff7aedf59dfa57878a3732c7f5329c49d2c358114309abedb6d88ea4b971bf0cd6577789fca34c21358b +EBUILD pylint-2.4.4.ebuild 2432 BLAKE2B d36722d7230037dcde510913a382369a672eeeec28ce6a104475b4ad67cad139f9a327c79d29c24df9937d1e19cfbc01d6e8df568126ee1f86d1ae208140ca86 SHA512 6e7bfd4c55e61d9f029ab4ca1e78137784011d0418f6f93a626400ce9debadb74534b895211b9dd475960b0a472090d7b22f6dad45cdc720d5dd722af0569777 MISC metadata.xml 1074 BLAKE2B 712009f2963542b06e481ae89b331e9ddeec4d2d340ba076f73f12e328906527daeb814a03df11e0c9f12ce5b19c6639f8686294d2673cfd2fcac96c94aef6df SHA512 83ad47c0dfcd143d058267fb1c5d250b9316124a91f431356a881937b4a527a0e23575cf353da8aa678645e6ec4a455b9114ac6ecfa0b36d88ac0623ca66ce57 diff --git a/dev-python/pylint/pylint-2.4.4.ebuild b/dev-python/pylint/pylint-2.4.4.ebuild new file mode 100644 index 000000000..484994ce8 --- /dev/null +++ b/dev-python/pylint/pylint-2.4.4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 eutils + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/astroid-1.6.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + dev-python/mccabe[${PYTHON_USEDEP}] + virtual/python-singledispatch[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}] + dev-python/configparser[${PYTHON_USEDEP}]' -2)" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( ${RDEPEND} + 2 else open(os.devnull, "w")/' \ + -e 's/test_libmodule/_&/' \ + pylint/test/acceptance/test_stdlib.py || die + sed -i -e 's/^# pylint:.*/\0, import-error/' \ + pylint/test/functional/deprecated_module_py36.py || die + sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \ + pylint/test/functional/generated_members.py || die + sed -i -e 's/test_good_comprehension_checks/_&/' \ + pylint/test/functional/using_constant_test.py || die + + distutils-r1_python_prepare_all +} + +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() { + py.test -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + doman man/{pylint,pyreverse}.1 + if use examples ; then + docinto examples + dodoc -r examples/. + fi + 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]' +}