media-sound/beets: addition
mainly copies from main repo but newer versions Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
parent
58b49583ff
commit
1596e0825c
6 changed files with 461 additions and 0 deletions
82
media-sound/beets/ChangeLog
Normal file
82
media-sound/beets/ChangeLog
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
# ChangeLog for media-sound/beets
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# (auto-generated from git log)
|
||||||
|
|
||||||
|
*beets-1.3.13 (09 Aug 2015)
|
||||||
|
*beets-1.3.3-r1 (09 Aug 2015)
|
||||||
|
|
||||||
|
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +beets-1.3.3-r1.ebuild,
|
||||||
|
+beets-1.3.13.ebuild, +metadata.xml:
|
||||||
|
proj/gentoo: Initial commit
|
||||||
|
|
||||||
|
This commit represents a new era for Gentoo:
|
||||||
|
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
||||||
|
|
||||||
|
This commit is the start of the NEW history.
|
||||||
|
Any historical data is intended to be grafted onto this point.
|
||||||
|
|
||||||
|
Creation process:
|
||||||
|
1. Take final CVS checkout snapshot
|
||||||
|
2. Remove ALL ChangeLog* files
|
||||||
|
3. Transform all Manifests to thin
|
||||||
|
4. Remove empty Manifests
|
||||||
|
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
||||||
|
5.1. Do not touch files with -kb/-ko keyword flags.
|
||||||
|
|
||||||
|
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
||||||
|
tests
|
||||||
|
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
||||||
|
project
|
||||||
|
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
||||||
|
developer, wrote Git features for the migration
|
||||||
|
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
||||||
|
cvs2svn
|
||||||
|
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
||||||
|
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
||||||
|
work in migration
|
||||||
|
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
||||||
|
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
||||||
|
the bikeshed
|
||||||
|
|
||||||
|
24 Aug 2015; Justin Lecher <jlec@gentoo.org> beets-1.3.3-r1.ebuild,
|
||||||
|
beets-1.3.13.ebuild:
|
||||||
|
Use https by default
|
||||||
|
|
||||||
|
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||||
|
|
||||||
|
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||||
|
Use https by default
|
||||||
|
|
||||||
|
Convert all URLs for sites supporting encrypted connections from http to
|
||||||
|
https
|
||||||
|
|
||||||
|
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||||
|
|
||||||
|
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
||||||
|
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
||||||
|
|
||||||
|
repoman does not yet accept the https version.
|
||||||
|
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
||||||
|
|
||||||
|
Bug: https://bugs.gentoo.org/552720
|
||||||
|
|
||||||
|
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
||||||
|
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
||||||
|
|
||||||
|
*beets-1.3.13-r1 (10 Aug 2016)
|
||||||
|
|
||||||
|
10 Aug 2016; Michael Palimaka <kensington@gentoo.org>
|
||||||
|
+beets-1.3.13-r1.ebuild:
|
||||||
|
remove echonest USE flag
|
||||||
|
|
||||||
|
Gentoo-bug: 587976
|
||||||
|
|
||||||
|
Package-Manager: portage-2.3.0
|
||||||
|
|
||||||
|
10 Aug 2016; Michael Palimaka <kensington@gentoo.org>
|
||||||
|
-beets-1.3.3-r1.ebuild, -beets-1.3.13.ebuild, metadata.xml:
|
||||||
|
remove old
|
||||||
|
|
||||||
|
Package-Manager: portage-2.3.0
|
||||||
|
|
135
media-sound/beets/ChangeLog-2015
Normal file
135
media-sound/beets/ChangeLog-2015
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
# ChangeLog for media-sound/beets
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.26 2015/08/02 10:52:32 yngwin Exp $
|
||||||
|
|
||||||
|
*beets-1.3.13 (02 Aug 2015)
|
||||||
|
|
||||||
|
02 Aug 2015; Ben de Groot <yngwin@gentoo.org> +beets-1.3.13.ebuild,
|
||||||
|
metadata.xml:
|
||||||
|
Update based on ebuild from sdfg-overlay (bug #510988)
|
||||||
|
|
||||||
|
02 Aug 2015; Ben de Groot <yngwin@gentoo.org> metadata.xml:
|
||||||
|
Re-assign to sound herd. Reformat metadata.
|
||||||
|
|
||||||
|
04 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||||
|
Add pypi to remote-id in metadata.xml
|
||||||
|
|
||||||
|
18 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> -beets-1.3.3.ebuild:
|
||||||
|
old
|
||||||
|
|
||||||
|
*beets-1.3.3-r1 (13 May 2014)
|
||||||
|
|
||||||
|
13 May 2014; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.1.0.ebuild, -beets-1.3.1.ebuild, -beets-1.3.2.ebuild,
|
||||||
|
+beets-1.3.3-r1.ebuild, metadata.xml:
|
||||||
|
Fix dependencies for #504534 and #504534, add related use flags to
|
||||||
|
metadata. Cleanup unused older ebuilds.
|
||||||
|
|
||||||
|
05 May 2014; Stanislav Ochotnicky <sochotnicky@gentoo.org> metadata.xml:
|
||||||
|
Fix a typo in metadata
|
||||||
|
|
||||||
|
*beets-1.3.3 (10 Mar 2014)
|
||||||
|
|
||||||
|
10 Mar 2014; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
+beets-1.3.3.ebuild:
|
||||||
|
Version bump to beets 1.3.3
|
||||||
|
|
||||||
|
25 Jan 2014; Michael Palimaka <kensington@gentoo.org> beets-1.1.0.ebuild,
|
||||||
|
beets-1.3.1.ebuild, beets-1.3.2.ebuild:
|
||||||
|
Raise media-libs/mutagen dependency wrt bug #499240.
|
||||||
|
|
||||||
|
*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)
|
||||||
|
|
||||||
|
05 Nov 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.0.0.ebuild, +beets-1.3.1.ebuild, metadata.xml:
|
||||||
|
Version bump to 1.3.1, remove 1.0.0
|
||||||
|
|
||||||
|
20 Oct 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org> metadata.xml:
|
||||||
|
Move to maintainer-needed
|
||||||
|
|
||||||
|
11 Aug 2013; Alexis Ballier <aballier@gentoo.org> beets-1.0.0.ebuild,
|
||||||
|
beets-1.1.0.ebuild:
|
||||||
|
depend on ffmpeg:0
|
||||||
|
|
||||||
|
*beets-1.1.0 (08 Jun 2013)
|
||||||
|
|
||||||
|
08 Jun 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.1.0_beta3.ebuild, +beets-1.1.0.ebuild,
|
||||||
|
-files/0001-fix-VFS-tests.patch, -files/beets-1.0_rc2-test-namespace.patch:
|
||||||
|
Version bump from beta, remove patches included upstream
|
||||||
|
|
||||||
|
*beets-1.1.0_beta3 (06 Apr 2013)
|
||||||
|
|
||||||
|
06 Apr 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
+files/0001-fix-VFS-tests.patch, -beets-1.0_rc2.ebuild,
|
||||||
|
+beets-1.1.0_beta3.ebuild:
|
||||||
|
Bump media-sound/beets to 1.1.0_beta3, remove old version
|
||||||
|
|
||||||
|
Updated dependencies on more recent mutagen and python-musicbrainz-ngs
|
||||||
|
|
||||||
|
20 Feb 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org> beets-1.0.0.ebuild:
|
||||||
|
Fix up test patching for stable version
|
||||||
|
|
||||||
|
*beets-1.0.0 (19 Feb 2013)
|
||||||
|
|
||||||
|
19 Feb 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.0_beta15.ebuild, +beets-1.0.0.ebuild:
|
||||||
|
Version bump to latest stable release
|
||||||
|
|
||||||
|
03 Jan 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
+files/beets-1.0_rc2-test-namespace.patch, beets-1.0_rc2.ebuild:
|
||||||
|
Properly fix tests failing during update (#422685) We'd accidentally use
|
||||||
|
beetsplug modules from previous version when doing updates due to beets using
|
||||||
|
python namespaces (and portage not supporting them correctly). Thanks to
|
||||||
|
Arfrever for help with finding the root cause and proposing a fix
|
||||||
|
|
||||||
|
*beets-1.0_rc2 (02 Jan 2013)
|
||||||
|
|
||||||
|
02 Jan 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.0_beta14-r1.ebuild, +beets-1.0_rc2.ebuild, metadata.xml:
|
||||||
|
Version bump to 1.0_rc2, small ebuild cleanups
|
||||||
|
|
||||||
|
Thanks to Elias Probst for updated ebuild
|
||||||
|
|
||||||
|
*beets-1.0_beta15 (21 Aug 2012)
|
||||||
|
|
||||||
|
21 Aug 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
+beets-1.0_beta15.ebuild:
|
||||||
|
Version bump to 1.0b15
|
||||||
|
|
||||||
|
30 May 2012; Kacper Kowalik <xarthisius@gentoo.org>
|
||||||
|
beets-1.0_beta14-r1.ebuild:
|
||||||
|
Enable test, restrict python 2.5, add correct dependencies
|
||||||
|
|
||||||
|
29 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
-beets-1.0_beta14.ebuild, beets-1.0_beta14-r1.ebuild:
|
||||||
|
Install manpage (#418163) and optionally documentation. Remove first
|
||||||
|
version
|
||||||
|
|
||||||
|
29 May 2012; Jeff Horelick <jdhore@gentoo.org> beets-1.0_beta14-r1.ebuild:
|
||||||
|
Keyword ~x86
|
||||||
|
|
||||||
|
*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.
|
||||||
|
|
||||||
|
28 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
beets-1.0_beta14.ebuild:
|
||||||
|
Use string replacement for version to simplify future updates
|
||||||
|
|
||||||
|
*beets-1.0_beta14 (28 May 2012)
|
||||||
|
|
||||||
|
28 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
|
||||||
|
+beets-1.0_beta14.ebuild, +metadata.xml:
|
||||||
|
New ebuild for beets music organizer
|
2
media-sound/beets/Manifest
Normal file
2
media-sound/beets/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
DIST beets-1.4.3.tar.gz 1428494 SHA256 b93fbe11998a29cd432b0a88741b9ced0e5ac50e80362d41e13e867d851ae464 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d WHIRLPOOL 514aef47d59db4489d0bf48e9ed3a4e8c9a9e1d7dee2a8b1ecf0568bb319511c3bedec012cfa6270e5d5ef50ecc0befd17c908951df2da1875a5c4e088abab2b
|
||||||
|
DIST beets-1.4.4.tar.gz 1438180 SHA256 0bc4100e548d8b08cf9b09e163af3e274de2dab92b89af3b099b93749b38abb8 SHA512 186320b68695092042d1515465649e1dbab7c1394c2c164ac35539b5dfd7ed538f240f0e3f40d1b0937a3423bd4a74a0bf2c5dac3a828fb7a45c23c02a8671c8 WHIRLPOOL 109a68a77a4f231dcfa63d261d5f02dfc399079587beae8cf629d8102c550d08979ba7bc385a8f4a6aec6a66ce0b0ad85ffd9362e9853f737adbbd95219de84f
|
89
media-sound/beets/beets-1.4.3.ebuild
Normal file
89
media-sound/beets/beets-1.4.3.ebuild
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
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.io/ https://pypi.python.org/pypi/beets"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="MIT"
|
||||||
|
IUSE="bpd chroma convert doc discogs flac gstreamer lastgenre mpdstats
|
||||||
|
ogg opus replaygain test web"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jellyfish[${PYTHON_USEDEP}]
|
||||||
|
dev-python/munkres[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
>=media-libs/mutagen-1.33[${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[${PYTHON_USEDEP}] )
|
||||||
|
mpdstats? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
|
||||||
|
lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
|
||||||
|
replaygain? (
|
||||||
|
gstreamer? ( media-libs/gstreamer:1.0[introspection]
|
||||||
|
media-libs/gst-plugins-good:1.0
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||||
|
ogg? ( media-plugins/gst-plugins-ogg )
|
||||||
|
flac? ( media-plugins/gst-plugins-flac:1.0 )
|
||||||
|
opus? ( media-plugins/gst-plugins-opus:1.0 ) )
|
||||||
|
!gstreamer? ( || ( 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 bpd chroma convert discogs lastgenre mpdstats replaygain web; do
|
||||||
|
if ! use ${flag}; then
|
||||||
|
rm -r beetsplug/${flag}.py || \
|
||||||
|
rm -r beetsplug/${flag}/ ||
|
||||||
|
die "Unable to remove ${flag} plugin"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for flag in bpd lastgenre web; do
|
||||||
|
if ! use ${flag}; then
|
||||||
|
sed -e "s:'beetsplug.${flag}',::" -i 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
|
||||||
|
if ! use web; then
|
||||||
|
rm test_web.py || die "Failed to remove test_web.py"
|
||||||
|
fi
|
||||||
|
"${PYTHON}" testall.py || die "Testsuite failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
doman man/beet.1 man/beetsconfig.5
|
||||||
|
use doc && dohtml -r docs/_build/html/
|
||||||
|
}
|
96
media-sound/beets/beets-1.4.4.ebuild
Normal file
96
media-sound/beets/beets-1.4.4.ebuild
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
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.io/ https://pypi.python.org/pypi/beets"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="MIT"
|
||||||
|
IUSE="badfiles bpd chroma convert doc discogs flac gstreamer lastgenre lastimport mpdstats ogg opus replaygain test thumbnails web"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jellyfish[${PYTHON_USEDEP}]
|
||||||
|
dev-python/munkres[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.9[${PYTHON_USEDEP}]
|
||||||
|
>=media-libs/mutagen-1.33[${PYTHON_USEDEP}]
|
||||||
|
badfiles? ( media-sound/mp3val media-libs/flac )
|
||||||
|
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[${PYTHON_USEDEP}] )
|
||||||
|
mpdstats? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
|
||||||
|
lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
|
||||||
|
lastimport? ( dev-python/pylast[${PYTHON_USEDEP}] )
|
||||||
|
replaygain? (
|
||||||
|
gstreamer? ( media-libs/gstreamer:1.0[introspection]
|
||||||
|
media-libs/gst-plugins-good:1.0
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||||
|
ogg? ( media-plugins/gst-plugins-ogg )
|
||||||
|
flac? ( media-plugins/gst-plugins-flac:1.0 )
|
||||||
|
opus? ( media-plugins/gst-plugins-opus:1.0 ) )
|
||||||
|
!gstreamer? ( || ( media-sound/mp3gain media-sound/aacgain ) )
|
||||||
|
)
|
||||||
|
thumbnails? (
|
||||||
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pathlib[${PYTHON_USEDEP}]
|
||||||
|
|| ( dev-python/pillow[${PYTHON_USEDEP}] media-gfx/imagemagick )
|
||||||
|
)
|
||||||
|
web? ( dev-python/flask[${PYTHON_USEDEP}] dev-python/flask-cors[${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 bpd chroma convert discogs lastgenre lastimport mpdstats replaygain thumbnails web; do
|
||||||
|
if ! use ${flag}; then
|
||||||
|
rm -r beetsplug/${flag}.py || \
|
||||||
|
rm -r beetsplug/${flag}/ ||
|
||||||
|
die "Unable to remove ${flag} plugin"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for flag in bpd lastgenre web; do
|
||||||
|
if ! use ${flag}; then
|
||||||
|
sed -e "s:'beetsplug.${flag}',::" -i 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
|
||||||
|
if ! use web; then
|
||||||
|
rm test_web.py || die "Failed to remove test_web.py"
|
||||||
|
fi
|
||||||
|
"${PYTHON}" testall.py || die "Testsuite failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
doman man/beet.1 man/beetsconfig.5
|
||||||
|
use doc && dohtml -r docs/_build/html/
|
||||||
|
}
|
57
media-sound/beets/metadata.xml
Normal file
57
media-sound/beets/metadata.xml
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>sound@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
The purpose of beets is to get your music collection right once and for
|
||||||
|
all. It catalogs your collection, automatically improving its metadata as
|
||||||
|
it goes using the MusicBrainz database. (It also downloads cover art for
|
||||||
|
albums it imports.) Then it provides a bouquet of tools for manipulating
|
||||||
|
and accessing your music.
|
||||||
|
|
||||||
|
Because beets is designed as a library, it can do almost anything you can
|
||||||
|
imagine for your music collection. Via plugins, beets becomes a panacea:
|
||||||
|
* Embed and extract album art from files’ tags.
|
||||||
|
* Listen to your library with a music player that speaks the MPD protocol
|
||||||
|
and works with a staggering variety of interfaces.
|
||||||
|
* Fetch lyrics for all your songs from databases on the Web.
|
||||||
|
* Manage your MusicBrainz music collection.
|
||||||
|
* Analyze music files’ metadata from the command line.
|
||||||
|
* Clean up crufty tags left behind by other, less-awesome tools.
|
||||||
|
* Browse your music library graphically through a Web browser and play it
|
||||||
|
in any browser that supports HTML5 Audio.
|
||||||
|
|
||||||
|
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="badfiles">
|
||||||
|
Validate MP3 & FLAC files.
|
||||||
|
</flag>
|
||||||
|
<flag name="bpd">
|
||||||
|
Enable support for <pkg>media-sound/mpd</pkg> server emulation
|
||||||
|
</flag>
|
||||||
|
<flag name="chroma">Enable support for acoustic fingerprinting plugin using
|
||||||
|
<pkg>media-libs/chromaprint</pkg></flag>
|
||||||
|
<flag name="convert">Enable support for the convert plugin which makes it
|
||||||
|
possible to transcode files</flag>
|
||||||
|
<flag name="discogs">Enable support for the discogs API plugin</flag>
|
||||||
|
<flag name="lastgenre">Enable support for importing music genres from
|
||||||
|
last.fm tags</flag>
|
||||||
|
<flag name="lastimport">Enable support for importing your last.fm playcounts</flag>
|
||||||
|
<flag name="mpdstats">Enable support for collecting statistic about
|
||||||
|
listening habits from <pkg>media-sound/mpd</pkg></flag>
|
||||||
|
<flag name="opus">Enable opus support in gstreamer-based replaygain</flag>
|
||||||
|
<flag name="replaygain">Enable support for Replay Gain metadata calculation
|
||||||
|
during import</flag>
|
||||||
|
<flag name="thumbnails">Generate thumbnails for albums</flag>
|
||||||
|
<flag name="web">
|
||||||
|
Enable embedded webserver support through <pkg>dev-python/flask</pkg>
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">beets</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
Add table
Reference in a new issue