summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-09 12:59:47 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-09 12:59:47 +0000
commitd73a5f3c65fdff48f4fc414126104804c1a97316 (patch)
tree6b61cc615c8f357909d59512c4331edb704a71d6 /dev-python/pylint
parentamd64 stable (tested by rullzer) (bug #319177). (diff)
downloadgentoo-2-d73a5f3c65fdff48f4fc414126104804c1a97316.tar.gz
gentoo-2-d73a5f3c65fdff48f4fc414126104804c1a97316.tar.bz2
gentoo-2-d73a5f3c65fdff48f4fc414126104804c1a97316.zip
Delete older ebuilds.
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/Manifest5
-rw-r--r--dev-python/pylint/files/pylint-0.18.1-utils.py.patch158
-rw-r--r--dev-python/pylint/pylint-0.18.1-r1.ebuild84
-rw-r--r--dev-python/pylint/pylint-0.19.0.ebuild64
4 files changed, 0 insertions, 311 deletions
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index e8029ec3aa12..cb913318d82b 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,11 +1,6 @@
-AUX pylint-0.18.1-utils.py.patch 4711 RMD160 d73df79fba028720f7976de6a2e381d1ca12ca8d SHA1 e67e87a2f98796dc8c88e239bfeaa524918fab1c SHA256 8f572627eca088aec229cebf817f9726868e56e41e6e0cd9a5c5f9f120e7ce65
-DIST pylint-0.18.1.tar.gz 175035 RMD160 f83d10617fe38770cc8a2c06a0e165b639323fa7 SHA1 891b4666872822d49e01fba28f94fb0a25db51de SHA256 73c95efd24cc891c1f98659e03ab0cda690edb3bdf96d5cfe1d6ca952926e293
-DIST pylint-0.19.0.tar.gz 188499 RMD160 a1c7bf494b0f5a6daa7306dce747e3a1cfa68b97 SHA1 cfa071057538d798678e62fc93952f36d6838ad2 SHA256 382ab53b07c387fa27bf21eae88a1460154e8313e1eda1c15ed88986052637d6
DIST pylint-0.20.0.tar.gz 192112 RMD160 24ecf91e5b2abbb99a3aaa914636cd00d77759be SHA1 c706c062d3dc7a55856a3ef1c741de1fea105c88 SHA256 55828110200f56b50c75f58043e90c38af268eabb0dec4945b58665d7770fa32
DIST pylint-0.21.0.tar.gz 199234 RMD160 9e75e58c3a9c5198bc48741d90691df3ca8a1f58 SHA1 7636d66b748c2b2afb8dce49e14ac7bd647b16f8 SHA256 44ecccb4981dc6777ac5c5c9ce4ffba122fba8021c78edee1d688946d3fe9e9a
DIST pylint-0.21.1.tar.gz 199352 RMD160 04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea SHA1 e71ba47c1a54839a44f618d7cce5bd716b1a4987 SHA256 958acb89be51bf1e093c1e83080ef22bea8f01f30499af71c7444fd4a5e90c71
-EBUILD pylint-0.18.1-r1.ebuild 2305 RMD160 9e03a71e55346b90619d9e52c734809c76b0f6b2 SHA1 c3d29c75c72ac01dc3edef258d1615be77ac9bf7 SHA256 11615605b2da944652fe2ce4fa5009dce75f473f27a774e6d224f9f0b3b4673f
-EBUILD pylint-0.19.0.ebuild 1715 RMD160 70798eac93fbd9770a321b11fcfb4479d7258b32 SHA1 e80066f0d9cac0fd3358b2f97e07116055143b4b SHA256 c2072fabb0b9e1b5f3a5b494c5021f47fa212545a00853c544a4aa418f1d56a1
EBUILD pylint-0.20.0.ebuild 1763 RMD160 03097fab7c16d5ca0d339bfe76e64be30b0e81fc SHA1 a654e58eb306cc7c10c60a29c5e70a25738d466b SHA256 52357edc24711e8c4e26f5d6799a325f4c2bdbf5713be0949b36e474ee0ba7c8
EBUILD pylint-0.21.0.ebuild 1772 RMD160 b9afccb65d5e79f8be9ebe38fe4ff7b43847c2a6 SHA1 7aca421aba7f47c08ff6f3bc6f574e263d35c5ec SHA256 f8888160e9f52b79d8b6697b5fdc96b4a72c0ab818fb4aae5e808c34c4a864b9
EBUILD pylint-0.21.1.ebuild 1772 RMD160 3d26ee810a2b18823a43caea7adb6e3ebb4d082b SHA1 9fd1e1c550b86300c19a051b3dbc7ee5c966b308 SHA256 a3138e092bce0789c2e3e2a7f97b3fcba5b95f7cadc0925402e760c236008c75
diff --git a/dev-python/pylint/files/pylint-0.18.1-utils.py.patch b/dev-python/pylint/files/pylint-0.18.1-utils.py.patch
deleted file mode 100644
index d5980b2077f6..000000000000
--- a/dev-python/pylint/files/pylint-0.18.1-utils.py.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-test/utils.py from dev-python/pylint-0.18.0.
-
---- test/utils.py
-+++ test/utils.py
-@@ -0,0 +1,153 @@
-+"""some pylint test utilities
-+"""
-+from glob import glob
-+from os.path import join, abspath, dirname, basename, exists
-+from cStringIO import StringIO
-+
-+from pylint.interfaces import IReporter
-+from pylint.reporters import BaseReporter
-+
-+PREFIX = abspath(dirname(__file__))
-+
-+def fix_path():
-+ import sys
-+ sys.path.insert(0, PREFIX)
-+
-+import sys
-+MSGPREFIXES = ['2.%s_'%i for i in range(5, 2, -1) if i <= sys.version_info[1]]
-+MSGPREFIXES.append('')
-+
-+def get_tests_info(prefix=None, suffix=None, inputdir='input', msgdir='messages'):
-+ pattern = '*'
-+ if prefix:
-+ pattern = prefix + pattern
-+ if suffix:
-+ pattern = pattern + suffix
-+ result = []
-+ for file in glob(join(PREFIX, inputdir, pattern)):
-+ infile = basename(file)
-+ for msgprefix in MSGPREFIXES:
-+ outfile = join(PREFIX, msgdir, msgprefix + infile.replace(suffix, '.txt'))
-+ if exists(outfile):
-+ break
-+ result.append((infile, outfile))
-+ return result
-+
-+
-+TITLE_UNDERLINES = ['', '=', '-', '.']
-+
-+class TestReporter(BaseReporter):
-+ """ store plain text messages
-+ """
-+
-+ __implements____ = IReporter
-+
-+ def __init__(self):
-+ self.message_ids = {}
-+ self.reset()
-+
-+ def reset(self):
-+ self.out = StringIO()
-+ self.messages = []
-+
-+ def add_message(self, msg_id, location, msg):
-+ """manage message of different type and in the context of path """
-+ fpath, module, object, line = location
-+ self.message_ids[msg_id] = 1
-+ if object:
-+ object = ':%s' % object
-+ sigle = msg_id[0]
-+ self.messages.append('%s:%3s%s: %s' % (sigle, line, object, msg))
-+
-+ def finalize(self):
-+ self.messages.sort()
-+ for msg in self.messages:
-+ print >>self.out, msg
-+ result = self.out.getvalue()
-+ self.reset()
-+ return result
-+
-+ def display_results(self, layout):
-+ """ignore layouts"""
-+
-+
-+# # # # # pyreverse unittest utilities # # # # # #
-+
-+
-+import unittest
-+import os
-+import sys
-+from os.path import join
-+
-+from logilab.astng import MANAGER
-+
-+
-+
-+def _astng_wrapper(func, modname):
-+ return func(modname)
-+
-+
-+def _sorted_file(path):
-+ lines = [line.strip() for line in open(path).readlines()
-+ if (line.find('squeleton generated by ') == -1 and
-+ not line.startswith('__revision__ = "$Id:'))]
-+ lines = [line for line in lines if line]
-+ lines.sort()
-+ return '\n'.join(lines)
-+
-+def get_project(module, name=None):
-+ """return a astng project representation
-+ """
-+ manager = MANAGER
-+ # flush cache
-+ manager._modules_by_name = {}
-+ return manager.project_from_files([module], _astng_wrapper,
-+ project_name=name)
-+
-+DEFAULTS = {'all_ancestors': None, 'show_associated': None,
-+ 'module_names': None,
-+ 'output_format': 'dot', 'diadefs_file': None, 'quiet': 0,
-+ 'show_ancestors': None, 'classes': (), 'all_associated': None,
-+ 'mode': 'PUB_ONLY', 'show_builtin': False, 'only_classnames': False}
-+
-+class Config(object):
-+ """config object for tests"""
-+ def __init__(self):
-+ for attr, value in DEFAULTS.items():
-+ setattr(self, attr, value)
-+
-+class FileTC(unittest.TestCase):
-+ """base test case for testing file output"""
-+
-+ generated_files = ()
-+
-+ def setUp(self):
-+ self.expected_files = [join('data', file)
-+ for file in self.generated_files]
-+
-+ def tearDown(self):
-+ for fname in self.generated_files:
-+ try:
-+ os.remove(fname)
-+ except:
-+ continue
-+
-+ def _test_same_file(self, index):
-+ generated_file = self.generated_files[index]
-+ expected_file = self.expected_files[index]
-+ generated = _sorted_file(generated_file)
-+ expected = _sorted_file(expected_file)
-+
-+ from difflib import unified_diff
-+ files = "\n *** expected : %s, generated : %s \n" % (
-+ expected_file, generated_file)
-+ self.assertEqual(expected, generated, '%s%s' % (
-+ files, '\n'.join(line for line in unified_diff(
-+ expected.splitlines(), generated.splitlines() ))) )
-+ os.remove(generated_file)
-+
-+
-+def build_file_case(filetc):
-+ for i in range(len(filetc.generated_files)):
-+ setattr(filetc, 'test_same_file_%s' %i,
-+ lambda self, index=i: self._test_same_file(index))
diff --git a/dev-python/pylint/pylint-0.18.1-r1.ebuild b/dev-python/pylint/pylint-0.18.1-r1.ebuild
deleted file mode 100644
index b87cc7619536..000000000000
--- a/dev-python/pylint/pylint-0.18.1-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.18.1-r1.ebuild,v 1.7 2010/02/07 20:51:49 pva Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils distutils
-
-DESCRIPTION="a tool to check if a Python module satisfies a coding standard"
-HOMEPAGE="http://www.logilab.org/projects/pylint/"
-SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
-IUSE="doc examples test tk"
-
-DEPEND=">=dev-python/logilab-common-0.44.0
- >=dev-python/astng-0.19.0"
-RDEPEND="${DEPEND}
- dev-lang/python[tk?]"
-RESTRICT_PYTHON_ABIS="3.*"
-
-src_prepare() {
- distutils_src_prepare
- epatch "${FILESDIR}/${P}-utils.py.patch"
-}
-
-src_test() {
- testing() {
- local lpath="${T}/test/lib/python"
- local tpath=""
-
- rm -fr "${lpath}"
-
- # Create testdir and copy pylint into it for testing purpose.
- mkdir -p "${lpath}/logilab" || die
- PYTHONPATH="${lpath}" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test" || die "test copy failed"
-
- # To support test w/o setuptools.
- if [[ -d "${lpath}/${PN}" ]]; then
- tpath="${lpath}/${PN}"
- else
- tpath="${lpath}/${P}-py${PYTHON_ABI}.egg/${PN}"
- fi
-
- # Copy pylint unittest and logilab-{common,astng} into our temporary test
- # dir.
- cp -r test/ ${tpath} || die "copy tests failed"
- cp -r "$(python_get_sitedir)/logilab/"{common,astng} "${lpath}/logilab" || die "copying logilab-{common,astng} failed!"
-
- pushd "${tpath}" >/dev/null || die
- PYTHONPATH="${lpath}" pytest -v || die "tests failed"
- popd >/dev/null || die
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- doman man/{pylint,pyreverse}.1 || die "doman failed"
- dodoc doc/FAQ.txt || die "dodoc failed"
-
- if use doc; then
- dodoc doc/*.txt || die "dodoc failed"
- fi
-
- if use examples; then
- docinto examples
- dodoc examples/* || die "dodoc failed"
- fi
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- if ! has_version dev-lang/python[tk]; then
- ewarn "dev-lang/python has been built without tk support,"
- ewarn "${PN}-gui doesn't work without Tkinter so if you really need it"
- ewarn "re-install dev-lang/python with tk useflag enabled."
- fi
-}
diff --git a/dev-python/pylint/pylint-0.19.0.ebuild b/dev-python/pylint/pylint-0.19.0.ebuild
deleted file mode 100644
index d302d50d12e6..000000000000
--- a/dev-python/pylint/pylint-0.19.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.19.0.ebuild,v 1.5 2010/04/26 10:57:24 fauli Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils
-
-DESCRIPTION="a tool to check if a Python module satisfies a coding standard"
-HOMEPAGE="http://www.logilab.org/projects/pylint/ http://pypi.python.org/pypi/pylint"
-SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="doc examples test tk"
-
-DEPEND=">=dev-python/logilab-common-0.44.0
- >=dev-python/astng-0.19.3"
-RDEPEND="${DEPEND}
- dev-lang/python[tk?]"
-RESTRICT_PYTHON_ABIS="3.*"
-
-src_prepare() {
- distutils_src_prepare
-
- # Disable failing tests.
- rm -f test/input/func_arguments.py
- sed -e "s/test_exhaustivity/_&/" -i test/test_func.py || die "sed failed"
-}
-
-src_test() {
- testing() {
- PYTHONPATH="build-${PYTHON_ABI}/lib" pytest -v
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- doman man/{pylint,pyreverse}.1 || die "doman failed"
- dodoc doc/FAQ.txt || die "dodoc failed"
-
- if use doc; then
- dodoc doc/*.txt || die "dodoc failed"
- fi
-
- if use examples; then
- docinto examples
- dodoc examples/* || die "dodoc failed"
- fi
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- if ! has_version dev-lang/python[tk]; then
- ewarn "dev-lang/python has been built without tk support,"
- ewarn "${PN}-gui doesn't work without Tkinter so if you really need it,"
- ewarn "re-install dev-lang/python with \"tk\" useflag enabled."
- fi
-}