Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tcltk/snack: ChangeLog snack-2.2.10-r4.ebuild
Date: Mon, 05 Apr 2010 14:03:02
Message-Id: 20100405140259.849662C04A@corvid.gentoo.org
1 jlec 10/04/05 14:02:59
2
3 Modified: ChangeLog snack-2.2.10-r4.ebuild
4 Log:
5 Proposed enhancement from Arfrever included
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.43 dev-tcltk/snack/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/ChangeLog?rev=1.43&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/ChangeLog?rev=1.43&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/ChangeLog?r1=1.42&r2=1.43
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v
18 retrieving revision 1.42
19 retrieving revision 1.43
20 diff -u -r1.42 -r1.43
21 --- ChangeLog 2 Apr 2010 09:27:08 -0000 1.42
22 +++ ChangeLog 5 Apr 2010 14:02:59 -0000 1.43
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-tcltk/snack
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.42 2010/04/02 09:27:08 jlec Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.43 2010/04/05 14:02:59 jlec Exp $
28 +
29 + 05 Apr 2010; Justin Lecher <jlec@g.o> snack-2.2.10-r4.ebuild:
30 + Proposed enhancement from Arfrever included
31
32 *snack-2.2.10-r4 (02 Apr 2010)
33
34
35
36
37 1.3 dev-tcltk/snack/snack-2.2.10-r4.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild?rev=1.3&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild?rev=1.3&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild?r1=1.2&r2=1.3
42
43 Index: snack-2.2.10-r4.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v
46 retrieving revision 1.2
47 retrieving revision 1.3
48 diff -u -r1.2 -r1.3
49 --- snack-2.2.10-r4.ebuild 2 Apr 2010 09:28:44 -0000 1.2
50 +++ snack-2.2.10-r4.ebuild 5 Apr 2010 14:02:59 -0000 1.3
51 @@ -1,12 +1,14 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v 1.2 2010/04/02 09:28:44 jlec Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v 1.3 2010/04/05 14:02:59 jlec Exp $
56
57 EAPI="3"
58
59 -PYTHON_DEPEND="python? 2"
60 +PYTHON_DEPEND="python? *"
61 +SUPPORT_PYTHON_ABIS="1"
62 +PYTHON_MODNAME="tkSnack.py"
63
64 -inherit eutils multilib python
65 +inherit eutils distutils multilib
66
67 DESCRIPTION="The Snack Sound Toolkit (Tcl)"
68 HOMEPAGE="http://www.speech.kth.se/snack/"
69 @@ -25,6 +27,7 @@
70 alsa? ( media-libs/alsa-lib )
71 vorbis? ( media-libs/libvorbis )"
72 RDEPEND="${DEPEND}"
73 +RESTRICT_PYTHON_ABIS="3.*"
74
75 S="${WORKDIR}/${PN}${PV}/unix"
76
77 @@ -50,8 +53,11 @@
78 fi
79
80 econf ${myconf} || die "configure failed"
81 - emake || die "make failed"
82 +}
83
84 +src_compile() {
85 + # We do not want to run distutils_src_compile
86 + emake || die
87 }
88
89 src_install() {
90 @@ -59,30 +65,22 @@
91
92 if use python ; then
93 cd "${S}"/../python
94 - python setup.py install --root="${ED}" || die
95 + distutils_src_install
96 fi
97
98 cd "${S}"/..
99
100 - dodoc README changes
101 - dohtml doc/*
102 + dodoc README changes || die
103 + dohtml doc/* || die
104
105 if use examples ; then
106 sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die
107 docinto examples/tcl
108 - dodoc demos/tcl/*
109 + dodoc demos/tcl/* || die
110
111 if use python ; then
112 docinto examples/python
113 - dodoc demos/python/*
114 + dodoc demos/python/* || die
115 fi
116 fi
117 }
118 -
119 -pkg_postinst() {
120 - python_mod_optimize tkSnack.py
121 -}
122 -
123 -pkg_postrm() {
124 - python_mod_cleanup tkSnack.py
125 -}