summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-01-07 07:31:02 +0000
committerIan Delaney <idella4@gentoo.org>2013-01-07 07:31:02 +0000
commitd8b9d3fae055c99caa1f3264287d51b3a3c8f3b3 (patch)
tree091cbe7e9021a187ef8222e4baa3657df882c363 /dev-python/pylint
parentcommitting manifests (diff)
downloadhistorical-d8b9d3fae055c99caa1f3264287d51b3a3c8f3b3.tar.gz
historical-d8b9d3fae055c99caa1f3264287d51b3a3c8f3b3.tar.bz2
historical-d8b9d3fae055c99caa1f3264287d51b3a3c8f3b3.zip
EAPI to 4, restricted pypy subsequent to test failures, added gtktest.patch skipping over 1 new test which otherwise needs full virtualx to pass, fixes Bug #44952 by flameeyes
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/ChangeLog8
-rw-r--r--dev-python/pylint/Manifest15
-rw-r--r--dev-python/pylint/files/pylint-0.26.0-gtktest.patch32
-rw-r--r--dev-python/pylint/pylint-0.26.0.ebuild13
4 files changed, 61 insertions, 7 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog
index 75788de245b8..3d6ca5706e6d 100644
--- a/dev-python/pylint/ChangeLog
+++ b/dev-python/pylint/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pylint
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.91 2013/01/01 14:15:38 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.92 2013/01/07 07:30:38 idella4 Exp $
+
+ 07 Jan 2013; Ian Delaney <idella4@gentoo.org>
+ +files/pylint-0.26.0-gtktest.patch, pylint-0.26.0.ebuild:
+ EAPI to 4, restricted pypy subsequent to test failures, added gtktest.patch
+ skipping over 1 new test which otherwise needs full virtualx to pass, fixes
+ Bug #44952 by flameeyes
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pylint-0.26.0.ebuild:
Add ~alpha, wrt bug #449220
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 89f933f779d8..984491512fde 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,3 +1,7 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX pylint-0.26.0-gtktest.patch 1347 SHA256 da7d6e8e30adf52d120fcca73c4f32223efad585a09a789b0ba4e989f6041f5f SHA512 4a25a3c510da171ed661be048a6ef95c9701071833a9f64c56917d2919330f559c7877885e9da41614868d040ca8a27358a73717e96d597fe8a2a0753eab23a1 WHIRLPOOL d35c62166ae332d73d629a56f25694607c5c2955723be3549b256c80aec55a5dfe9ed65f922d180946757a2c9d5275fb9f9e787cd8aaac7e909d73af602ad269
DIST pylint-0.23.0.tar.gz 200192 SHA256 cdb093d15abe2f1cd2f7d949ad3bb29149aeead7740d5722396309c6b60a091c SHA512 7433165417f6d8159debdf142090d3c4a80bbce0d468d8d426236c317228f31a3c2c92e4a2721ee1d69460f591b8d7c0a0327b43b7eb577df72a3043ee9fcaff WHIRLPOOL 87ef6973c30ffd4208df7f64245ccbba4227ae5794afeb9aa72afbd30ed9ca879280a20d86f8e80425a2d28c6ce53def53e7f05b7a19a3b6da4fed8c6d82f00a
DIST pylint-0.25.0.tar.gz 205462 SHA256 433a9c8089a2212d99c4ef954f96b70af6ff3d2acd13d21791fe909e2966d21f SHA512 0184eafccfc0a8cc26335fa4ccaad4cf6223e3ac9c76d3b0b8c481750158691eaffb57e51d82c68ed9ccd009e006318ed005681976b03bcc5afd22cc336ec70e WHIRLPOOL 25632bd58de92cb3d029ee4885034e698649f8d1f38e624202ef4795a0fa9ac0610ddcefaae49f2330c748afa0f32ef91e16661fe27eb712da0c0150437d06ea
DIST pylint-0.25.1.tar.gz 211562 SHA256 5991744c9247bf355a531651fca35f9fd67506892081574677aadd175ec94a00 SHA512 46eafc1b39b20ba5362b3c8e20a835e3524df9da0a5707c1c6df75b15aaa846120d99e7cac13e0d6e888b540b2ca72a5a8e0cbb188ac00c9cbfbea7e634df2ef WHIRLPOOL 06733b38acca2d7cbffb9f97fa0772d3e47a432b31e52d41e040bca51d65273f9ba8cfceb1f8f58117ffa1803606ccf86a20320270ec09169b1625ee598fda72
@@ -7,6 +11,13 @@ EBUILD pylint-0.23.0.ebuild 1569 SHA256 840225956e8a7f852221b81d50a221d5da047dc1
EBUILD pylint-0.25.0.ebuild 1572 SHA256 b095c3e78d6e3d1434203262461dbbb5c6105b3549c51866fe9ef3b4ed62efa2 SHA512 bdc232e6c648a4a5c984083234503b478e56e9ca0437c9a9912a317587318d3b890146580fac92e6d54614af5945b358e487f90b6b5adfa975335b19db2b4c3f WHIRLPOOL 61078eb565c20a73b667ef422b2d228c3594433c5688c79997b352705be8fd61275543043388d34a09e1e36ed3681f310fc1715290a7318e46e19214d15091b4
EBUILD pylint-0.25.1.ebuild 1572 SHA256 2ec5ac5a88db40e2353e64f8db7070f5419a60d84c872057280b799569912109 SHA512 1a5a1102ed15a236e360cf8d59218c97b4b2ba0095b1c4fe5a57c5b772d2608c9011b201f575838236d1f52c0a136a30ec677b5ef54ef5ad9d22fdc89b8d1d94 WHIRLPOOL ba66611c4d95afd374d3e0c77687d39ebeda43cf6b7642f3019e989913192709397b218c3100302aea0ee3b7e585ca5755cfdc8719f930040b7cab3f70bb89fa
EBUILD pylint-0.25.2.ebuild 1572 SHA256 a1f450e0afad4a713820630a82e04421f46814d38131be0906a36d384ca3f83a SHA512 824c4a14b65afee75c0befbf85d6bf610dac97e2ae256fc5b9727caabca27e709730f2975c79b46e1663aac7d37b0c5c45091d48f461ff9114bbbcb1206e86d1 WHIRLPOOL 450b11a9cfcf1e74385d5e2cf89c2013fdae004e086f6c9fae47115f942caa90cf8d6cff358204bb59c530f6b5dc15293f0c08ca1be1758b3ab0005b5d4c2751
-EBUILD pylint-0.26.0.ebuild 1582 SHA256 e07b4d569a1aecab89d2ddc03af43f5c759abf3303ee2d446fb5922a91b14551 SHA512 c5808e45e240e400c5c5a3b4121deb02a27043458a58cd93370a4fdb0bb4298adf1364dda0296bdf09aa95427b89116c0c80f3fbb55b335dc96aa9264412f3d4 WHIRLPOOL 2adbf2ecfcc8eb376ebc341afeda9a014644ea871823f6a83f24dc7ad70c336d05f44d7e0556bed7e5dd6ddcee05bd54bd6f6e1312e68e44095f7bbcc0bbbed2
-MISC ChangeLog 13114 SHA256 89df9c1983ed8d42a8393c529304ed768019c6000d0aa25ae03a39d898abf49f SHA512 84e1a68915aa5cc2c778ce7386b45fb22e1bd9100cb139284baaa7202d70d786d5b87c778117c6d3f60bee975d2f9f211d3a66053f9abcf4864297ca496b1a63 WHIRLPOOL 7ed596214e7eb15cd1ef7a21456adac4d697a466b755cdc88df81db9f3d5213eb3275ff66e6c0f41ab04298d2544755dc9f8f8b8f9e7c66bccc09d152bf13c95
+EBUILD pylint-0.26.0.ebuild 1683 SHA256 bc2075eb1651f83e32f2008fc553c62c73f5ba823959feb703129719c7b8ae6e SHA512 d435786153be9075402fe61b4d851ae0c9bb0f032b84b857c98a7add900e4b7a4c6c0d390443f9ec383d08c4727c0263481d85fc7007b638f07a435b6a3a3c6f WHIRLPOOL 54b0a01b8e4f56207cfbb4d465f2968ebddbcc521c272f3d5a5f08342bd8b4ed4cd6f5feb3cb36193bba3817748d842399861e4a923cf8c0ad1fdcad9e991a17
+MISC ChangeLog 13409 SHA256 f161332682bf2680fe6de8eebd7ce587a904e8dad3b13fa3e82d5de5a85523be SHA512 911d22eac889a41c0eee9c05ebb68d5b61e7fb6f086794ec111721c482d9d63531939033d86c1c122048b99b87404d2c192db06d288af358398bbe0ed8756c72 WHIRLPOOL add060f2e76a81ea83732be78e200f1b71dc3bbad37d61c83bca19bc9270203ed25524aa426a597af05bbccd35417953ce42c0e6f8d0913cdea01859b25cf198
MISC metadata.xml 905 SHA256 ed1ee294ab51b5922f5e8877c2c41fefd067a0fb2d7a2680374889b4baf7d1f5 SHA512 24d01ffc20eeae23cc68a9bab3701ee228006a31fe9f53cecfc43f3cf3c48ded5a7cc10f3a0ac19d0f8a31a9eb716bbbc01f56a15dabf81a20269308828268de WHIRLPOOL 6b309df9f439c26e3587ead83bcf35e63d1e03b42d2ef04c16887575a3492a659732f004666c9807a5fd45cbc780384df37f6356cfdf06d50d8f52ba4254383e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlDrWj0ACgkQso7CE7gHKw2dhACgmA93SYwDPL5tS0ZBw+WiMeVX
+vt8AoJeeswUrnl6oLg62c4MDq8o+a6sb
+=T7uI
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pylint/files/pylint-0.26.0-gtktest.patch b/dev-python/pylint/files/pylint-0.26.0-gtktest.patch
new file mode 100644
index 000000000000..c7e8ca39e621
--- /dev/null
+++ b/dev-python/pylint/files/pylint-0.26.0-gtktest.patch
@@ -0,0 +1,32 @@
+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.26.0.ebuild b/dev-python/pylint/pylint-0.26.0.ebuild
index 5e33327ca5a6..ffcdab801750 100644
--- a/dev-python/pylint/pylint-0.26.0.ebuild
+++ b/dev-python/pylint/pylint-0.26.0.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.26.0.ebuild,v 1.3 2013/01/01 14:15:38 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.26.0.ebuild,v 1.4 2013/01/07 07:30:38 idella4 Exp $
-EAPI="3"
+EAPI="4"
PYTHON_DEPEND="*:2.5"
SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4"
+RESTRICT_PYTHON_ABIS="2.7-pypy-*"
-inherit distutils
+inherit distutils eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
@@ -27,6 +27,11 @@ DEPEND="${RDEPEND}
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
DOCS="doc/*.txt"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gtktest.patch
+ distutils_src_prepare
+}
+
src_test() {
testing() {
# Test suite broken with Python 3.