summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-27 22:15:17 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-27 22:15:17 +0000
commit96e13d052b4baa3467a76c0a5a0e919d2551d209 (patch)
treee8f8eeecc9e0c67005243fdb7c7ef46604a3283a /app-cdr
parentAutomated update of use.local.desc (diff)
downloadhistorical-96e13d052b4baa3467a76c0a5a0e919d2551d209.tar.gz
historical-96e13d052b4baa3467a76c0a5a0e919d2551d209.tar.bz2
historical-96e13d052b4baa3467a76c0a5a0e919d2551d209.zip
Use Python 2 (bug #308319).
Package-Manager: portage-2.2.0_alpha10_p10/cvs/Linux x86_64
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdcover/ChangeLog8
-rw-r--r--app-cdr/cdcover/Manifest4
-rw-r--r--app-cdr/cdcover/cdcover-0.7.3.ebuild16
3 files changed, 20 insertions, 8 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/Manifest b/app-cdr/cdcover/Manifest
index 1f7b2a18e0c7..358005a75fd2 100644
--- a/app-cdr/cdcover/Manifest
+++ b/app-cdr/cdcover/Manifest
@@ -1,5 +1,5 @@
AUX cdcover-0.7.3-install_all_images.patch 706 RMD160 6a60b733920ca254a7e8c9475a9fa4c687007611 SHA1 86b0c4041f25ea9e2737ebb7388fe9e128ad6e44 SHA256 1abeba46b05c700c8b356785021b5861951f804e10a0a353f2c3322fe377c291
DIST cdcover-0.7.3.tar.gz 913820 RMD160 999a496c57c105ab257e5cd9fc433e133edbf3ee SHA1 ab4fd10dd0d299732e3ecba42ac201c679a097e1 SHA256 5b841f70b629002e7292422204aed53de5c935d568e3d3bda0901ccecb53280c
-EBUILD cdcover-0.7.3.ebuild 976 RMD160 5d6033d0dba9c799100c32f8abe244d5f725e621 SHA1 3ad106bd7c8a09cfae02b3141bfd0be31dfe94cd SHA256 ef61d31948a8fdb433ef728bed39b28c08d59c36d28ed0bab45b7e570650a72e
-MISC ChangeLog 447 RMD160 1f57d468c42a8c94442082bb2565813b5db7a8e1 SHA1 882dfc5b7447eb02c771275c2ffc787f3a550102 SHA256 709c805bec7e046b8fd50cb2f328b7174236f32cb517f4ebe2ef4f58ab13153f
+EBUILD cdcover-0.7.3.ebuild 1102 RMD160 17f254ad75a82c015b14df7a23a35cc86dba1105 SHA1 a138f3854b33dac9831a918d7d8c2dc760a75541 SHA256 06a9a892efee84b6c1987e792874b76b13bd764e3c5222b084ac92e2bccbbc80
+MISC ChangeLog 579 RMD160 9beb787cab64ab2194e3b938a39da04c6a596403 SHA1 b3c822df490d040ff54244228435014e13bee3a4 SHA256 cf616876502c744efe3df33b008681b59c1b6b19363f09f07a8de6873f810b00
MISC metadata.xml 166 RMD160 02ca0a5d9279c1b52c3887f5a1f52f3feb002af9 SHA1 b9fccc7c24aa717c30efef068fd544a692f264f6 SHA256 ce62d1e5b04e01d03a732ee6d33b3d500810de8e55af4a527c970e5b475735d8
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