summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-24 17:42:16 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-24 17:42:16 +0000
commit27397c535f35abc438c96edb2247af33aa103bbb (patch)
tree8db173c21ff1b40075bb6fa85738ac3b5299dbda /dev-python/pylint
parentBump to 2.1.1, fixes #255445 (diff)
downloadhistorical-27397c535f35abc438c96edb2247af33aa103bbb.tar.gz
historical-27397c535f35abc438c96edb2247af33aa103bbb.tar.bz2
historical-27397c535f35abc438c96edb2247af33aa103bbb.zip
Bump to 0.15.2, fixes #254653
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/ChangeLog9
-rw-r--r--dev-python/pylint/Manifest14
-rw-r--r--dev-python/pylint/pylint-0.15.2.ebuild74
3 files changed, 84 insertions, 13 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog
index 1f87e2ac7542..9e21dd81d666 100644
--- a/dev-python/pylint/ChangeLog
+++ b/dev-python/pylint/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pylint
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.45 2008/10/21 17:28:23 hawking Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.46 2009/01/24 17:42:16 patrick Exp $
+
+*pylint-0.15.2 (24 Jan 2009)
+
+ 24 Jan 2009; Patrick Lauer <patrick@gentoo.org> +pylint-0.15.2.ebuild:
+ Bump to 0.15.2, fixes #254653
21 Oct 2008; Ali Polatel <hawking@gentoo.org> pylint-0.14.0.ebuild:
Fix astng dependency, #236455.
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 097bc5ecb607..c819f2e596ff 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pylint-0.10.0-extra-gtk-disable.patch 280 RMD160 f6427e45b1397f6cacd95c03ce05ac49abbc497a SHA1 45901520fb453dc1b20ea697cda44be09f0e1ed3 SHA256 9be40e60cbb5835bab06ad6ec418ddec0c9b98b0385c109e57308dd191403000
AUX pylint-0.11.0-gui-no-tkinter.patch 381 RMD160 b533f5e137b4a3c12fff4c7644c1b3e5b3ffdedc SHA1 b9cfea551ee09ceb7bf4a976c2f3fd0c83273a83 SHA256 c4a45aadc0fcac494b0d92f67fa882ddab21a949ae52b490b3aa0670440f868f
AUX pylint-0.13.1-test-fixes.patch 1523 RMD160 ad2b41472a506dece2f2a492f75d3b896e37146a SHA1 1d5189f1f12dcdadeb5332b8ae1744c50ba0bb26 SHA256 2a3a7c06ac7e4c3179a8dfd3f8bc3493c09579a1b8dde0a0d00d5b9e10855fb5
@@ -8,14 +5,9 @@ AUX pylint-0.14.0-tests-reset_cache.patch 869 RMD160 d550679534c1bbc39b44a9af5e8
AUX pylint-0.14.0-tests-typo.patch 227 RMD160 bdf76718ba9ef791d0b7b5e10562eff45da26440 SHA1 1d7ac4f3b355282d2e2543a08f717fbbad94495f SHA256 9d8e4f32feeacd60b8264f42e1a70a34471499566b5184bba9f8bbd3c5701c0a
DIST pylint-0.13.1.tar.gz 178110 RMD160 e0f3e46131ff794e249d333c5736acc739e9ffa6 SHA1 9fdadd370b27089187bd8b592992e9d2b01aa6e2 SHA256 4d152c9f74a87a8e22e57aca71645a83e7393506b420a472eb09e2b83c0a6b43
DIST pylint-0.14.0.tar.gz 182978 RMD160 d17dbe487963c35cf3f32410ad23082a8fa9982e SHA1 b0074cca2083792b5602f33d8e7be33a9ab4322f SHA256 a42b463fd31aba98f95b6336e4e1ef1a734cebe01fd20baeb1781d73182f8b31
+DIST pylint-0.15.2.tar.gz 208732 RMD160 db57202962986854694100232b59588e5d2a0369 SHA1 14f5db53e14f874c295bdab0719116b4d7ab5623 SHA256 868c8c105427047842883efc2b1693137fae52e78017a7ae98c2e37b7c1e3f80
EBUILD pylint-0.13.1.ebuild 2393 RMD160 84597c527ea89272b40f80f165d994268d9273b4 SHA1 89cc28b1671cc4f829d996f99ad61e62e9f60667 SHA256 262fbb683ea9115d682f9f105f355c6fad766da81e07ce614b6925e48f00777e
EBUILD pylint-0.14.0.ebuild 2417 RMD160 665d2b2232dcfd1eeddea1dd964b71f356d4fe7d SHA1 7abb7605de78ef81e73e7e59af90d8cf640baa3c SHA256 4ff2c4e1b975da159b53e777df44ad42f611f167764301bb6a43e116237f4610
-MISC ChangeLog 7164 RMD160 567a46ee108e17ab4bea5efb9616b8e418e046c2 SHA1 ac6137baf8623c560feb22874ae318c8919dd573 SHA256 9ef47bcd0e4344da69c31dd2dd0370b5cc9937b354664bfc8d7a817f033e5667
+EBUILD pylint-0.15.2.ebuild 2293 RMD160 86c80a16501b136fd49be6e6b553db112f82b3c7 SHA1 591b2b5f0295a1cbed895e9f1c9a8237cfa84caa SHA256 b392031739df5785673581c31331b93f6aafd0d5e207a5c2c3e7443e56b20b99
+MISC ChangeLog 7300 RMD160 2ff26b525dbda98021ef407c40d9130adbe8875c SHA1 51085a7212de739a2b90c3a7e46b7d135dd61503 SHA256 a1f6aec95c146687385a366a5253ded7a0a66d29ce55336f3f85a64238a66fba
MISC metadata.xml 939 RMD160 768bff9d0ca5c62db7ba3a3897cbb4766ba02a81 SHA1 9bd1a2704d53491938c83c32abfed1cd1f23de4e SHA256 b010a4a81127a7368a2ee60ccd2789093ad247139cac9e95e177533422b6e4f7
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkj+EUEACgkQQU4yORhF8iB57wCgvXkSh0bVzqjQKTW+PL0Q9M57
-Ec0An0WV1xsf8Q77OuEdOzJYVh/ys1Ns
-=lmrL
------END PGP SIGNATURE-----
diff --git a/dev-python/pylint/pylint-0.15.2.ebuild b/dev-python/pylint/pylint-0.15.2.ebuild
new file mode 100644
index 000000000000..6d7874fb2549
--- /dev/null
+++ b/dev-python/pylint/pylint-0.15.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.15.2.ebuild,v 1.1 2009/01/24 17:42:16 patrick Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="PyLint is a tool to check if a Python module satisfies a coding standard"
+SRC_URI="ftp://ftp.logilab.org/pub/pylint/${P}.tar.gz"
+HOMEPAGE="http://www.logilab.org/projects/pylint/"
+
+IUSE="tk"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+DEPEND=">=dev-python/logilab-common-0.21.0
+ >=dev-python/astng-0.17.2
+ tk? ( >=dev-lang/tk-8.4.9 )"
+
+DOCS="doc/*.txt"
+
+pkg_setup() {
+ if use tk && ! built_with_use dev-lang/python tk; then
+ eerror "You have USE='tk' enabled."
+ eerror "Python has not been compiled with tkinter support."
+ eerror "Please re-emerge python with the 'tk' USE-flag set."
+ die "Missing USE-flag for dev-lang/python"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Make the test that tries to import gtk a bit less strict
+ epatch "${FILESDIR}/${PN}-0.10.0-extra-gtk-disable.patch"
+
+ # Make pylint-gui print a gentoo-specific message if Tkinter is missing
+ epatch "${FILESDIR}/${PN}-0.11.0-gui-no-tkinter.patch"
+}
+
+src_install() {
+ distutils_src_install
+ # do not install the test suite (we ran it from src_test already
+ # and it makes .py[co] generation very noisy because there are
+ # files with SyntaxErrors in there)
+ python_version
+ rm -rf "${D}"/usr/lib*/python${PYVER}/site-packages/pylint/test
+
+ doman man/pylint.1
+ dohtml doc/*.html
+}
+
+src_test() {
+ # The tests will not work properly from the source dir, so do a
+ # temporary install:
+ "${python}" setup.py install --home="${T}/test" || die "test copy failed"
+ # dir needs to be this or the tests fail
+ cd "${T}/test/lib/python/pylint/test"
+
+ # These fail, have not been able to track down why.
+ rm rpythoninput/func_unsupported_protocol.py || die "rm failed"
+ rm func_test_rpython.py || die "rm failed"
+ PYTHONPATH="${T}/test/lib/python" "${python}" runtests.py || \
+ die "tests failed"
+ cd "${S}"
+ rm -rf "${T}/test"
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ elog 'A couple of important configuration settings (like "disable-msg")'
+ elog 'moved from the "MASTER" to "MESSAGES CONTROL" section.'
+ elog 'See "pylint --help".'
+}