summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/pyrenamer')
-rw-r--r--sys-apps/pyrenamer/ChangeLog5
-rw-r--r--sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/sys-apps/pyrenamer/ChangeLog b/sys-apps/pyrenamer/ChangeLog
index 61d6e45b2bbb..8c396869824b 100644
--- a/sys-apps/pyrenamer/ChangeLog
+++ b/sys-apps/pyrenamer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/pyrenamer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/ChangeLog,v 1.1 2010/08/04 14:14:17 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/ChangeLog,v 1.2 2010/08/05 21:06:19 hwoarang Exp $
+
+ 05 Aug 2010; Markos Chandras <hwoarang@gentoo.org> pyrenamer-0.6.0.ebuild:
+ QA fixes thanks to Arfrever
*pyrenamer-0.6.0 (04 Aug 2010)
diff --git a/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild b/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild
index 1adb481a58dc..3498a5dd17ad 100644
--- a/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild
+++ b/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild,v 1.1 2010/08/04 14:14:17 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild,v 1.2 2010/08/05 21:06:19 hwoarang Exp $
-EAPI="2"
+EAPI="3"
PYTHON_DEPEND="2"
inherit python gnome2
@@ -20,10 +20,15 @@ RDEPEND="dev-python/pygtk:2
dev-python/gconf-python
music? ( || ( dev-python/eyeD3 app-misc/hachoir-metadata ) )"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)/${PN}
+ python_mod_optimize ${PN}
}
pkg_postrm() {
- python_mod_cleanup
+ python_mod_cleanup ${PN}
}