diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-27 22:15:17 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-27 22:15:17 +0000 |
commit | 43dc3e058022391580eeee2d75dba13dba4c50b2 (patch) | |
tree | c01fded30103ccce1d95afbfe9f134e3d2de51ab /app-cdr/cdcover | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-43dc3e058022391580eeee2d75dba13dba4c50b2.tar.gz gentoo-2-43dc3e058022391580eeee2d75dba13dba4c50b2.tar.bz2 gentoo-2-43dc3e058022391580eeee2d75dba13dba4c50b2.zip |
Use Python 2 (bug #308319).
(Portage version: 2.2.0_alpha10_p10/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/cdcover')
-rw-r--r-- | app-cdr/cdcover/ChangeLog | 8 | ||||
-rw-r--r-- | app-cdr/cdcover/cdcover-0.7.3.ebuild | 16 |
2 files changed, 18 insertions, 6 deletions
diff --git a/app-cdr/cdcover/ChangeLog b/app-cdr/cdcover/ChangeLog index 89d0ec972387..ae928d854590 100644 --- a/app-cdr/cdcover/ChangeLog +++ b/app-cdr/cdcover/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-cdr/cdcover -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/ChangeLog,v 1.1 2008/06/07 09:23:27 drac Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/ChangeLog,v 1.2 2010/12/27 22:15:17 arfrever Exp $ + + 27 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + cdcover-0.7.3.ebuild: + Use Python 2 (bug #308319). *cdcover-0.7.3 (07 Jun 2008) diff --git a/app-cdr/cdcover/cdcover-0.7.3.ebuild b/app-cdr/cdcover/cdcover-0.7.3.ebuild index 42bbef82ce03..3d5fd76f37c7 100644 --- a/app-cdr/cdcover/cdcover-0.7.3.ebuild +++ b/app-cdr/cdcover/cdcover-0.7.3.ebuild @@ -1,9 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/cdcover-0.7.3.ebuild,v 1.2 2009/08/15 13:27:45 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/cdcover-0.7.3.ebuild,v 1.3 2010/12/27 22:15:17 arfrever Exp $ EAPI=2 -inherit eutils +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" + +inherit eutils python DESCRIPTION="cdcover allows the creation of inlay-sheets for jewel cd-cases" HOMEPAGE="http://cdcover.sourceforge.net" @@ -15,13 +18,17 @@ KEYWORDS="~amd64 ~x86" IUSE="cddb" RDEPEND="cddb? ( dev-python/cddb-py ) - dev-lang/python[tk] app-text/ggv media-sound/cd-discid" DEPEND="" S=${WORKDIR}/${PN} +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${P}-install_all_images.patch } @@ -33,6 +40,7 @@ src_compile() { src_install() { emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" \ install || die "emake install failed." + python_convert_shebangs -r 2 "${D}" newicon share/images/document-save.png ${PN}.png make_desktop_entry ${PN} ${PN} ${PN} prepalldocs |