Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/astroid: astroid-1.2.0.ebuild ChangeLog
Date: Thu, 31 Jul 2014 03:53:23
Message-Id: 20140731035316.55FFA2004E@flycatcher.gentoo.org
1 idella4 14/07/31 03:53:15
2
3 Modified: ChangeLog
4 Added: astroid-1.2.0.ebuild
5 Log:
6 bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.5 dev-python/astroid/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astroid/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astroid/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astroid/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/astroid/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 8 May 2014 09:37:17 -0000 1.4
24 +++ ChangeLog 31 Jul 2014 03:53:15 -0000 1.5
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/astroid
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/ChangeLog,v 1.4 2014/05/08 09:37:17 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/ChangeLog,v 1.5 2014/07/31 03:53:15 idella4 Exp $
30 +
31 +*astroid-1.2.0 (31 Jul 2014)
32 +
33 + 31 Jul 2014; Ian Delaney <idella4@g.o> +astroid-1.2.0.ebuild:
34 + bump
35
36 *astroid-1.1.1 (08 May 2014)
37
38
39
40
41 1.1 dev-python/astroid/astroid-1.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astroid/astroid-1.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astroid/astroid-1.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: astroid-1.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/astroid-1.2.0.ebuild,v 1.1 2014/07/31 03:53:15 idella4 Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
55
56 inherit distutils-r1
57
58 DESCRIPTION="Abstract Syntax Tree for logilab packages"
59 HOMEPAGE="http://bitbucket.org/logilab/astroid http://pypi.python.org/pypi/astroid"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
65 IUSE="test"
66
67 # Version specified in __pkginfo__.py.
68 RDEPEND=">=dev-python/logilab-common-0.60.0[${PYTHON_USEDEP}]"
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 test? ( ${RDEPEND}
71 >=dev-python/pylint-1.1.0[${PYTHON_USEDEP}] )"
72 # Required for tests
73 DISTUTILS_IN_SOURCE_BUILD=1
74
75 python_prepare_all() {
76 # https://bitbucket.org/logilab/astroid/issue/8/
77 sed -e "s/test_numpy_crash/_&/" -i test/unittest_regrtest.py
78
79 distutils-r1_python_prepare_all
80 }
81
82 # Restrict to test phase, required because suite fails horribly without it
83 src_test() {
84 local DISTUTILS_NO_PARALLEL_BUILD=1
85 distutils-r1_src_test
86 }
87
88 python_test() {
89 # https://bitbucket.org/logilab/astroid/issue/16/1-test-fail-test_socket_build-under-pypy
90 # https://bitbucket.org/logilab/astroid/issue/44/
91 python setup.py build
92
93 pushd build/lib > /dev/null
94 if [[ "${EPYTHON}" == pypy* ]]; then
95 sed -e 's:test_socket_build:_&:' -i ${PN}/test/unittest_builder.py || die
96 fi
97 PYTHONPATH=. pytest || die "Tests fail with ${EPYTHON}"
98 popd > /dev/null
99 }