From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC5DB138331 for ; Tue, 27 Feb 2018 22:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19ECAE0985; Tue, 27 Feb 2018 22:59:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC26AE096B for ; Tue, 27 Feb 2018 22:59:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8A74335C61 for ; Tue, 27 Feb 2018 22:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 461EA78 for ; Tue, 27 Feb 2018 22:59:13 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1519772331.9d3f6e4691497d5f1afa97cc646072aa76f1bd3c.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroid/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/astroid/Manifest dev-python/astroid/astroid-1.6.0.ebuild X-VCS-Directories: dev-python/astroid/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 9d3f6e4691497d5f1afa97cc646072aa76f1bd3c X-VCS-Branch: master Date: Tue, 27 Feb 2018 22:59:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d11e0586-8e77-4027-9915-95d0d5a6341d X-Archives-Hash: c844fafb140ec20105f5811d9e66e0d5 commit: 9d3f6e4691497d5f1afa97cc646072aa76f1bd3c Author: Benjamin Schindler gmail com> AuthorDate: Sat Feb 17 22:56:14 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Feb 27 22:58:51 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3f6e46 dev-python/astroid: version bump. Closes: https://bugs.gentoo.org/647480 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7272 dev-python/astroid/Manifest | 1 + dev-python/astroid/astroid-1.6.0.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 18b8f795522..02c862b236c 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-1.4.8.tar.gz 184091 BLAKE2B 7180b98c757c8681dd0abaed1e79d2c58ce676aff07b539af8776d589ff23770335d0ba4ce5c9b3940b0428dd10174e7c6eff66aeb500e6ac561734e27975be0 SHA512 54bb20edf5518b417470a2d63210802b267fe727f9d30e1ac5000db00a7894739b1c4249468fb55df81b55d382f3a5bbe019876141f7ee4d94040fd699dc0c2c DIST astroid-1.5.3.tar.gz 240617 BLAKE2B 06b040fa83327a38ea23e4b09c4ae978b5953ac99a7fec4b7fabb8982e8bb8da3e2f4781654159aec9989b4c99a119e1116622fa75bd4cac63d6a5c8b34bbf31 SHA512 2a224d9bf8e41059a1316d80738cdc0f1e4c4e0f987baf3969710bae7192466b708c7942cd7e4eeccea55582ce70bb687c96b9e7dece3229ae4cffc558aa2319 +DIST astroid-1.6.0.tar.gz 255715 BLAKE2B 60fa855779428fb984eb450afd1e6869a98f82fb06786194993a5f4c878f25417cb91ef2c2cdc12da62cbfa68e2742f8ac29cbc7b7ef295ed60201c72b562668 SHA512 6a384b2bd3b4ee686c2f9a69d10f4391e5950869d75808312b2715a620ba7caa706bd88a5e021ea2250cf16ff8013cf0b332faee0b07dd7b5e1baf11e65d0ac3 diff --git a/dev-python/astroid/astroid-1.6.0.ebuild b/dev-python/astroid/astroid-1.6.0.ebuild new file mode 100644 index 00000000000..8c66756dc36 --- /dev/null +++ b/dev-python/astroid/astroid-1.6.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE="https://github.com/PyCQA/astroid https://pypi.python.org/pypi/astroid" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-macos" +IUSE="test" + +# Version specified in __pkginfo__.py. +RDEPEND=" + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + virtual/python-singledispatch[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' -2)" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 'python*') + >=dev-python/pylint-1.6.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # Disable failing tests + # TODO: investigate if it's our fault and how can we fix it + sed -i -e "s/test_namespace_package_pth_support/_&/" \ + astroid/tests/unittest_manager.py || die + # we hack xml module, so it does not match what they expect... + sed -i -e "s/test_module_model/_&/" \ + astroid/tests/unittest_object_model.py || die + distutils-r1_python_prepare_all +} + +python_test() { + ${EPYTHON} -m unittest discover -p "unittest*.py" --verbose || die +}