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