1 |
dev-zero 08/02/28 20:37:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: astng-0.17.2.ebuild |
5 |
Log: |
6 |
Version bump (bug #209920). |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.21 dev-python/astng/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/astng/ChangeLog?rev=1.21&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/astng/ChangeLog?rev=1.21&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/astng/ChangeLog?r1=1.20&r2=1.21 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v |
19 |
retrieving revision 1.20 |
20 |
retrieving revision 1.21 |
21 |
diff -u -r1.20 -r1.21 |
22 |
--- ChangeLog 24 Jun 2007 20:35:14 -0000 1.20 |
23 |
+++ ChangeLog 28 Feb 2008 20:37:47 -0000 1.21 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/astng |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.20 2007/06/24 20:35:14 dev-zero Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.21 2008/02/28 20:37:47 dev-zero Exp $ |
30 |
+ |
31 |
+*astng-0.17.2 (28 Feb 2008) |
32 |
+ |
33 |
+ 28 Feb 2008; Tiziano Müller <dev-zero@g.o> +astng-0.17.2.ebuild: |
34 |
+ Version bump (bug #209920). |
35 |
|
36 |
24 Jun 2007; Tiziano Müller <dev-zero@g.o> |
37 |
-files/astng-0.16.0-revert-test.patch, -astng-0.16.0.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/astng/astng-0.17.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/astng/astng-0.17.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/astng/astng-0.17.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: astng-0.17.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.17.2.ebuild,v 1.1 2008/02/28 20:37:47 dev-zero Exp $ |
51 |
|
52 |
NEED_PYTHON="2.3" |
53 |
|
54 |
inherit distutils eutils multilib |
55 |
|
56 |
DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" |
57 |
SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz" |
58 |
HOMEPAGE="http://www.logilab.org/projects/astng/" |
59 |
IUSE="" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
62 |
LICENSE="GPL-2" |
63 |
|
64 |
DEPEND=">=dev-python/logilab-common-0.13-r1" |
65 |
RDEPEND="${DEPEND}" |
66 |
|
67 |
S="${WORKDIR}/logilab-${P}" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
cd "${S}" |
72 |
|
73 |
# Skip a failing test. |
74 |
epatch "${FILESDIR}/${PN}-0.16.1-skip-gobject-test.patch" |
75 |
} |
76 |
|
77 |
src_install() { |
78 |
distutils_src_install |
79 |
python_version |
80 |
# we need to remove this file because it collides with the one |
81 |
# from logilab-common (which we depend on). |
82 |
rm "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/logilab/__init__.py" |
83 |
} |
84 |
|
85 |
src_test() { |
86 |
python_version |
87 |
|
88 |
# Do a temporary install. |
89 |
local spath="usr/$(get_libdir)/python${PYVER}/site-packages/" |
90 |
|
91 |
# This is a hack to make tests work without installing to the live |
92 |
# filesystem. We copy part of the logilab site-packages to a temporary |
93 |
# dir, install there, and run from there. |
94 |
mkdir -p "${T}/test/${spath}/logilab" |
95 |
cp -r "/${spath}/logilab/common" "${T}/test/${spath}/logilab" \ |
96 |
|| die "copying logilab-common failed!" |
97 |
|
98 |
"${python}" setup.py install --root="${T}/test" || die "test copy failed" |
99 |
|
100 |
# Use a hacked up copy of pytest that exits nonzero on failure. |
101 |
sed -e 's/exitafter=False/exitafter=True/' \ |
102 |
< "/usr/bin/pytest" > "${T}/pytest" || die "sed failed" |
103 |
|
104 |
# Pytest picks up tests relative to the current dir, so cd in. |
105 |
pushd "${T}/test/${spath}/logilab/astng" >/dev/null |
106 |
PYTHONPATH="${T}/test/${spath}" "${python}" "${T}/pytest" -v \ |
107 |
|| die "tests failed" |
108 |
popd >/dev/null |
109 |
rm -rf "${T}/test" |
110 |
} |
111 |
|
112 |
|
113 |
|
114 |
-- |
115 |
gentoo-commits@l.g.o mailing list |