From cc95244b9a00473e6184929d05b89b1bca75a188 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sat, 22 Jul 2006 16:05:33 +0000 Subject: Version bump. Use ebuild from bug #139710, submitted by Samuli Suominen . (Portage version: 2.1.1_pre3-r1) --- media-sound/pympd/ChangeLog | 8 +++++- media-sound/pympd/files/digest-pympd-0.07 | 3 +++ media-sound/pympd/pympd-0.07.ebuild | 42 +++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 media-sound/pympd/files/digest-pympd-0.07 create mode 100644 media-sound/pympd/pympd-0.07.ebuild (limited to 'media-sound/pympd') diff --git a/media-sound/pympd/ChangeLog b/media-sound/pympd/ChangeLog index 2dfe7dedd2df..70234e45b419 100644 --- a/media-sound/pympd/ChangeLog +++ b/media-sound/pympd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/pympd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.9 2006/03/22 10:54:37 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.10 2006/07/22 16:05:33 ticho Exp $ + +*pympd-0.07 (22 Jul 2006) + + 22 Jul 2006; Andrej Kacian +pympd-0.07.ebuild: + Version bump. Use ebuild from bug #139710, submitted by Samuli Suominen + . *pympd-0.06.1 (22 Mar 2006) diff --git a/media-sound/pympd/files/digest-pympd-0.07 b/media-sound/pympd/files/digest-pympd-0.07 new file mode 100644 index 000000000000..1e092de13f28 --- /dev/null +++ b/media-sound/pympd/files/digest-pympd-0.07 @@ -0,0 +1,3 @@ +MD5 72b4671cfbff46689154c8acefb30348 pympd-0.07.tar.gz 92785 +RMD160 a91c6f1d5fd064cfe66cf79c38418b0e1cfd7677 pympd-0.07.tar.gz 92785 +SHA256 091cf6a2cc9149abf383f50d623cef49d5805fb68ca27d51614663c570c6591a pympd-0.07.tar.gz 92785 diff --git a/media-sound/pympd/pympd-0.07.ebuild b/media-sound/pympd/pympd-0.07.ebuild new file mode 100644 index 000000000000..4df5f3688275 --- /dev/null +++ b/media-sound/pympd/pympd-0.07.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.07.ebuild,v 1.1 2006/07/22 16:05:33 ticho Exp $ + +inherit toolchain-funcs python + +DESCRIPTION="a Rhythmbox-like PyGTK+ client for Music Player Daemon" +HOMEPAGE="http://sourceforge.net/projects/pympd" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND=">=virtual/python-2.4 + >=dev-python/pygtk-2.6" + +src_compile() { + # Honor CFLAGS in make.conf + export BUILDFLAGS="${CFLAGS}" + sed -i -e 's:CFLAGS =:CFLAGS = ${BUILDFLAGS}:' src/modules/tray/Makefile + emake CC="$(tc-getCC)" PREFIX="/usr" DESTDIR="${D}" || die "emake failed." +} + +src_install() { + # Fix for 'src//glade/../pympd.svg': No such file or directory + sed -i -e 's:\..\/py:/usr/share/pympd/py:g' src/glade/pympd.glade + + emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed." + dodoc README +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/pympd +} + +pkg_postrm() { + python_version + python_mod_cleanup +} -- cgit v1.2.3-65-gdbad