Permalink
Browse files

Added pyrenamer ebuild

  • Loading branch information...
1 parent b90a2f5 commit 9bfc7ae9bc18df27e6c823306403514d63c610d0 @elbryan committed Mar 25, 2010
Showing with 33 additions and 0 deletions.
  1. +33 −0 app-text/pyrenamer/pyrenamer-0.6.0.ebuild
View
33 app-text/pyrenamer/pyrenamer-0.6.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+
+inherit python gnome2
+
+DESCRIPTION="Mass rename files"
+HOMEPAGE="http://www.infinicode.org/code/pyrenamer/"
+SRC_URI="http://www.infinicode.org/code/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/pygtk:2"
+
+pkg_postinst() {
+ python_mod_optimize $(python_get_sitedir)/${PN}
+
+ einfo
+ einfo "Notice that you'll need to emerge dev-python/eyeD3 or
+app-misc/hachoir-metadata in order to be able to rename music"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}

0 comments on commit 9bfc7ae

Please sign in to comment.