From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/astng: astng-0.24.0.ebuild ChangeLog |
Date: | Fri, 24 Aug 2012 07:23:37 |
Message-Id: | 20120824072325.91A7C20553@flycatcher.gentoo.org |
1 | patrick 12/08/24 07:23:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: astng-0.24.0.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2.0_alpha122/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.57 dev-python/astng/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astng/ChangeLog?rev=1.57&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astng/ChangeLog?rev=1.57&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astng/ChangeLog?r1=1.56&r2=1.57 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v |
20 | retrieving revision 1.56 |
21 | retrieving revision 1.57 |
22 | diff -u -r1.56 -r1.57 |
23 | --- ChangeLog 5 May 2012 15:13:45 -0000 1.56 |
24 | +++ ChangeLog 24 Aug 2012 07:23:25 -0000 1.57 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/astng |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.56 2012/05/05 15:13:45 floppym Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.57 2012/08/24 07:23:25 patrick Exp $ |
30 | + |
31 | +*astng-0.24.0 (24 Aug 2012) |
32 | + |
33 | + 24 Aug 2012; Patrick Lauer <patrick@g.o> +astng-0.24.0.ebuild: |
34 | + Bump |
35 | |
36 | *astng-0.23.1-r1 (05 May 2012) |
37 | |
38 | @@ -242,4 +247,3 @@ |
39 | 08 Nov 2005; Rob Cakebread <pythonhead@g.o> +metadata.xml, |
40 | +astng-0.13.1.ebuild: |
41 | Initial ebuild. New dependency for pylint |
42 | - |
43 | |
44 | |
45 | |
46 | 1.1 dev-python/astng/astng-0.24.0.ebuild |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astng/astng-0.24.0.ebuild?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/astng/astng-0.24.0.ebuild?rev=1.1&content-type=text/plain |
50 | |
51 | Index: astng-0.24.0.ebuild |
52 | =================================================================== |
53 | # Copyright 1999-2012 Gentoo Foundation |
54 | # Distributed under the terms of the GNU General Public License v2 |
55 | # $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.24.0.ebuild,v 1.1 2012/08/24 07:23:25 patrick Exp $ |
56 | |
57 | EAPI="4" |
58 | SUPPORT_PYTHON_ABIS="1" |
59 | PYTHON_TESTS_RESTRICTED_ABIS="3.* *-jython *-pypy-*" |
60 | |
61 | inherit distutils |
62 | |
63 | DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" |
64 | HOMEPAGE="http://www.logilab.org/projects/astng/ http://pypi.python.org/pypi/logilab-astng" |
65 | SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz" |
66 | |
67 | LICENSE="LGPL-2.1" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" |
70 | IUSE="test" |
71 | |
72 | # Version specified in __pkginfo__.py. |
73 | RDEPEND=">=dev-python/logilab-common-0.53.0" |
74 | DEPEND="${RDEPEND} |
75 | dev-python/setuptools |
76 | test? ( >=dev-python/egenix-mx-base-3.0.0 )" |
77 | |
78 | S="${WORKDIR}/logilab-${P}" |
79 | PYTHON_MODNAME="logilab/astng" |
80 | DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
81 | |
82 | src_test() { |
83 | testing() { |
84 | local tpath="${T}/test-${PYTHON_ABI}" |
85 | local spath="${tpath}$(python_get_sitedir)" |
86 | |
87 | mkdir -p "${spath}/logilab" || return 1 |
88 | cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 |
89 | |
90 | "$(PYTHON)" setup.py build -b build install --root="${tpath}" || |
91 | die "Installation for tests failed with $(python_get_implementation_and_version)" |
92 | |
93 | # pytest uses tests placed relatively to the current directory. |
94 | pushd "${spath}/logilab/astng" > /dev/null || return 1 |
95 | PYTHONPATH="${spath}" pytest -v || return 1 |
96 | popd > /dev/null || return 1 |
97 | } |
98 | python_execute_function -s testing |
99 | } |
100 | |
101 | src_install() { |
102 | distutils_src_install |
103 | |
104 | deletion_of_unneeded_files() { |
105 | # Avoid collision with dev-python/logilab-common. |
106 | rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 |
107 | |
108 | # Don't install tests. |
109 | rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 |
110 | } |
111 | python_execute_function -q deletion_of_unneeded_files |
112 | } |