From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-sound/beets/Manifest | 9 +++ media-sound/beets/beets-1.3.13-r1.ebuild | 90 ++++++++++++++++++++++++++++++ media-sound/beets/beets-1.3.19.ebuild | 90 ++++++++++++++++++++++++++++++ media-sound/beets/beets-1.4.3.ebuild | 96 ++++++++++++++++++++++++++++++++ media-sound/beets/metadata.xml | 57 +++++++++++++++++++ 5 files changed, 342 insertions(+) create mode 100644 media-sound/beets/Manifest create mode 100644 media-sound/beets/beets-1.3.13-r1.ebuild create mode 100644 media-sound/beets/beets-1.3.19.ebuild create mode 100644 media-sound/beets/beets-1.4.3.ebuild create mode 100644 media-sound/beets/metadata.xml (limited to 'media-sound/beets') diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest new file mode 100644 index 000000000000..ed547e3c2391 --- /dev/null +++ b/media-sound/beets/Manifest @@ -0,0 +1,9 @@ +DIST beets-1.3.13.tar.gz 1269748 SHA256 6d973c3484079b22b7d281f771a97c03f9bb14bdd94f45b673f9d754875b2c59 SHA512 ffee7e16a115f16c26ab07a75e614746cd5871a7311660d37978deff34245f3aeab97b1a453fc0900442f40e6ac7d102c5adfce910edfec78387fc149fbea261 WHIRLPOOL 79b345612b04965aa6d4b7cc819d7ed1942b5686bf3990612f2c243dc47a2cfc3f15550f97ee30502ce42f4c24cf2ade27e9db6393f40022ffedf6842f4dc05c +DIST beets-1.3.19.tar.gz 1349402 SHA256 6b241e62764a9c4bf9bf570acacc4681d30513f0f2268faa5da494ec066c21ee SHA512 86d2bae8d047a81b7a21f3fc322bb23e383193004de02e8ba0641d564054b58c8828dd112ba437e6fb1d40d9b9521d00b7717c29f33b88b8b559cdbf0ca407ae WHIRLPOOL bb25144deff5234db04b9e18c7e4c0be15a754251671f7a5461731114023fac6b866bb0abe8275a4efa66d3eec0096081dc8ed3c3e029dc0270236c4dcb818c2 +DIST beets-1.4.3.tar.gz 1428494 SHA256 b93fbe11998a29cd432b0a88741b9ced0e5ac50e80362d41e13e867d851ae464 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d WHIRLPOOL 514aef47d59db4489d0bf48e9ed3a4e8c9a9e1d7dee2a8b1ecf0568bb319511c3bedec012cfa6270e5d5ef50ecc0befd17c908951df2da1875a5c4e088abab2b +EBUILD beets-1.3.13-r1.ebuild 2677 SHA256 16e4e7e17d37e4ac34a12bee6a08c2fbf74b0ab374d3c5510b90a18d6e99cca7 SHA512 6a683c225410602033eb85b8d5bc9616e0dde085f52c775beebe7f8bc4c15217def7934dd3101d2e6bc90c2d5ca3db8b6af351a958e08956d6ebd921ed08f539 WHIRLPOOL 0a522d342e32c089d3acef4b8154db54df23abdcdbb0af64e0c27ea68acf1191600e48320d7f289b684e0cf7bf1b6d2373fda5116dfe532de6a73b034507ec1e +EBUILD beets-1.3.19.ebuild 2746 SHA256 df968f56d0f4d927d7453025e21a2fc72df44cfab9273605bb9aa9a6e0b071fb SHA512 8c8926b6dbefafef6f7fde48450b1c721c7e2079baec64a2c75838b149ce1af5c31b6dafdd0d2b0063f3fc7a68f2d5da8af8389b3757959815dfa56deff44eb0 WHIRLPOOL 0535323227cc6eb1680dd73ca776b9a62c1f11e3299a39f2029a30c20bdddedd9d4bbb48be6237f656c86c0e1287b5c0cccd8670571ff9929a11c8bd943649a0 +EBUILD beets-1.4.3.ebuild 3066 SHA256 601b2f6b6a8d701ade5f6cd8b7bf156fd853ba22d34bb476bba2eafd37a262fc SHA512 489fe8cf53512859602a43dbd0d9cbf5188453acd3c61f911bf391670d8942b71a15a93ab9853c69faefaadffb92a8e7dba9435d4b746740586e5804a07dcea4 WHIRLPOOL 8c450ac2f65c3c04a6b4a9be378d347956f1907e8b9d6b79fc148223f6f60377ad0745603488e729283cce011bf7db4d5907e49e894926a969528916ca33bb6f +MISC ChangeLog 2761 SHA256 6df632a268b4f135486c31d6a34e53812c3b7265df531cfce6a6eca0c2d336b5 SHA512 397075bf4faeb6d697518cd6ec729f74a9be152517156731d45b20c5e810f3e17c3b1d020d3b898d24989cfcd6354c8131a62453743c2dd078047205ea3b09ab WHIRLPOOL f35935c0164a432e154dd686eb697fa26f5ba8bf1276fc97b3bb8df7c886ea114d62d617f95f4a321d16dc827cd86fdd9523d09de29bbb9041f2af7561683ebb +MISC ChangeLog-2015 4728 SHA256 292135f3c36b23a6002679950912cedf2d468a02bbeb91b3b6eeec0a1cf68704 SHA512 042f37e87992c5dca66e18c994a8cf33867814e038f5ebab2925863c0331c1a27556041c3f3088f282c47f46b3caf397d2dd98163af054b630f889b6604bd060 WHIRLPOOL 87b3890bb71c521061ad7d4a67f64fe08d583a7d0c23058ccc251153b616a5bf15ac3de91b87397f6a2107262cf79298f805609816c557611947e209aacd942e +MISC metadata.xml 2713 SHA256 ee3a43384fd6e572c9da55e1fe8c37b9aa17e449d7314e34f9c59436a323afc7 SHA512 0df7e29ad135bbfd5bb01b7efe34e378c0d56c8bba9535ca2fd93362d2c62c863c9bcbbbad6df37d1f1a31abb6f886fa9285b91852667ae15c1d2dd37472d941 WHIRLPOOL 3c4ec837f7112675e909c1a1db43b9416585fdcc22fd4b471487e926201d8034b379061c4184cd4959584f0ae39ea0b624c7c3c9cf90fb2a265034017709ec31 diff --git a/media-sound/beets/beets-1.3.13-r1.ebuild b/media-sound/beets/beets-1.3.13-r1.ebuild new file mode 100644 index 000000000000..2382db78d403 --- /dev/null +++ b/media-sound/beets/beets-1.3.13-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2016 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.radbox.org/ 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}] + >=media-libs/mutagen-1.27[${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() { + # requires removed package pyechonest, bug #587976 + rm beetsplug/echonest.py || die + + # 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/ +} diff --git a/media-sound/beets/beets-1.3.19.ebuild b/media-sound/beets/beets-1.3.19.ebuild new file mode 100644 index 000000000000..97f53817e3bb --- /dev/null +++ b/media-sound/beets/beets-1.3.19.ebuild @@ -0,0 +1,90 @@ +# 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.radbox.org/ https://pypi.python.org/pypi/beets" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MIT" +IUSE="badfiles 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/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}] + >=media-libs/mutagen-1.27[${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}] ) + 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 badfiles 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/ +} diff --git a/media-sound/beets/beets-1.4.3.ebuild b/media-sound/beets/beets-1.4.3.ebuild new file mode 100644 index 000000000000..80bae16a2efe --- /dev/null +++ b/media-sound/beets/beets-1.4.3.ebuild @@ -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/ +} diff --git a/media-sound/beets/metadata.xml b/media-sound/beets/metadata.xml new file mode 100644 index 000000000000..a6f2243141f4 --- /dev/null +++ b/media-sound/beets/metadata.xml @@ -0,0 +1,57 @@ + + + + + sound@gentoo.org + + + 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. + + + + Validate MP3 & FLAC files. + + + Enable support for media-sound/mpd server emulation + + Enable support for acoustic fingerprinting plugin using + media-libs/chromaprint + Enable support for the convert plugin which makes it + possible to transcode files + Enable support for the discogs API plugin + Enable support for importing music genres from + last.fm tags + Enable support for importing your last.fm playcounts + Enable support for collecting statistic about + listening habits from media-sound/mpd + Enable opus support in gstreamer-based replaygain + Enable support for Replay Gain metadata calculation + during import + Generate thumbnails for albums + + Enable embedded webserver support through dev-python/flask + + + + beets + + -- cgit v1.2.3