summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-02-17 22:33:25 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-02-17 22:33:25 +0000
commit63ecf798835bcd6bee64bb4708b15f6227ce1ed6 (patch)
tree5ea8206e27cb4c7b7bec31082cca358e6136ef0d /net-misc/gnome-blog
parentIncrease glib dependency to 2.4, as G_STRFUNC is used now which is new since ... (diff)
downloadgentoo-2-63ecf798835bcd6bee64bb4708b15f6227ce1ed6.tar.gz
gentoo-2-63ecf798835bcd6bee64bb4708b15f6227ce1ed6.tar.bz2
gentoo-2-63ecf798835bcd6bee64bb4708b15f6227ce1ed6.zip
fix python eclass use, bug #207667
fix quoting (Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/gnome-blog')
-rw-r--r--net-misc/gnome-blog/ChangeLog7
-rw-r--r--net-misc/gnome-blog/gnome-blog-0.9.1.ebuild20
-rw-r--r--net-misc/gnome-blog/gnome-blog-0.9.ebuild6
3 files changed, 27 insertions, 6 deletions
diff --git a/net-misc/gnome-blog/ChangeLog b/net-misc/gnome-blog/ChangeLog
index e4091ad57efd..7e25b410e6f9 100644
--- a/net-misc/gnome-blog/ChangeLog
+++ b/net-misc/gnome-blog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/gnome-blog
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.18 2008/01/25 20:14:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.19 2008/02/17 22:33:25 eva Exp $
+
+ 17 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> gnome-blog-0.9.ebuild,
+ gnome-blog-0.9.1.ebuild:
+ fix python eclass use, bug #207667
+ fix quoting
25 Jan 2008; Raúl Porcel <armin76@gentoo.org> gnome-blog-0.9.1.ebuild:
x86 stable
diff --git a/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild b/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
index 2083c02ed991..aab078fe82ed 100644
--- a/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
+++ b/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild,v 1.3 2008/01/25 20:14:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild,v 1.4 2008/02/17 22:33:25 eva Exp $
-inherit gnome2
+inherit gnome2 python
DESCRIPTION="Post entries to your blog right from the Gnome panel"
HOMEPAGE="http://www.gnome.org/~seth/gnome-blog/"
@@ -28,4 +28,20 @@ src_unpack () {
# Let this file be re-created so the path in the <oaf_server> element is
# correct. See bug #93612.
rm -f GNOME_BlogApplet.server.in
+
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gnomeblog
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_version
+ python_mod_cleanup
}
diff --git a/net-misc/gnome-blog/gnome-blog-0.9.ebuild b/net-misc/gnome-blog/gnome-blog-0.9.ebuild
index 5faa1f3c2b80..96c0bb5d6d7e 100644
--- a/net-misc/gnome-blog/gnome-blog-0.9.ebuild
+++ b/net-misc/gnome-blog/gnome-blog-0.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.ebuild,v 1.5 2005/08/04 08:05:42 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.ebuild,v 1.6 2008/02/17 22:33:25 eva Exp $
inherit gnome2
@@ -24,7 +24,7 @@ DOCS="AUTHORS ChangeLog README TODO"
src_unpack () {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Let this file be re-created so the path in the <oaf_server> element is
# correct. See bug #93612.