summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2014-01-12 13:16:19 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2014-01-12 13:16:19 +0000
commit5731a633800b11bf41b3d6273f0e1ed986917822 (patch)
tree08945abfe4ce60f8f2692c3db31054ef43dce108 /media-sound/beets
parentStable for ia64, wrt bug #493138 (diff)
downloadgentoo-2-5731a633800b11bf41b3d6273f0e1ed986917822.tar.gz
gentoo-2-5731a633800b11bf41b3d6273f0e1ed986917822.tar.bz2
gentoo-2-5731a633800b11bf41b3d6273f0e1ed986917822.zip
Version bump to beets 1.3.2
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 7B087241)
Diffstat (limited to 'media-sound/beets')
-rw-r--r--media-sound/beets/ChangeLog10
-rw-r--r--media-sound/beets/beets-1.3.2.ebuild81
2 files changed, 89 insertions, 2 deletions
diff --git a/media-sound/beets/ChangeLog b/media-sound/beets/ChangeLog
index cf285203b082..daebd2ce7833 100644
--- a/media-sound/beets/ChangeLog
+++ b/media-sound/beets/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/beets
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.17 2013/11/05 22:42:59 sochotnicky Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.18 2014/01/12 13:16:19 sochotnicky Exp $
+
+*beets-1.3.2 (12 Jan 2014)
+
+ 12 Jan 2014; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ +beets-1.3.2.ebuild:
+ Version bump to beets 1.3.2
*beets-1.3.1 (05 Nov 2013)
diff --git a/media-sound/beets/beets-1.3.2.ebuild b/media-sound/beets/beets-1.3.2.ebuild
new file mode 100644
index 000000000000..04a9ee05cad0
--- /dev/null
+++ b/media-sound/beets/beets-1.3.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.3.2.ebuild,v 1.1 2014/01/12 13:16:19 sochotnicky Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1 eutils
+
+MY_PV=${PV/_beta/-beta.}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A media library management system for obsessive-compulsive music geeks"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://beets.radbox.org/ http://pypi.python.org/pypi/beets"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="MIT"
+IUSE="beatport bpd chroma convert doc discogs echonest_tempo lastgenre replaygain test web"
+
+RDEPEND="
+ dev-python/munkres[${PYTHON_USEDEP}]
+ >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
+ dev-python/unidecode[${PYTHON_USEDEP}]
+ >=media-libs/mutagen-0.22[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ beatport? ( dev-python/requests[${PYTHON_USEDEP}] )
+ bpd? ( dev-python/bluelet[${PYTHON_USEDEP}] )
+ chroma? ( dev-python/pyacoustid[${PYTHON_USEDEP}] )
+ convert? ( media-video/ffmpeg:0[encode] )
+ discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] )
+ doc? ( dev-python/sphinx )
+ echonest_tempo? ( dev-python/pyechonest[${PYTHON_USEDEP}] )
+ lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
+ replaygain? ( || ( media-sound/mp3gain media-sound/aacgain ) )
+ web? ( dev-python/flask[${PYTHON_USEDEP}] )
+"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # remove plugins that do not have appropriate dependencies installed
+ for flag in beatport bpd chroma convert discogs echonest_tempo lastgenre \
+ replaygain web;do
+ if ! use $flag ; then
+ rm -r beetsplug/$flag* || \
+ die "Unable to remove $flag plugin"
+ fi
+ done
+
+ for flag in bpd lastgenre web;do
+ if ! use $flag ; then
+ sed -i "s:'beetsplug.$flag',::" setup.py || \
+ die "Unable to disable $flag plugin "
+ fi
+ done
+
+ use bpd || rm -f test/test_player.py
+
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ cd test
+ "${PYTHON}" testall.py || die "Testsuite failed"
+}
+
+python_install_all() {
+ doman man/beet.1 man/beetsconfig.5
+
+ use doc && dohtml -r docs/_build/html/
+}