Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/alsa-lib: ChangeLog alsa-lib-1.0.23.ebuild
Date: Mon, 19 Apr 2010 16:16:47
Message-Id: 20100419161639.786842C04B@corvid.gentoo.org
1 arfrever 10/04/19 16:16:39
2
3 Modified: ChangeLog alsa-lib-1.0.23.ebuild
4 Log:
5 Use Python 2 (bug #313521).
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.308 media-libs/alsa-lib/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.308&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.308&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.307&r2=1.308
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
18 retrieving revision 1.307
19 retrieving revision 1.308
20 diff -u -r1.307 -r1.308
21 --- ChangeLog 16 Apr 2010 22:12:08 -0000 1.307
22 +++ ChangeLog 19 Apr 2010 16:16:39 -0000 1.308
23 @@ -1,6 +1,10 @@
24 # ChangeLog for media-libs/alsa-lib
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.307 2010/04/16 22:12:08 chainsaw Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.308 2010/04/19 16:16:39 arfrever Exp $
28 +
29 + 19 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
30 + alsa-lib-1.0.23.ebuild:
31 + Use Python 2 (bug #313521).
32
33 *alsa-lib-1.0.23 (16 Apr 2010)
34
35
36
37
38 1.2 media-libs/alsa-lib/alsa-lib-1.0.23.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild?r1=1.1&r2=1.2
43
44 Index: alsa-lib-1.0.23.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- alsa-lib-1.0.23.ebuild 16 Apr 2010 22:12:08 -0000 1.1
51 +++ alsa-lib-1.0.23.ebuild 19 Apr 2010 16:16:39 -0000 1.2
52 @@ -1,8 +1,10 @@
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild,v 1.1 2010/04/16 22:12:08 chainsaw Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.23.ebuild,v 1.2 2010/04/19 16:16:39 arfrever Exp $
57
58 -inherit eutils libtool
59 +PYTHON_DEPEND="python? 2"
60 +
61 +inherit eutils libtool python
62
63 MY_P="${P/_rc/rc}"
64 S="${WORKDIR}/${MY_P}"
65 @@ -16,10 +18,9 @@
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
67 IUSE="doc debug alisp python"
68
69 -RDEPEND="python? ( dev-lang/python )"
70 -DEPEND="${RDEPEND}
71 - >=media-sound/alsa-headers-${PV}
72 +DEPEND=">=media-sound/alsa-headers-${PV}
73 doc? ( >=app-doc/doxygen-1.2.6 )"
74 +RDEPEND=""
75
76 IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file
77 null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958
78 @@ -36,6 +37,10 @@
79 ewarn "are going to *misbehave* !"
80 epause 5
81 fi
82 +
83 + if use python; then
84 + python_set_active_version 2
85 + fi
86 }
87
88 src_unpack() {
89 @@ -62,8 +67,7 @@
90 $(use_enable python) \
91 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
92 --disable-dependency-tracking \
93 - ${myconf} \
94 - || die "configure failed"
95 + ${myconf}
96
97 emake || die "make failed"