* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2015-09-21 12:58 Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2015-09-21 12:58 UTC (permalink / raw
To: gentoo-commits
commit: ac36c2a2f6331728746aa9781213a10eba58eba9
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 12:57:18 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 12:57:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac36c2a2
dev-python/pylint: Drop old
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/pylint/Manifest | 4 --
.../pylint/files/pylint-0.26.0-gtktest.patch | 32 ------------
dev-python/pylint/pylint-0.25.2.ebuild | 55 --------------------
dev-python/pylint/pylint-1.4.0.ebuild | 60 ----------------------
dev-python/pylint/pylint-1.4.1.ebuild | 60 ----------------------
dev-python/pylint/pylint-1.4.3.ebuild | 60 ----------------------
6 files changed, 271 deletions(-)
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 5ce8409..39413d3 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,5 +1 @@
-DIST pylint-0.25.2.tar.gz 214769 SHA256 08c2a0ccf2d715cdc9a2a0478200c54aac5b4f6d521e10c5b27db65d5787ff07 SHA512 eea1a783ca52623fa2a026fe82939b8a5920b3b6be21b808388bb9336ba85aeded157198a436fcf3ab8735df6cfcf94c352b695db1131490dda2e26305be68d0 WHIRLPOOL b6a4595e14a350c9156ebb6fce3c9c35ada304f0c33659c55266534c4539f871102dfb6c601bd4e0b4a067a5695da28dcefda7e911d7d11325f4672b38dc7ecd
-DIST pylint-1.4.0.tar.gz 331577 SHA256 816646b9d5fd0c33f9e3b009953c46727d22bec3e880712d69b39b1b630fa3ca SHA512 b221390076c337a9ef14ef848cfa911f4d0217d7a39a0b0ebc2b556974a33d44381e15746c117ef4b7dcd87acca45f07894aa2db4cf3fe2b70228d570b89725c WHIRLPOOL d71264f76c9c49e22b8943705b0169548d9c69413527583ec95613eb9d5419e6175169cc25c791de94588617f6ac567668036192317fdcc5020511fddab99f78
-DIST pylint-1.4.1.tar.gz 338636 SHA256 3e383060edd432cbbd0e8bd686f5facfe918047ffe1bb401ab5897cb6ee0f030 SHA512 019405c16ef731f83c12e2b0a7f4b3fc2e17f35df50a18dbbc084ed14450a070e689850b8d7761e2fba0d2a8f6c70ef06709de5b96e59af7da9cc6cc412bbf25 WHIRLPOOL ae88953c5c43960438abf87e3c730afda220afae697cc6fc985372ddf8b0f94c018850800f6001e93e6748eee25e59e1ded2211935f3e45b55f04833acd40fb0
-DIST pylint-1.4.3.tar.gz 342509 SHA256 1dce8c143a5aa15e0638887c2b395e2e823223c63ebaf8d5f432a99e44b29f60 SHA512 63af8c72496b88db967c61d5be2b974fca053a45425ea8b5898e941be135d26c8c004b91b8b3a98337c0c5af4f5a530afbf091d7c5ecfa36bfa36aef9f843a95 WHIRLPOOL 17b08712a00c01468ca466f2f83386275a304ab7a2c8a1d223eeda8e9fd4cc4753796a354250accad9f9fcbd0aaba3562ebc794af880e49889ee1b5b2d295d0c
DIST pylint-1.4.4.tar.gz 342461 SHA256 0561af4d6bd4fa9e8e02f3997fe93684f7187c57bcef9db8c2ea9fb0d7d2f022 SHA512 bcbf5439628a071055cea441455f6c0fe0cbfae2617c473bc376b880421f17f78653901d7cf49950653436a0991a3bafbc2df15744ff24a3b059de53e518b331 WHIRLPOOL 9b8f5384691f5e762bfd7313691783e0b1a9148effec0b29f2e538f587dfa03f57413817589f8fc3f152c05330b7f39c8ede27720ff6ad12496f9101d824fedf
diff --git a/dev-python/pylint/files/pylint-0.26.0-gtktest.patch b/dev-python/pylint/files/pylint-0.26.0-gtktest.patch
deleted file mode 100644
index c7e8ca3..0000000
--- a/dev-python/pylint/files/pylint-0.26.0-gtktest.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-test_gtk_import can't connect to an X, decided by consensus to skip due to onerous
-overhead required by virtualx eclass to see it pass.
-diff -ur pylint-0.26.0.orig/test/test_regr.py pylint-0.26.0/test/test_regr.py
---- test/test_regr.py 2012-07-18 14:34:04.000000000 +0800
-+++ test/test_regr.py 2013-01-08 06:11:08.846289350 +0800
-@@ -75,16 +75,16 @@
- sys.path.pop(0)
- os.chdir(cwd)
-
-- def test_gtk_import(self):
-- try:
-- import gtk
-- except ImportError:
-- self.skipTest('test skipped: gtk is not available')
-- except RuntimeError: # RuntimeError when missing display
-- self.skipTest('no display, can\'t run this test')
-- linter.check(join(REGR_DATA, 'pygtk_import.py'))
-- got = linter.reporter.finalize().strip()
-- self.assertEqual(got, '')
-+# def test_gtk_import(self):
-+# try:
-+# import gtk
-+# except ImportError:
-+# self.skipTest('test skipped: gtk is not available')
-+# except RuntimeError: # RuntimeError when missing display
-+# self.skipTest('no display, can\'t run this test')
-+# linter.check(join(REGR_DATA, 'pygtk_import.py'))
-+# got = linter.reporter.finalize().strip()
-+# self.assertEqual(got, '')
-
- def test_numarray_inference(self):
- try:
diff --git a/dev-python/pylint/pylint-0.25.2.ebuild b/dev-python/pylint/pylint-0.25.2.ebuild
deleted file mode 100644
index bc6e4b0..0000000
--- a/dev-python/pylint/pylint-0.25.2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python code static checker"
-HOMEPAGE="http://www.logilab.org/project/pylint https://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="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="examples"
-
-# Versions specified in __pkginfo__.py.
-RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
- >=dev-python/astng-0.24.3[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-PATCHES=( "${FILESDIR}"/${PN}-0.26.0-gtktest.patch )
-
-python_test() {
- # Test suite broken with Python 3
- local msg="Test suite broken with ${EPYTHON}"
- if [[ "${EPYTHON}" == python3* ]]; then
- einfo "${msg}"
- else
- # https://bitbucket.org/logilab/pylint/issue/11/apparent-regression-in-testsuite-pylint
- # This 'issue' became' declared fixed by accident for version 0.27.0 despite being made citing 0.28.0
- pytest || die "Tests failed under ${EPYTHON}"
- fi
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- doman man/{pylint,pyreverse}.1
-
- if use examples; then
- docinto examples
- dodoc examples/*
- fi
-}
-
-pkg_postinst() {
- # Optional dependency on "tk" USE flag would break support for Jython.
- elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
-}
diff --git a/dev-python/pylint/pylint-1.4.0.ebuild b/dev-python/pylint/pylint-1.4.0.ebuild
deleted file mode 100644
index 9ba3153..0000000
--- a/dev-python/pylint/pylint-1.4.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2014 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} pypy )
-
-inherit distutils-r1
-
-RESTRICT="test" # needs pygtk
-
-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/logilab-common-0.53.0[${PYTHON_USEDEP}]
- >=dev-python/astroid-1.3[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( "${RDEPEND}" )"
-
-# 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 && emake -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.
- elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
-}
diff --git a/dev-python/pylint/pylint-1.4.1.ebuild b/dev-python/pylint/pylint-1.4.1.ebuild
deleted file mode 100644
index c5bed47..0000000
--- a/dev-python/pylint/pylint-1.4.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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} pypy )
-
-inherit distutils-r1
-
-RESTRICT="test" # needs pygtk
-
-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/logilab-common-0.53.0[${PYTHON_USEDEP}]
- >=dev-python/astroid-1.3.3[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( ${RDEPEND} )"
-
-# 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 && emake -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.
- elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
-}
diff --git a/dev-python/pylint/pylint-1.4.3.ebuild b/dev-python/pylint/pylint-1.4.3.ebuild
deleted file mode 100644
index da05f91..0000000
--- a/dev-python/pylint/pylint-1.4.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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} pypy )
-
-inherit distutils-r1
-
-RESTRICT="test" # needs pygtk
-
-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/logilab-common-0.53.0[${PYTHON_USEDEP}]
- >=dev-python/astroid-1.3.6[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( ${RDEPEND} )"
-
-# 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 && emake -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.
- elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2019-03-18 23:47 Virgil Dupras
0 siblings, 0 replies; 6+ messages in thread
From: Virgil Dupras @ 2019-03-18 23:47 UTC (permalink / raw
To: gentoo-commits
commit: 4e0657d2c74d4ca68c354c78d0ec8356e067c04f
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 23:44:04 2019 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 23:44:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0657d2
dev-python/pylint: fix docs build
Closes: https://bugs.gentoo.org/680848
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch | 14 ++++++++++++++
dev-python/pylint/pylint-2.3.1.ebuild | 4 ++++
2 files changed, 18 insertions(+)
diff --git a/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch b/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch
new file mode 100644
index 00000000000..9353a90957f
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.3.1-sphinx-theme.patch
@@ -0,0 +1,14 @@
+It's not worth introducing a new dependency for a mere sphinx theme...
+diff --git a/doc/conf.py b/doc/conf.py
+index ada9ec49..2bd66593 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -99,7 +99,7 @@ pygments_style = 'sphinx'
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+ # a list of builtin themes.
+-html_theme = 'python_docs_theme'
++html_theme = 'nature'
+
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further. For a list of options available for each theme, see the
diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild
index db307294d85..a9f24be3a26 100644
--- a/dev-python/pylint/pylint-2.3.1.ebuild
+++ b/dev-python/pylint/pylint-2.3.1.ebuild
@@ -31,6 +31,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}/${PN}-2.3.1-sphinx-theme.patch"
+)
+
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2019-03-18 23:47 Virgil Dupras
0 siblings, 0 replies; 6+ messages in thread
From: Virgil Dupras @ 2019-03-18 23:47 UTC (permalink / raw
To: gentoo-commits
commit: 95ea4e83efda3fb594936d53a980f2c84031151e
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 23:47:17 2019 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 23:47:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ea4e83
dev-python/pylint: remove pytest-runner dependency
It's useless
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch | 12 ++++++++++++
dev-python/pylint/pylint-2.3.1.ebuild | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch b/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch
new file mode 100644
index 00000000000..4caf59bb30e
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index a7b5e413..841a1c0d 100644
+--- a/setup.py
++++ b/setup.py
+@@ -169,7 +169,6 @@ def install(**kwargs):
+ extras_require=extras_require,
+ test_suite='test',
+ python_requires='>=3.4.*',
+- setup_requires=['pytest-runner'],
+ tests_require=['pytest'],
+ **kwargs)
+
diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild
index a9f24be3a26..7e1e963e3a5 100644
--- a/dev-python/pylint/pylint-2.3.1.ebuild
+++ b/dev-python/pylint/pylint-2.3.1.ebuild
@@ -24,7 +24,6 @@ RDEPEND="
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/pytest-runner[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
@@ -33,6 +32,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
PATCHES=(
"${FILESDIR}/${PN}-2.3.1-sphinx-theme.patch"
+ "${FILESDIR}/${PN}-2.3.1-no-pytest-runner.patch"
)
python_compile_all() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2020-01-30 0:21 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2020-01-30 0:21 UTC (permalink / raw
To: gentoo-commits
commit: 287815fe9e64f5a6ec1be6072ddb5d20256eec63
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Thu Jan 30 00:21:06 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 00:21:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287815fe
dev-python/pylint-2.4.4: Version bump, add py38
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/pylint/Manifest | 1 +
.../files/pylint-2.4.4-no-pytest-runner.patch | 12 +++++
.../pylint/files/pylint-2.4.4-sphinx-theme.patch | 13 +++++
dev-python/pylint/files/pylint-2.4.4-tests.patch | 13 +++++
dev-python/pylint/pylint-2.4.4.ebuild | 58 ++++++++++++++++++++++
5 files changed, 97 insertions(+)
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index ee1e8267508..0ce1aa3a79b 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,3 +1,4 @@
DIST pylint-1.6.5.tar.gz 465578 BLAKE2B 05412a528878633ef7529dd2f2d2d1989bc9406666626d62764f476bbc024e34fea06883fae829fe6617ebfffde54dfa5600c140b9a25e6c9633f48d76f5c331 SHA512 2fac352dc752b37f1ce4f7fefe5afbbc880d7e6c38f164d1c50734716af1dd6fe31f7d41e145a8256837d5a63b1989efec40c169fc14840cf8eb4e18d9bb2410
DIST pylint-1.8.4.tar.gz 512582 BLAKE2B 623e224ec71756cc2528346ac62b8e58ac4d5ef55d9e31e667d5389aa5b2dad712f60c7e90df5c831f57bf28e0ccbd00ddece4ade46410c28b67adb1a041a85f SHA512 07e55ed3f09326e1973215046e3b172f6065a7ed0ae657cba7a6825a26bb103bdbf8b83126bafd99f332fe0eec3547bcd6e618d6e9f612ddcf9c504bb850dcd9
DIST pylint-2.3.1.tar.gz 577767 BLAKE2B 2af206a9d9be04f369c2bbc39c5ddb80c29a5a39c20d75bfec84498882eab628a7cf5abcc5786933304ed99bd00ffa142b9a58abab348c947799f962b877bb30 SHA512 924d8adc95f04ba750b3b44fe79ac569151ea7c8f693cc9867bcda3878209ebc2202931702b98f80709d161d3781b6e181aea0ded35a3323c023497e2a749ea9
+DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b
diff --git a/dev-python/pylint/files/pylint-2.4.4-no-pytest-runner.patch b/dev-python/pylint/files/pylint-2.4.4-no-pytest-runner.patch
new file mode 100644
index 00000000000..0d668d01cdc
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.4.4-no-pytest-runner.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index 4d16b79b..b2a1b9e9 100644
+--- a/setup.py
++++ b/setup.py
+@@ -143,7 +143,6 @@ def install(**kwargs):
+ extras_require=extras_require,
+ test_suite="test",
+ python_requires=">=3.5.*",
+- setup_requires=["pytest-runner"],
+ tests_require=["pytest"],
+ **kwargs
+ )
diff --git a/dev-python/pylint/files/pylint-2.4.4-sphinx-theme.patch b/dev-python/pylint/files/pylint-2.4.4-sphinx-theme.patch
new file mode 100644
index 00000000000..1a84400a8d7
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.4.4-sphinx-theme.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/conf.py b/doc/conf.py
+index 906f0315..caca0c0c 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -100,7 +100,7 @@ pygments_style = "sphinx"
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+ # a list of builtin themes.
+-html_theme = "python_docs_theme"
++html_theme = "nature"
+
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further. For a list of options available for each theme, see the
diff --git a/dev-python/pylint/files/pylint-2.4.4-tests.patch b/dev-python/pylint/files/pylint-2.4.4-tests.patch
new file mode 100644
index 00000000000..b11ecb7c505
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.4.4-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/unittest_lint.py b/tests/unittest_lint.py
+index 4f942cd0..d54008bf 100644
+--- a/tests/unittest_lint.py
++++ b/tests/unittest_lint.py
+@@ -792,7 +792,7 @@ def test_filename_with__init__(init_linter):
+ messages = reporter.messages
+ assert len(messages) == 0
+
+-
++@pytest.mark.skip("known failure, see https://github.com/PyCQA/pylint/issues/3198")
+ def test_by_module_statement_value(init_linter):
+ """Test "statement" for each module analized of computed correctly."""
+ linter = init_linter
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 00000000000..7bffb5ac54f
--- /dev/null
+++ b/dev-python/pylint/pylint-2.4.4.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.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]'
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2020-06-16 22:54 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2020-06-16 22:54 UTC (permalink / raw
To: gentoo-commits
commit: 5ae1005adadf2775626172f3443ad4ee0a8722e1
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Tue Jun 16 22:54:28 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 22:54:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae1005a
dev-python/pylint-2.5.3: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/pylint/Manifest | 1 +
.../files/pylint-2.5.3-no-pytest-runner.patch | 20 +++++++
dev-python/pylint/files/pylint-2.5.3-tests.patch | 12 ++++
dev-python/pylint/pylint-2.5.3.ebuild | 65 ++++++++++++++++++++++
4 files changed, 98 insertions(+)
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 8d809f2782b..4c40eb2364a 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1 +1,2 @@
DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b
+DIST pylint-2.5.3.tar.gz 684449 BLAKE2B 7b494f5334376ff571fd8971851198d037e87c5be83d0123fcb108701489769785164bb077eb10b4851c89b82dadc40c510186eaf03be1621c4d78c79dffbceb SHA512 03fcd893d361b66794f17433e90df108099fee2eccb35507c7f61befb8db846f0242e5ce2b4ee63727c9cc780a376c3b93d5af3186f884a4fdaad68b224ed7d2
diff --git a/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch b/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch
new file mode 100644
index 00000000000..f4cc6be360d
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch
@@ -0,0 +1,20 @@
+diff --git a/setup.py b/setup.py
+index 92d059ff..cbc5b881 100644
+--- a/setup.py
++++ b/setup.py
+@@ -67,7 +67,6 @@ else:
+
+
+ needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
+-pytest_runner = ["pytest-runner"] if needs_pytest else []
+
+
+ def ensure_scripts(linux_scripts):
+@@ -151,7 +150,6 @@ def install(**kwargs):
+ extras_require=extras_require,
+ test_suite="test",
+ python_requires=">=3.5.*",
+- setup_requires=pytest_runner,
+ tests_require=["pytest"],
+ **kwargs
+ )
diff --git a/dev-python/pylint/files/pylint-2.5.3-tests.patch b/dev-python/pylint/files/pylint-2.5.3-tests.patch
new file mode 100644
index 00000000000..72a42e4caae
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.5.3-tests.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/test_self.py b/tests/test_self.py
+index 6c27fd6c..9fde0214 100644
+--- a/tests/test_self.py
++++ b/tests/test_self.py
+@@ -686,6 +686,7 @@ class TestRunTC:
+ )
+
+ @staticmethod
++ @pytest.mark.skip("seems to be failing to import nonexistant module")
+ def test_do_not_import_files_from_local_directory(tmpdir):
+ p_astroid = tmpdir / "astroid.py"
+ p_astroid.write("'Docstring'\nimport completely_unknown\n")
diff --git a/dev-python/pylint/pylint-2.5.3.ebuild b/dev-python/pylint/pylint-2.5.3.ebuild
new file mode 100644
index 00000000000..d2d671ed062
--- /dev/null
+++ b/dev-python/pylint/pylint-2.5.3.ebuild
@@ -0,0 +1,65 @@
+# 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.5.3-no-pytest-runner.patch"
+ "${FILESDIR}/${PN}-2.5.3-tests.patch"
+)
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # we don't want to run the benchmarking tests
+ rm -f tests/benchmark/test_baseline_benchmarks.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+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]'
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/
@ 2020-11-15 7:54 Michał Górny
0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2020-11-15 7:54 UTC (permalink / raw
To: gentoo-commits
commit: 5ce11ad1339c8d11c0e439b175eb7bb97c8e982b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 07:43:02 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 07:43:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce11ad1
dev-python/pylint: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pylint/Manifest | 1 -
.../files/pylint-2.5.3-no-pytest-runner.patch | 20 -------
dev-python/pylint/pylint-2.5.3.ebuild | 65 ----------------------
3 files changed, 86 deletions(-)
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 099f297e9de..a3ca45b1d13 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,2 +1 @@
-DIST pylint-2.5.3.tar.gz 684449 BLAKE2B 7b494f5334376ff571fd8971851198d037e87c5be83d0123fcb108701489769785164bb077eb10b4851c89b82dadc40c510186eaf03be1621c4d78c79dffbceb SHA512 03fcd893d361b66794f17433e90df108099fee2eccb35507c7f61befb8db846f0242e5ce2b4ee63727c9cc780a376c3b93d5af3186f884a4fdaad68b224ed7d2
DIST pylint-2.6.0.tar.gz 680289 BLAKE2B f7d4159478f667a3234beefd148857f26c8f7ea3aae3bfa70fa06fe2a8d86fcf22a0727a9fa5d8fc3de4aa0bb7a4d6e13bf68029f359122762d1e0d24a0b715b SHA512 02881fe14401bbe946618ef947c8db320a6c8dd93626402260d60468538ce67b61d1e8b921bfb1a6020514dd392e9b0021c97ddb60b45866c2d2241224f93f08
diff --git a/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch b/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch
deleted file mode 100644
index f4cc6be360d..00000000000
--- a/dev-python/pylint/files/pylint-2.5.3-no-pytest-runner.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 92d059ff..cbc5b881 100644
---- a/setup.py
-+++ b/setup.py
-@@ -67,7 +67,6 @@ else:
-
-
- needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
--pytest_runner = ["pytest-runner"] if needs_pytest else []
-
-
- def ensure_scripts(linux_scripts):
-@@ -151,7 +150,6 @@ def install(**kwargs):
- extras_require=extras_require,
- test_suite="test",
- python_requires=">=3.5.*",
-- setup_requires=pytest_runner,
- tests_require=["pytest"],
- **kwargs
- )
diff --git a/dev-python/pylint/pylint-2.5.3.ebuild b/dev-python/pylint/pylint-2.5.3.ebuild
deleted file mode 100644
index 8cae6d66c8b..00000000000
--- a/dev-python/pylint/pylint-2.5.3.ebuild
+++ /dev/null
@@ -1,65 +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 optfeature
-
-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.5.3-no-pytest-runner.patch"
- "${FILESDIR}/${PN}-2.5.3-tests.patch"
-)
-
-distutils_enable_sphinx doc
-distutils_enable_tests pytest
-
-python_prepare_all() {
- # we don't want to run the benchmarking tests
- rm -f tests/benchmark/test_baseline_benchmarks.py || die
-
- distutils-r1_python_prepare_all
-}
-
-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]'
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-15 7:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 12:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/files/, dev-python/pylint/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2019-03-18 23:47 Virgil Dupras
2019-03-18 23:47 Virgil Dupras
2020-01-30 0:21 Patrick McLean
2020-06-16 22:54 Patrick McLean
2020-11-15 7:54 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox