summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 21:27:28 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 21:27:28 +0000
commitfb48d73a5a5ef9dc176c8a45b17a7040c121e45d (patch)
tree6efc11afe23351c2acee8a78e87937a19e2af280
parentVersion bump. Fixes bug #309661 (diff)
downloadgentoo-2-fb48d73a5a5ef9dc176c8a45b17a7040c121e45d.tar.gz
gentoo-2-fb48d73a5a5ef9dc176c8a45b17a7040c121e45d.tar.bz2
gentoo-2-fb48d73a5a5ef9dc176c8a45b17a7040c121e45d.zip
Delete call to deprecated python_version().
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r--media-sound/moosic/ChangeLog8
-rw-r--r--media-sound/moosic/moosic-1.5.4.ebuild25
2 files changed, 16 insertions, 17 deletions
diff --git a/media-sound/moosic/ChangeLog b/media-sound/moosic/ChangeLog
index e3f5e7961fb2..15eb99b69dcf 100644
--- a/media-sound/moosic/ChangeLog
+++ b/media-sound/moosic/ChangeLog
@@ -1,6 +1,10 @@
# 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
diff --git a/media-sound/moosic/moosic-1.5.4.ebuild b/media-sound/moosic/moosic-1.5.4.ebuild
index 09e389c91528..62287e792651 100644
--- a/media-sound/moosic/moosic-1.5.4.ebuild
+++ b/media-sound/moosic/moosic-1.5.4.ebuild
@@ -1,8 +1,10 @@
-# 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"
@@ -13,13 +15,11 @@ SLOT="0"
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"
}
@@ -33,11 +33,6 @@ src_install() {
}
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
}