public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/beets: metadata.xml ChangeLog beets-1.0_beta14-r1.ebuild
@ 2012-05-29 14:07 Stanislav Ochotnicky (sochotnicky)
  0 siblings, 0 replies; only message in thread
From: Stanislav Ochotnicky (sochotnicky) @ 2012-05-29 14:07 UTC (permalink / raw
  To: gentoo-commits

sochotnicky    12/05/29 14:07:09

  Modified:             metadata.xml ChangeLog
  Added:                beets-1.0_beta14-r1.ebuild
  Log:
  Add several use flags and plugin dependencies
  
  drop ~x86 until we get it for all new deps
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  media-sound/beets/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/beets/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	28 May 2012 11:13:42 -0000	1.1
+++ metadata.xml	29 May 2012 14:07:09 -0000	1.2
@@ -19,5 +19,13 @@
 
 If beets doesn’t do what you want yet, writing your own plugin is shockingly simple if you know a little Python.		
 	</longdescription>
+	<use>
+		<flag name="chroma">Enable support for acoustic fingerprinting plugin using
+				(<pkg>media-libs/chromaprint</pkg>)</flag>
+       	<flag name="lastgenre">Enable support for importing music genres from last.fm tags</flag>
+		<flag name="bpd">Enable support for <pkg>media-sound/mpd</pkg> server emulation</flag>
+		<flag name="replaygain">Enable support for Replay Gain metadata calculation during import</flag>
+		<flag name="web">Enable embedded webserver support through <pkg>dev-python/flask</pkg></flag>
+	</use>
 </pkgmetadata>
 



1.4                  media-sound/beets/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	28 May 2012 23:25:22 -0000	1.3
+++ ChangeLog	29 May 2012 14:07:09 -0000	1.4
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/beets
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.3 2012/05/28 23:25:22 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.4 2012/05/29 14:07:09 sochotnicky Exp $
+
+*beets-1.0_beta14-r1 (29 May 2012)
+
+  29 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+  +beets-1.0_beta14-r1.ebuild, metadata.xml:
+  Add several use flags and plugin dependencies
 
   28 May 2012; Jeff Horelick <jdhore@gentoo.org> beets-1.0_beta14.ebuild:
   Keyword ~x86.



1.1                  media-sound/beets/beets-1.0_beta14-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/beets-1.0_beta14-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/beets-1.0_beta14-r1.ebuild?rev=1.1&content-type=text/plain

Index: beets-1.0_beta14-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.0_beta14-r1.ebuild,v 1.1 2012/05/29 14:07:09 sochotnicky Exp $

EAPI="4"

SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils python

MY_PV=${PV/_beta/b}
S="${WORKDIR}/${PN}-${MY_PV}"

DESCRIPTION="A media library management system for obsessive-compulsive music geeks."
SRC_URI="http://beets.googlecode.com/files/${PN}-${MY_PV}.tar.gz"
HOMEPAGE="http://beets.radbox.org/"

KEYWORDS="~amd64"
SLOT="0"
LICENSE="MIT"
IUSE="chroma lastgenre bpd replaygain web"

DEPEND="dev-lang/python[sqlite]
		dev-python/munkres
		dev-python/python-musicbrainz-ngs
		dev-python/unidecode
		media-libs/mutagen
		chroma? ( dev-python/pyacoustid )
		lastgenre? ( dev-python/pylast )
		bpd? ( dev-python/bluelet )
		replaygain? ( media-sound/rgain )
		web? ( dev-python/flask )"

RDEPEND="${DEPEND}"

src_prepare() {
	python_src_prepare

	# remove plugins that do not have appropriate dependencies installed
	for flag in lastgenre bpd web;do
		if ! use $flag ; then
			rm -r beetsplug/$flag* || \
				die "Unable to remove $flag plugin"
			sed -i "s:'beetsplug.$flag',::" setup.py || \
				die "Unable to disable $flag plugin "
		fi
	done

	for flag in chroma replaygain;do
		if ! use $flag ; then
			rm beetsplug/$flag.py || die "Unable to remove $flag plugin"
		fi
	done
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-29 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 14:07 [gentoo-commits] gentoo-x86 commit in media-sound/beets: metadata.xml ChangeLog beets-1.0_beta14-r1.ebuild Stanislav Ochotnicky (sochotnicky)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox