diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-24 11:58:44 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-24 11:58:44 +0000 |
commit | e02d449d0b4c5e60356e1b68cd5367f7729372bf (patch) | |
tree | c4502863bba0593b1c2c3444a004a9c8a8da2a8e /gnome-extra | |
parent | alpha stable (diff) | |
download | gentoo-2-e02d449d0b4c5e60356e1b68cd5367f7729372bf.tar.gz gentoo-2-e02d449d0b4c5e60356e1b68cd5367f7729372bf.tar.bz2 gentoo-2-e02d449d0b4c5e60356e1b68cd5367f7729372bf.zip |
* fix python eclass use, bug #207667
* adding gnome to metadata.xml
(Portage version: 2.1.4.4)
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/music-applet/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-extra/music-applet/metadata.xml | 1 | ||||
-rw-r--r-- | gnome-extra/music-applet/music-applet-2.2.1.ebuild | 26 |
3 files changed, 31 insertions, 5 deletions
diff --git a/gnome-extra/music-applet/ChangeLog b/gnome-extra/music-applet/ChangeLog index 8e96e9932278..51c4fb2688da 100644 --- a/gnome-extra/music-applet/ChangeLog +++ b/gnome-extra/music-applet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-extra/music-applet -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/ChangeLog,v 1.9 2007/12/25 14:26:04 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/ChangeLog,v 1.10 2008/02/24 11:58:44 eva Exp $ + + 24 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> + music-applet-2.2.1.ebuild, metadata.xml: + fix python eclass use, bug #207667 + adding gnome to metadata.xml 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing metalgod from metadata.xml as per #99350. diff --git a/gnome-extra/music-applet/metadata.xml b/gnome-extra/music-applet/metadata.xml index ae573a60407f..74f121ac879b 100644 --- a/gnome-extra/music-applet/metadata.xml +++ b/gnome-extra/music-applet/metadata.xml @@ -2,4 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sound</herd> + <herd>gnome</herd> </pkgmetadata> diff --git a/gnome-extra/music-applet/music-applet-2.2.1.ebuild b/gnome-extra/music-applet/music-applet-2.2.1.ebuild index a0766de049c8..f455bceaf987 100644 --- a/gnome-extra/music-applet/music-applet-2.2.1.ebuild +++ b/gnome-extra/music-applet/music-applet-2.2.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/music-applet-2.2.1.ebuild,v 1.1 2007/11/21 11:37:44 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/music-applet-2.2.1.ebuild,v 1.2 2008/02/24 11:58:44 eva Exp $ -inherit gnome2 +inherit gnome2 python DESCRIPTION="GNOME applet to control various music players" HOMEPAGE="http://www.kuliniewicz.org/music-applet" @@ -23,3 +23,23 @@ DEPEND=">=x11-libs/gtk+-2.6 >=dev-python/pygtk-2.6" RDEPEND="dev-util/pkgconfig dev-util/intltool" + +src_unpack() { + gnome2_src_unpack + + # 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/musicapplet +} + +pkg_postrm() { + gnome2_pkg_postrm + python_version + python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet +} |