diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-03-06 18:39:59 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-03-06 18:39:59 +0000 |
commit | d0091679b123b6651b57ca303a7573d3c9b46f3e (patch) | |
tree | eb46ad83f01c7df6efb1c8158061e6179530c73a /dev-python | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-d0091679b123b6651b57ca303a7573d3c9b46f3e.tar.gz gentoo-2-d0091679b123b6651b57ca303a7573d3c9b46f3e.tar.bz2 gentoo-2-d0091679b123b6651b57ca303a7573d3c9b46f3e.zip |
Version bump
(Portage version: 2.1_pre5-r2)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pylint/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pylint/Manifest | 38 | ||||
-rw-r--r-- | dev-python/pylint/files/digest-pylint-0.10.0 | 3 | ||||
-rw-r--r-- | dev-python/pylint/files/pylint-0.10.0-extra-todo.patch | 13 | ||||
-rw-r--r-- | dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch | 13 | ||||
-rw-r--r-- | dev-python/pylint/pylint-0.10.0.ebuild | 55 |
6 files changed, 130 insertions, 1 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog index 005fdfafdc37..225234339ad9 100644 --- a/dev-python/pylint/ChangeLog +++ b/dev-python/pylint/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/pylint # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.24 2006/01/21 17:13:48 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.25 2006/03/06 18:39:59 marienz Exp $ + +*pylint-0.10.0 (06 Mar 2006) + + 06 Mar 2006; Marien Zwart <marienz@gentoo.org> + +files/pylint-0.10.0-extra-todo.patch, + +files/pylint-0.10.0-skip-gtk-test.patch, +pylint-0.10.0.ebuild: + Version bump 21 Jan 2006; Lars Weiler <pylon@gentoo.org> pylint-0.9.0.ebuild: Added ~ppc to keywords; bug #111889. diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 0230be0f2d30..023418d64527 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,13 +1,51 @@ MD5 b617998d27852bdc25b2c08fd0c45091 ChangeLog 3451 +RMD160 61d5de6657454fcc57d9cb83a9c7d0ccee8909f2 ChangeLog 3451 +SHA256 89022894e563f64f512689fe5e92e9c18e7973c8afeffa7af7cfb5ee7da91260 ChangeLog 3451 +MD5 ec5965f5af812ffba445d598da252800 files/digest-pylint-0.10.0 241 +RMD160 9e7c6c45484189c8d4001b43ca9d79d65be0cc7f files/digest-pylint-0.10.0 241 +SHA256 a3028f261dd83ad9fd18c175bf836e85daf18a37ae6f91e5c3f922441a727888 files/digest-pylint-0.10.0 241 MD5 7dc504c0fc2deb503cde73e6c3b60578 files/digest-pylint-0.4.0 63 +RMD160 3f44237ce39e32b1bec244fd1d07f395184c613d files/digest-pylint-0.4.0 63 +SHA256 803cbf2f7543a96db71db393053ed2230c1f7cb39b7cc58bd79004642cb00886 files/digest-pylint-0.4.0 63 MD5 09d4c3f716af850083a78c62dde806ed files/digest-pylint-0.6.4 63 +RMD160 f08deae3760caff056e1d6f1856242d6c7cbb0ef files/digest-pylint-0.6.4 63 +SHA256 c0c09df2bbd86808ac96241bd5d289a01abdefba0dfd6611038cb33a2f42ca44 files/digest-pylint-0.6.4 63 MD5 2a7e58da5e8b5efe228c4a1775b21698 files/digest-pylint-0.7.0 64 +RMD160 60f579eecfaf8ff91501bea8af992ca5b5d074b6 files/digest-pylint-0.7.0 64 +SHA256 f944eecb1b3d04d0adc4bd1643027573a643982777fc85912d6ac662989c2a6d files/digest-pylint-0.7.0 64 MD5 417bed66e335a218f5a651136604725c files/digest-pylint-0.8.1 64 +RMD160 551596d42b352f96c26fb6f38fa1e2613738c5e7 files/digest-pylint-0.8.1 64 +SHA256 f77a7f90a9a838bc7effb49f3efc65e2698ddbba0460e268ef52217cbef432c8 files/digest-pylint-0.8.1 64 MD5 47373667a30fe4f73f73cc3fd41976c3 files/digest-pylint-0.9.0 64 +RMD160 e8a626993070b5df6e360067d67e792d5bf8dfa5 files/digest-pylint-0.9.0 64 +SHA256 8a7ea16563acb0d97716a04b275b8604ed0bedad06e8dce0924f4e2fd9a51a08 files/digest-pylint-0.9.0 64 +MD5 9244b26747870df244e42c149a9293a1 files/pylint-0.10.0-extra-todo.patch 479 +RMD160 6c403e88b3e39779c5bb905200805c4e7b2b0d1e files/pylint-0.10.0-extra-todo.patch 479 +SHA256 e880045ca633e75eee554569901b2150d41242ab768981e036ade0b05843c776 files/pylint-0.10.0-extra-todo.patch 479 +MD5 b3cff2802409f823e5eb0f498b1b0f0a files/pylint-0.10.0-skip-gtk-test.patch 479 +RMD160 b41d3206e51eee148749e35a9e97d48f86f9394d files/pylint-0.10.0-skip-gtk-test.patch 479 +SHA256 1cf4277cb2012482f6274747a871aa8550d68e012cc46c8224840c343547ecd5 files/pylint-0.10.0-skip-gtk-test.patch 479 MD5 73f3627d9b37238aa150c22794f345c2 files/pylint-0.9.0-extra-todo.patch 470 +RMD160 e27764eaf225e577bcc2c1e62699895ca4d0fca7 files/pylint-0.9.0-extra-todo.patch 470 +SHA256 64426d943952ecce38c810d3781628bdc9b856cfe91502aecd9f1011dadea76c files/pylint-0.9.0-extra-todo.patch 470 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 +RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 +SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159 +MD5 0ef5ce18f8206f6719e2890853109ba6 pylint-0.10.0.ebuild 1681 +RMD160 a3bba70fbd0578e725afffd977a27df88b9888d6 pylint-0.10.0.ebuild 1681 +SHA256 a81cd803eb3195b15f09648ddf38a16169eedd980043e358620be4dd42613883 pylint-0.10.0.ebuild 1681 MD5 71029c2683e4c6292583fa2a51b055d4 pylint-0.4.0.ebuild 561 +RMD160 fdd94d09e138b07a0dcfff4b3e7b3b337e2720c9 pylint-0.4.0.ebuild 561 +SHA256 c0ba69e304c2ca3e780f5a90edae1acab4bf4394f44e16f95fff665b0b9dc990 pylint-0.4.0.ebuild 561 MD5 edddecc290a5a1f3dbfc2e19ec4a2af2 pylint-0.6.4.ebuild 617 +RMD160 faa2657c8640ffcda75f25f2bebc15d339b9543f pylint-0.6.4.ebuild 617 +SHA256 39135d67d614be7fd18c67d45c0ac692b39ac27d224b6ef0863e5b9fa1c701a0 pylint-0.6.4.ebuild 617 MD5 9133bf532408e4246fdef24fd5457038 pylint-0.7.0.ebuild 618 +RMD160 7c131b5ef8fb44da65f0b4709d74c77afa58ca6b pylint-0.7.0.ebuild 618 +SHA256 8ac6bb1f0fc1292b27b1209b2946be2b8e79322a271f55f036f95794319b6d2f pylint-0.7.0.ebuild 618 MD5 d9a91fed6a42978b802726257927e674 pylint-0.8.1.ebuild 637 +RMD160 3246a540fa6f69b620f351b407ec0eab0ed9173f pylint-0.8.1.ebuild 637 +SHA256 2ddc72504dd0fb5c4c22e211e041bb8fd6af089a287be0496d586399c62ee3a1 pylint-0.8.1.ebuild 637 MD5 3cc1a48ecff87e0cb9ba6e60865febde pylint-0.9.0.ebuild 1758 +RMD160 9d8e61beea92d28ab7e1d96ca454f5bf8f6ea457 pylint-0.9.0.ebuild 1758 +SHA256 e9e6ace9d30daa2386c56f6ed1463c564416ae74bbf05f9666b2510f1d237a64 pylint-0.9.0.ebuild 1758 diff --git a/dev-python/pylint/files/digest-pylint-0.10.0 b/dev-python/pylint/files/digest-pylint-0.10.0 new file mode 100644 index 000000000000..9b2dd4f20031 --- /dev/null +++ b/dev-python/pylint/files/digest-pylint-0.10.0 @@ -0,0 +1,3 @@ +MD5 9c8dd130411eca6f16c3a5f531f44fa2 pylint-0.10.0.tar.gz 139793 +RMD160 a0789bff71a1160357ce3d7541d1b7c906b39dd1 pylint-0.10.0.tar.gz 139793 +SHA256 027de1e88362802abb699736c04036ca17af37c33f13ba64c99cccc1d8ad8876 pylint-0.10.0.tar.gz 139793 diff --git a/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch b/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch new file mode 100644 index 000000000000..506a1c06ed4c --- /dev/null +++ b/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch @@ -0,0 +1,13 @@ +=== modified file 'test/func_test.py' +--- test/func_test.py ++++ test/func_test.py +@@ -109,7 +109,7 @@ + todo.remove(msg_id) + todo.sort() + if PY23: +- self.assertEqual(todo, ['E0503', 'F0002', 'F0202', 'F0321', 'I0001']) ++ self.assertEqual(todo, ['C0321', 'C0322', 'C0323', 'C0324', 'E0503', 'F0002', 'F0202', 'F0321', 'I0001', 'R0401']) + else: + self.assertEqual(todo, ['F0002', 'F0202', 'F0321', 'I0001']) + + diff --git a/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch b/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch new file mode 100644 index 000000000000..53f4f70a582b --- /dev/null +++ b/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch @@ -0,0 +1,13 @@ +=== modified file 'test/regrtest.py' +--- test/regrtest.py ++++ test/regrtest.py +@@ -84,7 +84,7 @@ + except ImportError: + self.skip('test skipped: gtk is not available') + except RuntimeError: # RuntimeError when missing display +- pass ++ self.skip('test skipped: no display available') + linter.check('regrtest_data/pygtk_import.py') + got = linter.reporter.finalize().strip() + self.failUnlessEqual(got, '') + diff --git a/dev-python/pylint/pylint-0.10.0.ebuild b/dev-python/pylint/pylint-0.10.0.ebuild new file mode 100644 index 000000000000..2c17bdf45716 --- /dev/null +++ b/dev-python/pylint/pylint-0.10.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.10.0.ebuild,v 1.1 2006/03/06 18:39:59 marienz Exp $ + +inherit distutils eutils + +DESCRIPTION="PyLint is a tool to check if a Pyhon module satisfies a coding standard" +SRC_URI="ftp://ftp.logilab.org/pub/pylint/${P}.tar.gz" +HOMEPAGE="http://www.logilab.org/projects/pylint/" + +IUSE="" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86" +LICENSE="GPL-2" +DEPEND="|| ( >=dev-python/optik-1.4 >=dev-lang/python-2.3 ) + >=dev-python/logilab-common-0.13.0 + >=dev-python/astng-0.15.0" + +DOCS="doc/*.txt" + +src_unpack() { + unpack ${A} + cd "${S}" + + # these two tests do not pass + for testname in func_w0401.py func_format.py \ + func_noerror_staticmethod_as_decorator.py; do + mv test/input/${testname} test/input/${testname}.skipped || + die "skipping ${testname} failed" + done + + epatch "${FILESDIR}/${P}-extra-todo.patch" + epatch "${FILESDIR}/${P}-skip-gtk-test.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/$(get_libdir)/python${PYVER}/site-packages/pylint/test +} + +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" + PYTHONPATH="${T}/test/lib/python" "${python}" runtests.py || \ + die "tests failed" + cd "${S}" + rm -rf "${T}/test" +} |