summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-07-02 00:35:56 +0000
committerZac Medico <zmedico@gentoo.org>2011-07-02 00:35:56 +0000
commit8e1957d5840a66cdad3b069c6742d3354da37b2b (patch)
tree81a0f59a808adfc662a7b3db16f1e5d1b1142dd3 /app-text/calibre
parentVersion bump. (diff)
downloadgentoo-2-8e1957d5840a66cdad3b069c6742d3354da37b2b.tar.gz
gentoo-2-8e1957d5840a66cdad3b069c6742d3354da37b2b.tar.bz2
gentoo-2-8e1957d5840a66cdad3b069c6742d3354da37b2b.zip
*calibre-0.8.8 (02 Jul 2011)
02 Jul 2011; Zac Medico <zmedico@gentoo.org> +calibre-0.8.8.ebuild: 0.8.8 version bump. 02 Jul 2011; Zac Medico <zmedico@gentoo.org> -calibre-0.8.4.ebuild: Remove old version. (Portage version: 2.2.0_alpha43/cvs/Linux i686)
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/ChangeLog10
-rw-r--r--app-text/calibre/calibre-0.8.8.ebuild (renamed from app-text/calibre/calibre-0.8.4.ebuild)11
2 files changed, 17 insertions, 4 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index e139a8d38c34..e411fac0d6be 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.154 2011/06/20 19:41:50 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.155 2011/07/02 00:35:56 zmedico Exp $
+
+*calibre-0.8.8 (02 Jul 2011)
+
+ 02 Jul 2011; Zac Medico <zmedico@gentoo.org> +calibre-0.8.8.ebuild:
+ 0.8.8 version bump.
+
+ 02 Jul 2011; Zac Medico <zmedico@gentoo.org> -calibre-0.8.4.ebuild:
+ Remove old version.
*calibre-0.8.6 (20 Jun 2011)
diff --git a/app-text/calibre/calibre-0.8.4.ebuild b/app-text/calibre/calibre-0.8.8.ebuild
index abed6ba8f43a..f876a7917b41 100644
--- a/app-text/calibre/calibre-0.8.4.ebuild
+++ b/app-text/calibre/calibre-0.8.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.4.ebuild,v 1.1 2011/06/07 09:16:41 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.8.ebuild,v 1.1 2011/07/02 00:35:56 zmedico Exp $
EAPI=3
PYTHON_DEPEND=2:2.7
@@ -54,17 +54,22 @@ pkg_setup() {
}
src_prepare() {
+ # Fix outdated version constant.
+ #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
+ # -i src/calibre/constants.py || \
+ # die "sed failed to patch constants.py"
+
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
# calls xdg-* (bug #258938).
sed -e "s:'xdg-desktop-menu', 'install':\\0, '--mode', 'user':" \
-e "s:check_call(\\['xdg-desktop-menu', 'forceupdate'\\]):#\\0:" \
-e "s:xdg-icon-resource install:\\0 --mode user:" \
-e "s:xdg-mime install:\\0 --mode user:" \
- -i src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
+ -i src/calibre/linux.py || die "sed failed to patch linux.py"
# Disable unnecessary privilege dropping for bug #287067.
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
- -i setup/install.py || die "sed'ing in the IMAGE path failed"
+ -i setup/install.py || die "sed failed to patch install.py"
distutils_src_prepare
}