Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improved pyrenamer ebuild

* Added music useflag
  • Loading branch information...
commit 44c00f327e74ae6b14c2ab000f32e917abdf94aa 1 parent 9bfc7ae
@elbryan authored
View
8 app-text/pyrenamer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+ <use>
+ <flag name='music'>Enable support for renaming music</flag>
+ </use>
+</pkgmetadata>
View
11 app-text/pyrenamer/pyrenamer-0.6.0.ebuild
@@ -14,18 +14,15 @@ SRC_URI="http://www.infinicode.org/code/${PN}/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="music"
DEPEND=""
-RDEPEND="dev-python/pygtk:2"
+RDEPEND="dev-python/pygtk:2
+ music? ( || ( dev-python/eyeD3 app-misc/hachoir-metadata ) )"
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() {
Please sign in to comment.
Something went wrong with that request. Please try again.