From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-python/pylint/Manifest | 6 +-- dev-python/pylint/pylint-1.6.5-r1.ebuild | 65 -------------------------------- dev-python/pylint/pylint-2.3.1.ebuild | 2 +- dev-python/pylint/pylint-2.4.4-r1.ebuild | 58 ++++++++++++++++++++++++++++ dev-python/pylint/pylint-2.4.4.ebuild | 58 ---------------------------- 5 files changed, 61 insertions(+), 128 deletions(-) delete mode 100644 dev-python/pylint/pylint-1.6.5-r1.ebuild create mode 100644 dev-python/pylint/pylint-2.4.4-r1.ebuild delete mode 100644 dev-python/pylint/pylint-2.4.4.ebuild (limited to 'dev-python/pylint') diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index b6ba7023d0bd..bf107733df4c 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -3,10 +3,8 @@ AUX pylint-2.3.1-sphinx-theme.patch 537 BLAKE2B 62f83fdaa8c1ec45f8ef7b03e7aafd85 AUX pylint-2.4.4-no-pytest-runner.patch 345 BLAKE2B e11b2be3eb2721817d118bc161fd0fa6e7fc36febf1fffaa78f9c5f7810c9e316e59db2e28d07c161a53df34c8948083da5e11915eab18a45039d90e61e4ba28 SHA512 b5fd6fa2a902219515ecb733e338bb0d0389d1dedb947853111c7e7c9c0c83b80e595d854252a344bec6c5a3da3f1976c7b510910ba1fe199d977d70efaff5de AUX pylint-2.4.4-sphinx-theme.patch 468 BLAKE2B 741a362b51d35f574b245b4df81309b1b08be7a38ca7fd5c04d6c9ce39bc830e32531a29103d1261d9fea6eecf5f52fb1d4cf74ab0ec3bda5f6299e4edfecf94 SHA512 7f1896819d4f2766a83ce2600754d7a698ce13388de9127e83b42b76b332ae5eb54eb538b9dd5d81dafe1cd5798e703c1f3fd7fa318a8582aa7c2c0db7cc7a30 AUX pylint-2.4.4-tests.patch 522 BLAKE2B 1ec6a2c49a111a35f50f755b59e0c288e4fa801204b72a0f4f8a6b4ec54fbb35e0bedfcecfae329cf39022fca6c35c99a1b3130dbf63bc0fe5dd6ebcc3a42205 SHA512 d7a22c0f4f9adcef0a3bbeca0321c90c1ebdeee678ff5f2fbb5b404514e110f69ae294fb3bbdf2431e932326d7bdedbefc5fca5cdf145f8221061eae15ff92fd -DIST pylint-1.6.5.tar.gz 465578 BLAKE2B 05412a528878633ef7529dd2f2d2d1989bc9406666626d62764f476bbc024e34fea06883fae829fe6617ebfffde54dfa5600c140b9a25e6c9633f48d76f5c331 SHA512 2fac352dc752b37f1ce4f7fefe5afbbc880d7e6c38f164d1c50734716af1dd6fe31f7d41e145a8256837d5a63b1989efec40c169fc14840cf8eb4e18d9bb2410 DIST pylint-2.3.1.tar.gz 577767 BLAKE2B 2af206a9d9be04f369c2bbc39c5ddb80c29a5a39c20d75bfec84498882eab628a7cf5abcc5786933304ed99bd00ffa142b9a58abab348c947799f962b877bb30 SHA512 924d8adc95f04ba750b3b44fe79ac569151ea7c8f693cc9867bcda3878209ebc2202931702b98f80709d161d3781b6e181aea0ded35a3323c023497e2a749ea9 DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b -EBUILD pylint-1.6.5-r1.ebuild 1791 BLAKE2B 7e139c0dff53c6ccc17eac6d37cc865b621e8fc7f2155be3441f92f05946a6e5cfdf0ec708b748c70c57caee87c0a7874da5981d1c7f3ff0dde74083ffc04fba SHA512 3a4ebbe7946d4856ff42731ccf6becbf72f0e7a3d219df088699429f18023a369e1824b055dce4cb9927792e95315dcf8dda19e5cc73662ae6c67391e82a88ab -EBUILD pylint-2.3.1.ebuild 1649 BLAKE2B ef78c010054846cad6281e86a3acc9629469d22a58df635986dc82b101c07f349ddc19ae340ced07d7568285d2bff05eafcb246b8877df434a551600a6255b35 SHA512 564c255faa76b208c363b38c69f0e4a29733bf4784e3f62eda9eb54e4222afb5f38c0bd5e3f824216782d3e7659d0ed6e48817aa7508def98d57d13f5d7b650a -EBUILD pylint-2.4.4.ebuild 1446 BLAKE2B be035ef9f3f7a52ccfc8bf233a07b02178c0597facac153e35362befdcc486ff47f794b9fcd7cf6bd4ef78d02ae928d1867e260d9d1a5c9d1bb6960e938fcd10 SHA512 07a7056f1203691c137c157f500bc0fd9d14cbf77e40871bee1d51c3401bbc6958d3034abfe1c0b72cac729dd6947cc442b1e34be0179ed10ff99e0cd30d45c9 +EBUILD pylint-2.3.1.ebuild 1644 BLAKE2B c4becfd67926f98a6cc34a3c6731b6976c126fbc10729bbb6f156645417ea29d973cf4ff3c03f89e7adf6bd2b740af417f24e46358e2ede7d512008aa8d3c4bf SHA512 eed55a19deb4825aac612378e465dd94aa4bb9673bbb5beb48757f5cdcd381670322174eb2a34a966186b5d9e49f89ebc5d4240dfb94123ee2e011332c03261b +EBUILD pylint-2.4.4-r1.ebuild 1446 BLAKE2B 8433ee3f88e470d9bb9aa31b4c9abd71d27465584fc685d1211f36cbd22a50a32900015953e0b48e40ff2b8195abc51aff705a9f0f887ca0e5c0d453eb72388f SHA512 57e68648a6fb3bfeda6b18da1f8e27a65bced2b18cccd72da6ac1beb6bc6246d605f285b2ba8e29b20a292f90d1f352f9cfa4cd041d4a34d8e0da4b257179de7 MISC metadata.xml 1074 BLAKE2B 712009f2963542b06e481ae89b331e9ddeec4d2d340ba076f73f12e328906527daeb814a03df11e0c9f12ce5b19c6639f8686294d2673cfd2fcac96c94aef6df SHA512 83ad47c0dfcd143d058267fb1c5d250b9316124a91f431356a881937b4a527a0e23575cf353da8aa678645e6ec4a455b9114ac6ecfa0b36d88ac0623ca66ce57 diff --git a/dev-python/pylint/pylint-1.6.5-r1.ebuild b/dev-python/pylint/pylint-1.6.5-r1.ebuild deleted file mode 100644 index 75c33e68cec6..000000000000 --- a/dev-python/pylint/pylint-1.6.5-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_6 ) -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 ia64 ppc ppc64 sparc x86" -IUSE="doc examples test" - -RDEPEND=" - >=dev-python/astroid-1.4.5[${PYTHON_USEDEP}] - =dev-python/isort-4.2.5[${PYTHON_USEDEP}] - dev-python/mccabe - $(python_gen_cond_dep ' - dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}] - dev-python/configparser[${PYTHON_USEDEP}]' python2_7)" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} )" - -RESTRICT="test" # multiple failures - -# 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() { - ${EPYTHON} \ - -m unittest discover \ - -s pylint/test/ -p "*test_*".py \ - --verbose || die -} - -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] -} diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild index 34de30378fe9..37cbf77e4efc 100644 --- a/dev-python/pylint/pylint-2.3.1.ebuild +++ b/dev-python/pylint/pylint-2.3.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/pylint/pylint-2.4.4-r1.ebuild b/dev-python/pylint/pylint-2.4.4-r1.ebuild new file mode 100644 index 000000000000..768d9e90bcc9 --- /dev/null +++ b/dev-python/pylint/pylint-2.4.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend +# entry_points is added via **kwargs in a dict +_DISTUTILS_SETUPTOOLS_WARNED=1 + +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 ~ppc64 ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/astroid-2.3.3[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + dev-python/mccabe[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/six[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" + "${FILESDIR}/${PN}-2.4.4-no-pytest-runner.patch" + "${FILESDIR}/${PN}-2.4.4-tests.patch" +) + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_install_all() { + doman man/{pylint,pyreverse}.1 + if use examples ; then + docinto examples + dodoc -r examples/. + fi + + 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]' +} diff --git a/dev-python/pylint/pylint-2.4.4.ebuild b/dev-python/pylint/pylint-2.4.4.ebuild deleted file mode 100644 index 7bffb5ac54f4..000000000000 --- a/dev-python/pylint/pylint-2.4.4.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_USE_SETUPTOOLS=rdepend -# entry_points is added via **kwargs in a dict -_DISTUTILS_SETUPTOOLS_WARNED=1 - -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 ~ppc64 ~sparc ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/astroid-2.2.0[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - dev-python/mccabe[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/six[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" - "${FILESDIR}/${PN}-2.4.4-no-pytest-runner.patch" - "${FILESDIR}/${PN}-2.4.4-tests.patch" -) - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -python_install_all() { - doman man/{pylint,pyreverse}.1 - if use examples ; then - docinto examples - dodoc -r examples/. - fi - - 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]' -} -- cgit v1.2.3