# ChangeLog for media-sound/moosic
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/ChangeLog,v 1.20 2009/07/17 23:26:28 tcunha Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/ChangeLog,v 1.21 2010/05/28 21:27:28 arfrever Exp $
+
+ 28 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ moosic-1.5.4.ebuild:
+ Delete call to deprecated python_version().
17 Jul 2009; Tiago Cunha <tcunha@gentoo.org> moosic-1.5.4.ebuild:
stable sparc, bug 274738
-# 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/media-sound/moosic/moosic-1.5.4.ebuild,v 1.6 2009/07/17 23:26:28 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.7 2010/05/28 21:27:28 arfrever Exp $
-inherit bash-completion distutils python multilib
+EAPI="3"
+
+inherit bash-completion distutils
DESCRIPTION="Moosic is a music player that focuses on easy playlist management"
HOMEPAGE="http://www.nanoo.org/~daniel/moosic"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE="doc"
-RDEPEND="dev-lang/python"
-DEPEND="${RDEPEND}
- dev-python/setuptools"
+RDEPEND=""
+DEPEND="dev-python/setuptools"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
+ distutils_src_prepare
sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed"
}
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
bash-completion_pkg_postinst
-}
-
-pkg_postrm() {
- python_mod_cleanup
+ distutils_pkg_postinst
}
# ChangeLog for media-sound/pympd
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.23 2009/05/26 21:17:25 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.24 2010/05/28 21:30:24 arfrever Exp $
+
+ 28 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pympd-0.08.1.ebuild:
+ Delete call to deprecated python_version().
26 May 2009; Christian Faulhammer <fauli@gentoo.org> pympd-0.08.1.ebuild:
stable x86, bug 270782
-# 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/media-sound/pympd/pympd-0.08.1.ebuild,v 1.7 2009/05/26 21:17:25 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.08.1.ebuild,v 1.8 2010/05/28 21:30:24 arfrever Exp $
EAPI=2
inherit eutils toolchain-funcs python multilib gnome2-utils
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/pympd
+ python_mod_optimize $(python_get_sitedir)/pympd
gnome2_icon_cache_update
}
pkg_postrm() {
- python_mod_cleanup
+ python_mod_cleanup $(python_get_sitedir)/pympd
gnome2_icon_cache_update
}