From: | "Thomas Anderson (gentoofan23)" <gentoofan23@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/snakeoil: ChangeLog snakeoil-0.3.2.ebuild |
Date: | Tue, 24 Mar 2009 23:59:32 |
Message-Id: | E1LmGWp-0006eY-4I@stork.gentoo.org |
1 | gentoofan23 09/03/24 23:59:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: snakeoil-0.3.2.ebuild |
5 | Log: |
6 | Version bump per ferringb's request |
7 | (Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.15 dev-python/snakeoil/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.15&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.15&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?r1=1.14&r2=1.15 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v |
19 | retrieving revision 1.14 |
20 | retrieving revision 1.15 |
21 | diff -u -r1.14 -r1.15 |
22 | --- ChangeLog 9 Jan 2009 19:06:49 -0000 1.14 |
23 | +++ ChangeLog 24 Mar 2009 23:59:31 -0000 1.15 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/snakeoil |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.14 2009/01/09 19:06:49 patrick Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.15 2009/03/24 23:59:31 gentoofan23 Exp $ |
29 | + |
30 | +*snakeoil-0.3.2 (24 Mar 2009) |
31 | + |
32 | + 24 Mar 2009; Thomas Anderson <gentoofan23@g.o> |
33 | + +snakeoil-0.3.2.ebuild: |
34 | + Version bump per ferringb's request |
35 | |
36 | 09 Jan 2009; Patrick Lauer <patrick@g.o> -snakeoil-0.1_rc2.ebuild, |
37 | -snakeoil-0.1.ebuild, -snakeoil-0.2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/snakeoil/snakeoil-0.3.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/snakeoil-0.3.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/snakeoil-0.3.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: snakeoil-0.3.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.3.2.ebuild,v 1.1 2009/03/24 23:59:31 gentoofan23 Exp $ |
51 | |
52 | NEED_PYTHON=2.4 |
53 | |
54 | inherit distutils |
55 | |
56 | DESCRIPTION="Miscellaneous python utility code." |
57 | HOMEPAGE="http://www.pkgcore.org/" |
58 | SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
63 | IUSE="" |
64 | |
65 | DOCS="AUTHORS NEWS" |
66 | DEPEND="!<sys-apps/pkgcore-0.4.7.8" |
67 | RDEPEND=${DEPEND} |
68 | |
69 | # Uses an ugly hack to install for all versions of python on the |
70 | # system. This should be supported through the eclass at some point. |
71 | # pkgcore needs it now to support upgrading to a different python slot. |
72 | |
73 | src_compile() { |
74 | local opython=${python} |
75 | for python in /usr/bin/python2.[4-9]; do |
76 | distutils_src_compile |
77 | done |
78 | python=${opython} |
79 | } |
80 | |
81 | src_test() { |
82 | local opython=${python} tempdir |
83 | for python in /usr/bin/python2.[4-9]; do |
84 | tempdir="${T}/tests/$(basename ${python})" |
85 | mkdir -p "${tempdir}" || die "tempdir creation failed" |
86 | cp -r "${S}" "${tempdir}" || die "test copy failed" |
87 | cd "${tempdir}/${P}" |
88 | "${python}" setup.py test || die "testing returned non zero" |
89 | done |
90 | python=${opython} |
91 | rm -rf "${T}/tests" |
92 | } |
93 | |
94 | src_install() { |
95 | local opython=${python} |
96 | for python in /usr/bin/python2.[4-9]; do |
97 | distutils_src_install |
98 | done |
99 | } |