From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/cssutils: cssutils-0.9.6.ebuild ChangeLog cssutils-0.9.6_beta5.ebuild |
Date: | Wed, 07 Oct 2009 19:55:55 |
Message-Id: | E1Mvcc5-0006gD-CD@stork.gentoo.org |
1 | arfrever 09/10/07 19:55:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cssutils-0.9.6.ebuild |
5 | Removed: cssutils-0.9.6_beta5.ebuild |
6 | Log: |
7 | Version bump. |
8 | (Portage version: 14510-svn/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.8 dev-python/cssutils/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cssutils/ChangeLog?rev=1.8&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cssutils/ChangeLog?rev=1.8&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cssutils/ChangeLog?r1=1.7&r2=1.8 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v |
20 | retrieving revision 1.7 |
21 | retrieving revision 1.8 |
22 | diff -u -r1.7 -r1.8 |
23 | --- ChangeLog 11 Sep 2009 12:48:53 -0000 1.7 |
24 | +++ ChangeLog 7 Oct 2009 19:55:52 -0000 1.8 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/cssutils |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.7 2009/09/11 12:48:53 arfrever Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.8 2009/10/07 19:55:52 arfrever Exp $ |
30 | + |
31 | +*cssutils-0.9.6 (07 Oct 2009) |
32 | + |
33 | + 07 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + -cssutils-0.9.6_beta5.ebuild, +cssutils-0.9.6.ebuild: |
35 | + Version bump. |
36 | |
37 | 11 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
38 | cssutils-0.9.6_beta5.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/cssutils/cssutils-0.9.6.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cssutils/cssutils-0.9.6.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cssutils/cssutils-0.9.6.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: cssutils-0.9.6.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.6.ebuild,v 1.1 2009/10/07 19:55:52 arfrever Exp $ |
52 | |
53 | EAPI="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | inherit distutils |
57 | |
58 | MY_P=${P/_beta/b} |
59 | DESCRIPTION="A Python package to parse and build CSS Cascading Style Sheets." |
60 | HOMEPAGE="http://code.google.com/p/cssutils" |
61 | SRC_URI="http://cssutils.googlecode.com/files/${MY_P}.zip" |
62 | |
63 | LICENSE="GPL-3" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="test" |
67 | |
68 | RDEPEND=">=dev-python/setuptools-0.6_rc7-r1" |
69 | DEPEND="${RDEPEND} |
70 | test? ( dev-python/minimock )" |
71 | RESTRICT_PYTHON_ABIS="3.*" |
72 | |
73 | S="${WORKDIR}/${MY_P}" |
74 | |
75 | src_prepare() { |
76 | distutils_src_prepare |
77 | |
78 | sed -e "s/os.chdir(os.path.dirname(__file__)/& or '.'/" -i src/tests/test_cssutils.py || die "sed failed" |
79 | } |
80 | |
81 | src_test() { |
82 | testing() { |
83 | cd "${S}/src/tests" |
84 | local test |
85 | for test in test_*.py; do |
86 | echo -e "\e[1;31mRunning ${test}...\e[0m" |
87 | PYTHONPATH="../../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${test}" || ewarn "${test} failed with Python ${PYTHON_ABI}" |
88 | done |
89 | } |
90 | python_execute_function testing |
91 | } |
92 | |
93 | src_install() { |
94 | distutils_src_install |
95 | |
96 | rm -fr "${D}"usr/lib*/python*/site-packages/tests |
97 | } |