Gentoo Archives: gentoo-commits

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