diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-04-05 14:02:59 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-04-05 14:02:59 +0000 |
commit | 2a1a69a89f44acfdd77b4f54dbc3d103a562af03 (patch) | |
tree | 69598f2414e19054529a91c3eb319e7cd6e36f50 /dev-tcltk/snack | |
parent | Version bump wrt #285292. Respect CC, CFLAGS, LDFLAGS wrt #241098. (diff) | |
download | gentoo-2-2a1a69a89f44acfdd77b4f54dbc3d103a562af03.tar.gz gentoo-2-2a1a69a89f44acfdd77b4f54dbc3d103a562af03.tar.bz2 gentoo-2-2a1a69a89f44acfdd77b4f54dbc3d103a562af03.zip |
Proposed enhancement from Arfrever included
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/snack')
-rw-r--r-- | dev-tcltk/snack/ChangeLog | 5 | ||||
-rw-r--r-- | dev-tcltk/snack/snack-2.2.10-r4.ebuild | 32 |
2 files changed, 19 insertions, 18 deletions
diff --git a/dev-tcltk/snack/ChangeLog b/dev-tcltk/snack/ChangeLog index a8a137c8dd3a..bcfc06ffb2bf 100644 --- a/dev-tcltk/snack/ChangeLog +++ b/dev-tcltk/snack/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-tcltk/snack # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.42 2010/04/02 09:27:08 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.43 2010/04/05 14:02:59 jlec Exp $ + + 05 Apr 2010; Justin Lecher <jlec@gentoo.org> snack-2.2.10-r4.ebuild: + Proposed enhancement from Arfrever included *snack-2.2.10-r4 (02 Apr 2010) diff --git a/dev-tcltk/snack/snack-2.2.10-r4.ebuild b/dev-tcltk/snack/snack-2.2.10-r4.ebuild index a476485b9232..776edef575fb 100644 --- a/dev-tcltk/snack/snack-2.2.10-r4.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r4.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ EAPI="3" -PYTHON_DEPEND="python? 2" +PYTHON_DEPEND="python? *" +SUPPORT_PYTHON_ABIS="1" +PYTHON_MODNAME="tkSnack.py" -inherit eutils multilib python +inherit eutils distutils multilib DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/" @@ -25,6 +27,7 @@ DEPEND=" alsa? ( media-libs/alsa-lib ) vorbis? ( media-libs/libvorbis )" RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${PN}${PV}/unix" @@ -50,8 +53,11 @@ src_configure() { fi econf ${myconf} || die "configure failed" - emake || die "make failed" +} +src_compile() { + # We do not want to run distutils_src_compile + emake || die } src_install() { @@ -59,30 +65,22 @@ src_install() { if use python ; then cd "${S}"/../python - python setup.py install --root="${ED}" || die + distutils_src_install fi cd "${S}"/.. - dodoc README changes - dohtml doc/* + dodoc README changes || die + dohtml doc/* || die if use examples ; then sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die docinto examples/tcl - dodoc demos/tcl/* + dodoc demos/tcl/* || die if use python ; then docinto examples/python - dodoc demos/python/* + dodoc demos/python/* || die fi fi } - -pkg_postinst() { - python_mod_optimize tkSnack.py -} - -pkg_postrm() { - python_mod_cleanup tkSnack.py -} |