[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 50e927fa2aa8228583e67b1d371803fb55afd06f Author: Sam James gentoo org> AuthorDate: Tue May 28 22:00:43 2024 + Commit: Sam James gentoo org> CommitDate: Tue May 28 22:00:43 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e927fa media-sound/beets: Stabilize 1.7.0_pre20240501 ALLARCHES, #932992 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.7.0_pre20240501.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.7.0_pre20240501.ebuild b/media-sound/beets/beets-1.7.0_pre20240501.ebuild index 07eece0e631c..ae3fa77e2a88 100644 --- a/media-sound/beets/beets-1.7.0_pre20240501.ebuild +++ b/media-sound/beets/beets-1.7.0_pre20240501.ebuild @@ -24,7 +24,7 @@ else IS_VCS_SOURCE="yes" UPDATE_VERSION="yes" SRC_URI="https://github.com/beetbox/beets/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" S="${WORKDIR}/${PN}-${MY_COMMIT}" fi
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 4509b32d8a7c68252b4e24de187985867f7a6e5a Author: Matt Jolly gentoo org> AuthorDate: Thu May 23 07:50:33 2024 + Commit: Matt Jolly gentoo org> CommitDate: Thu May 23 07:50:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4509b32d media-sound/beets: Quote instances of ${S} Signed-off-by: Matt Jolly gentoo.org> media-sound/beets/beets-1.7.0_pre20240501.ebuild | 4 ++-- media-sound/beets/beets-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-1.7.0_pre20240501.ebuild b/media-sound/beets/beets-1.7.0_pre20240501.ebuild index cd2e96c3b30f..07eece0e631c 100644 --- a/media-sound/beets/beets-1.7.0_pre20240501.ebuild +++ b/media-sound/beets/beets-1.7.0_pre20240501.ebuild @@ -131,8 +131,8 @@ python_compile_all() { if [[ ${PV} == "" ]] || [[ ${IS_VCS_SOURCE} == "yes" ]]; then einfo "Building man pages" sphinx-build -b man docs docs/build/man || die "Failed to generate man pages" - mkdir ${S}/man || die - cp docs/build/man/{beet.1,beetsconfig.5} ${S}/man || die + mkdir "${S}/man" || die + cp docs/build/man/{beet.1,beetsconfig.5} "${S}/man" || die fi } diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 65e7d9973471..4bb022d375b0 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -129,8 +129,8 @@ python_compile_all() { if [[ ${PV} == "" ]] || [[ ${IS_VCS_SOURCE} == "yes" ]]; then einfo "Building man pages" sphinx-build -b man docs docs/build/man || die "Failed to generate man pages" - mkdir ${S}/man || die - cp docs/build/man/{beet.1,beetsconfig.5} ${S}/man || die + mkdir "${S}/man" || die + cp docs/build/man/{beet.1,beetsconfig.5} "${S}/man" || die fi }
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: ddb0475a2677d178669a9f6f53eb2bdf1ce77264 Author: Matt Jolly gentoo org> AuthorDate: Mon May 13 06:08:04 2024 + Commit: Matt Jolly gentoo org> CommitDate: Wed May 22 13:17:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb0475a media-sound/beets: add 1.7.0_pre20240501; update - Update metadata.xml to remove "smart" quotes - Skip failing bash completions test instead of patching it out. - add `sed` to drop some `addopts` that break pytest due to disabled code coverage testing. - Support py312 - Use PEP 517 - Add a proper VCS build path (any non-pypi build) - add `EPYTEST_XDIST=1` 1.7.0_pre release has been added to support py312; there were too many patches to sanely backport (and a lot of churn upstream). Upstream are gearing up for an actual 1.7.0 release, hopefully soon: https://github.com/beetbox/beets/discussions/4501#discussioncomment-9171769 Drop 'obsessive-compulsive' from the package description; upstream don't (or no longer) use this phrase to describe their package and we don't want or need phrasing like that in ::gentoo. Signed-off-by: Matt Jolly gentoo.org> media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.6.0-r1.ebuild| 2 +- ...-.ebuild => beets-1.7.0_pre20240501.ebuild} | 68 ++ media-sound/beets/beets-.ebuild| 60 --- media-sound/beets/metadata.xml | 6 +- 5 files changed, 116 insertions(+), 21 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 27f6f1a84bbe..7939d4065748 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,2 @@ DIST beets-1.6.0.tar.gz 1698333 BLAKE2B 7d3ded703524d5f8740a6adf3769a5752a1e47720ebf0653238f117e4ef6f97461abcd0c7a0d7f428c9848c95277070b5687f9007c04e47b07cdb22eca8c9cbf SHA512 b03759a2be7d3318b4f43cac09ada229cea6496774ba3dcdb1458427e41f6329a627241afc0bfaa9a91afb6818ba944ef6088e38c5635a3bfe730a6a8011a0dc +DIST beets-1.7.0_pre20240501.gh.tar.gz 2247319 BLAKE2B e215c8a2a30a44d298746351be4fa2de1cebb7d6aec2bc7dfc679b133ea5eddefec20d038aa1aa1d734b176c09163b93f917c6c29ea5115c4c2349e090c8c5df SHA512 f397c72b481d7d8822db598ab37c99d0b9063ae45455c0d34116fab7b5a4cc683a3357bdfe436181b1dea46ee05192cc37faf355b5e093d63c2e440e523b92bc diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index 5d407a5cc040..05075184f5f8 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -20,7 +20,7 @@ else S="${WORKDIR}/${MY_P}" fi -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +DESCRIPTION="Media library management system for obsessive music geeks" HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; LICENSE="MIT" diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-1.7.0_pre20240501.ebuild similarity index 55% copy from media-sound/beets/beets-.ebuild copy to media-sound/beets/beets-1.7.0_pre20240501.ebuild index 8c8520a503a4..cd2e96c3b30f 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-1.7.0_pre20240501.ebuild @@ -4,23 +4,31 @@ EAPI=8 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="sqlite" -inherit distutils-r1 bash-completion-r1 optfeature +# These envvars are used to treat github tarball builds differently +# from pypi sources. Enable where required +: ${IS_VCS_SOURCE="no"} +: ${UPDATE_VERSION="no"} + +inherit distutils-r1 bash-completion-r1 multiprocessing optfeature if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; inherit git-r3 else - inherit pypi - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} + MY_COMMIT=c75f07a0da6c622d3cd0f5aad0a08edaea360dad + # This should be set to 1 if we're not sourcing tarballs from pypi; we need to generate mans. + IS_VCS_SOURCE="yes" + UPDATE_VERSION="yes" + SRC_URI="https://github.com/beetbox/beets/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" + S="${WORKDIR}/${PN}-${MY_COMMIT}" fi -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +DESCRIPTION="Media library management system for obsessive music geeks" HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; LICENSE="MIT" @@ -82,10 +90,33 @@ BDEPEND=" ) ')" +# Beets uses sphinx to generate manpages; these are not available +# directly in VCS sources, only pypi tarballs, so handle the dependency +# here automagically. +if [[ ${PV} == "" ]] || [[ ${IS_VCS_SOURCE} == "yes" ]]; then + BDEPEND+=" + dev-python/sphinx + " +fi + DOCS=( README.rst
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 3fc773111252f544e508d1dd27b5ff0ee659e98e Author: Sam James gentoo org> AuthorDate: Wed May 8 21:32:38 2024 + Commit: Sam James gentoo org> CommitDate: Wed May 8 21:32:38 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc77311 media-sound/beets: fix build w/ USE=doc and >=sphinx-7 Closes: https://bugs.gentoo.org/927904 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0-r1.ebuild | 6 -- media-sound/beets/beets-.ebuild | 6 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index cdc5158e3f60..5d407a5cc040 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -98,7 +98,9 @@ python_prepare_all() { } python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build + if use doc ; then + sphinx-build -b html docs docs/build || die + fi } python_install_all() { diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 03d6d8352705..8c8520a503a4 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -91,7 +91,9 @@ python_prepare_all() { } python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build + if use doc ; then + sphinx-build -b html docs docs/build || die + fi } python_install_all() {
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, dev-python/python3-discogs-client/, profiles/updates/, ...
commit: d0e59733143cfda13aa5e47fa5f41543841a9ea7 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 20 06:13:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Jul 20 11:09:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e59733 Rename dev-python/{discogs-client → python3-discogs-client} Signed-off-by: Michał Górny gentoo.org> dev-python/{discogs-client => python3-discogs-client}/Manifest| 0 dev-python/{discogs-client => python3-discogs-client}/metadata.xml| 0 .../python3-discogs-client-2.6.ebuild}| 0 .../python3-discogs-client-.ebuild} | 0 media-sound/beets/beets-1.6.0-r1.ebuild | 4 ++-- media-sound/beets/beets-.ebuild | 4 ++-- profiles/updates/3Q-2023 | 1 + 7 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/discogs-client/Manifest b/dev-python/python3-discogs-client/Manifest similarity index 100% rename from dev-python/discogs-client/Manifest rename to dev-python/python3-discogs-client/Manifest diff --git a/dev-python/discogs-client/metadata.xml b/dev-python/python3-discogs-client/metadata.xml similarity index 100% rename from dev-python/discogs-client/metadata.xml rename to dev-python/python3-discogs-client/metadata.xml diff --git a/dev-python/discogs-client/discogs-client-2.6.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-2.6.ebuild similarity index 100% rename from dev-python/discogs-client/discogs-client-2.6.ebuild rename to dev-python/python3-discogs-client/python3-discogs-client-2.6.ebuild diff --git a/dev-python/discogs-client/discogs-client-.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-.ebuild similarity index 100% rename from dev-python/discogs-client/discogs-client-.ebuild rename to dev-python/python3-discogs-client/python3-discogs-client-.ebuild diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index ad37356ed27f..d9409a3e9605 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -54,7 +54,7 @@ BDEPEND=" dev-db/sqlite[icu] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/discogs-client[${PYTHON_USEDEP}] + dev-python/python3-discogs-client[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pyacoustid[${PYTHON_USEDEP}] @@ -115,7 +115,7 @@ python_install_all() { optfeature "badfiles support" "media-libs/flac media-sound/mp3val" optfeature "chromaprint support" "dev-python/pyacoustid media-libs/chromaprint[tools]" - optfeature "discogs support" dev-python/discogs-client + optfeature "discogs support" dev-python/python3-discogs-client optfeature "ffmpeg support" media-video/ffmpeg[encode] optfeature "gstreamer support" "media-libs/gst-plugins-bad media-libs/gst-plugins-good" optfeature "icu support" dev-db/sqlite[icu] diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 50b4628a8138..f4fc6c36c944 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -54,7 +54,7 @@ BDEPEND=" dev-db/sqlite[icu] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/discogs-client[${PYTHON_USEDEP}] + dev-python/python3-discogs-client[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pyacoustid[${PYTHON_USEDEP}] @@ -108,7 +108,7 @@ python_install_all() { optfeature "badfiles support" "media-libs/flac media-sound/mp3val" optfeature "chromaprint support" "dev-python/pyacoustid media-libs/chromaprint[tools]" - optfeature "discogs support" dev-python/discogs-client + optfeature "discogs support" dev-python/python3-discogs-client optfeature "ffmpeg support" media-video/ffmpeg[encode] optfeature "gstreamer support" "media-libs/gst-plugins-bad media-libs/gst-plugins-good" optfeature "icu support" dev-db/sqlite[icu] diff --git a/profiles/updates/3Q-2023 b/profiles/updates/3Q-2023 index 486718df8986..72f1e58a1ec1 100644 --- a/profiles/updates/3Q-2023 +++ b/profiles/updates/3Q-2023 @@ -1,2 +1,3 @@ move dev-python/charset_normalizer dev-python/charset-normalizer move dev-python/reedsolomon dev-python/reedsolo +move dev-python/discogs-client
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: ddc36e2719848e941859f0fe6a997993e15cc98b Author: Sam James gentoo org> AuthorDate: Fri Jul 14 12:03:20 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 14 12:03:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc36e27 media-sound/beets: add github upstream metadata Signed-off-by: Sam James gentoo.org> media-sound/beets/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/media-sound/beets/metadata.xml b/media-sound/beets/metadata.xml index 3ffd9212638c..36c57a9de9b8 100644 --- a/media-sound/beets/metadata.xml +++ b/media-sound/beets/metadata.xml @@ -34,5 +34,6 @@ beets +beetbox/beets
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 699a94cf8678c301bf0c2613f06222d3b1bade01 Author: Michał Górny gentoo org> AuthorDate: Sat May 20 06:04:02 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat May 20 06:21:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699a94cf media-sound/beets: Remove old Signed-off-by: Michał Górny gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 129 --- 1 file changed, 129 deletions(-) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild deleted file mode 100644 index 3cefeff68ba4.. --- a/media-sound/beets/beets-1.6.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{9..10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 bash-completion-r1 optfeature - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] - dev-python/munkres[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - >=dev-python/python-musicbrainzngs-0.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - dev-python/reflink[${PYTHON_USEDEP}] - dev-python/confuse[${PYTHON_USEDEP}] - dev-python/mediafile[${PYTHON_USEDEP}] - ')" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( - dev-python/sphinx - ) - $(python_gen_cond_dep ' - test? ( - dev-db/sqlite[icu] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/discogs-client[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyacoustid[${PYTHON_USEDEP}] - dev-python/pylast[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-mpd2[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/reflink[${PYTHON_USEDEP}] - || ( - dev-python/pillow[${PYTHON_USEDEP}] - media-gfx/imagemagick - ) - dev-python/rarfile[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - media-libs/chromaprint[tools] - media-libs/flac - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - media-sound/mp3val - media-sound/mp3gain - media-plugins/gst-plugins-libav:1.0 - media-video/ffmpeg:0[encode] - app-shells/bash-completion - ) - ')" - -PATCHES=( - "${FILESDIR}/${PV}-0001-Remove-test_completion.patch" - "${FILESDIR}/${PV}-sphinx-6.patch" - "${FILESDIR}/${PV}-mediafile-test.patch" - "${FILESDIR}/${PV}-unicode-test.patch" -) - -DOCS=( README.rst docs/changelog.rst ) - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build -} - -python_install_all() { - distutils-r1_python_install_all - - doman man/* - use doc && local HTML_DOCS=( docs/build/html/. ) - einstalldocs - - ${PYTHON} "${ED}/usr/bin/beet" completion > "${T}/beet.bash" || die - newbashcomp "${T}/beet.bash" beet - insinto /usr/share/zsh/site-functions - newins "${WORKDIR}/${P}/extra/_beet" _beet - - optfeature "badfiles support" "media-libs/flac media-sound/mp3val" - optfeature "chromaprint support" "dev-python/pyacoustid media-libs/chromaprint[tools]" - optfeature "discogs support" dev-python/discogs-client
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 9aeeada847af3c7f90b39dc3140fc66f6e785b67 Author: Sam James gentoo org> AuthorDate: Mon May 1 00:34:04 2023 + Commit: Sam James gentoo org> CommitDate: Mon May 1 00:34:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aeeada8 media-sound/beets: Stabilize 1.6.0-r1 amd64, #904608 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index bce597e6624d..ad37356ed27f 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -16,7 +16,7 @@ else inherit pypi MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 0c1647e7a1c8ee478781bf11930b24dc46ce4553 Author: Sam James gentoo org> AuthorDate: Mon May 1 00:19:31 2023 + Commit: Sam James gentoo org> CommitDate: Mon May 1 00:19:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1647e7 media-sound/beets: mark ALLARCHES Signed-off-by: Sam James gentoo.org> media-sound/beets/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/media-sound/beets/metadata.xml b/media-sound/beets/metadata.xml index 89b2967c010f..3ffd9212638c 100644 --- a/media-sound/beets/metadata.xml +++ b/media-sound/beets/metadata.xml @@ -31,6 +31,7 @@ If beets doesn’t do what you want yet, writing your own plugin is shockingly simple if you know a little Python. + beets
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/
commit: 5985a749414f3184f62a31ee6b3c9fd6d4cff538 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Feb 25 08:02:41 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Feb 25 08:09:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5985a749 media-sound/beets: remove unused patches Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/29783 Signed-off-by: Joonas Niilola gentoo.org> ...ty-with-breaking-changes-to-the-ast-modul.patch | 53 .../files/1.4.9-0002-Disable-test_completion.patch | 74 ...0003-Try-to-work-around-a-Werkzeug-change.patch | 25 ...place-discogs-client-with-python3-discogs.patch | 134 - .../files/1.5.0-0001-Remove-test_completion.patch | 74 5 files changed, 360 deletions(-) diff --git a/media-sound/beets/files/1.4.9-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch b/media-sound/beets/files/1.4.9-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch deleted file mode 100644 index f9268b17ca64.. --- a/media-sound/beets/files/1.4.9-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 86af366abab51b45ad1b06d330d384bc810e45c9 Mon Sep 17 00:00:00 2001 -From: wisp3rwind <17089248+wisp3rw...@users.noreply.github.com> -Date: Tue, 9 Jun 2020 19:34:31 +0200 -Subject: [PATCH] compatibility with breaking changes to the ast module - -new in 3.10, also backported to 3.8 and 3.9: https://github.com/python/cpython/pull/20649 -In fact, our generation of some Literals has been invalid since Python -3.4, fix that too. - beets/util/functemplate.py | 29 ++-- - docs/changelog.rst | 275 - - 2 files changed, 294 insertions(+), 10 deletions(-) - -diff --git a/beets/util/functemplate.py b/beets/util/functemplate.py -index af22b790..266534a9 100644 a/beets/util/functemplate.py -+++ b/beets/util/functemplate.py -@@ -73,15 +73,26 @@ def ex_literal(val): - """An int, float, long, bool, string, or None literal with the given - value. - """ --if val is None: --return ast.Name('None', ast.Load()) --elif isinstance(val, six.integer_types): --return ast.Num(val) --elif isinstance(val, bool): --return ast.Name(bytes(val), ast.Load()) --elif isinstance(val, six.string_types): --return ast.Str(val) --raise TypeError(u'no literal for {0}'.format(type(val))) -+if sys.version_info[:2] < (3, 4): -+if val is None: -+return ast.Name('None', ast.Load()) -+elif isinstance(val, six.integer_types): -+return ast.Num(val) -+elif isinstance(val, bool): -+return ast.Name(bytes(val), ast.Load()) -+elif isinstance(val, six.string_types): -+return ast.Str(val) -+raise TypeError(u'no literal for {0}'.format(type(val))) -+elif sys.version_info[:2] < (3, 6): -+if val in [None, True, False]: -+return ast.NameConstant(val) -+elif isinstance(val, six.integer_types): -+return ast.Num(val) -+elif isinstance(val, six.string_types): -+return ast.Str(val) -+raise TypeError(u'no literal for {0}'.format(type(val))) -+else: -+return ast.Constant(val) - - - def ex_varassign(name, expr): diff --git a/media-sound/beets/files/1.4.9-0002-Disable-test_completion.patch b/media-sound/beets/files/1.4.9-0002-Disable-test_completion.patch deleted file mode 100644 index c60e24d65898.. --- a/media-sound/beets/files/1.4.9-0002-Disable-test_completion.patch +++ /dev/null @@ -1,74 +0,0 @@ -From f6258c2ff3f3f979d72c149e44f4eecb02cb10a2 Mon Sep 17 00:00:00 2001 -From: Guillaume Seren -Date: Tue, 29 Sep 2020 16:46:06 +0200 -Subject: [PATCH] Disable test_completion - -Know issue by upstream https://github.com/beetbox/beets/issues/1876 - test/test_ui.py | 50 - - 1 file changed, 50 deletions(-) - -diff --git a/test/test_ui.py b/test/test_ui.py -index 8267c9be..bcb6c3bf 100644 a/test/test_ui.py -+++ b/test/test_ui.py -@@ -1167,56 +1167,6 @@ class PluginTest(_common.TestCase, TestHelper): - self.run_command('test', lib=None) - - --@_common.slow_test() --class CompletionTest(_common.TestCase, TestHelper): --def test_completion(self): --# Load plugin commands --config['pluginpath'] = [_common.PLUGINPATH] --config['plugins'] = ['test'] -- --# Do not load any other bash completion scripts on the system. --env = dict(os.environ) --env['BASH_COMPLETION_DIR'] = os.devnull --env['BASH_COMPLETION_COMPAT_DIR'] = os.devnull -- --# Open a `bash` process to run the tests in. We'll pipe in bash --# commands via stdin. --cmd = os.environ.get('BEETS_TEST_SHELL',
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: e41017d16f418f6296c4cf1804bef85fcf05fa87 Author: Sam James gentoo org> AuthorDate: Wed Feb 22 16:02:40 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 16:02:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41017d1 media-sound/beets: sync live Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 4a287f4d8012..56865ec32e82 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 bash-completion-r1 optfeature
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: b81ca38c34d5e22892971d3850903e9f4ba8aa06 Author: Sam James gentoo org> AuthorDate: Wed Feb 22 16:02:09 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 16:02:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81ca38c media-sound/beets: use pypi.eclass Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0-r1.ebuild | 2 +- media-sound/beets/beets-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index dbc429fae351..b44ef5dfddaf 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -13,9 +13,9 @@ if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; inherit git-r3 else + inherit pypi MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_P}" fi diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index e254cb752d66..4a287f4d8012 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -13,9 +13,9 @@ if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; inherit git-r3 else + inherit pypi MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: f8ed169a566253438f7dcff95aa6856546031189 Author: Petr Vaněk atlas cz> AuthorDate: Wed Feb 22 15:20:53 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 15:59:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8ed169a media-sound/beets: drop 1.4.9-r6, 1.5.0-r2 Signed-off-by: Petr Vaněk atlas.cz> Signed-off-by: Sam James gentoo.org> media-sound/beets/Manifest | 2 - media-sound/beets/beets-1.4.9-r6.ebuild | 135 media-sound/beets/beets-1.5.0-r2.ebuild | 126 - 3 files changed, 263 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 50daf64c1bd6..27f6f1a84bbe 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,3 +1 @@ -DIST beets-1.4.9.tar.gz 1494459 BLAKE2B 2daf77caf395143813c8b288fc376b5aec01d49281d40ba5942daf9941891146d698a1517ced958e480c6f253eadb6a7e09029e079c97e6cc17d44ac18fa0e7b SHA512 616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a -DIST beets-1.5.0.tar.gz 1694845 BLAKE2B e4a4ad880edcc396170bca9e7d04548f22a55eac22481d2babca0d2ca71237ed0509bf9be9af12343b0d1b555e9726446e5d61e637312a4808eece5ce0302f33 SHA512 447b01dc750a69d0a33d271774f3bd3b997a203d80c220c1a961f9a8e30420d263b1e2a4682d25ff7b02e1e85155f42186cb0d3bf27ebc8c2777f68e197d4018 DIST beets-1.6.0.tar.gz 1698333 BLAKE2B 7d3ded703524d5f8740a6adf3769a5752a1e47720ebf0653238f117e4ef6f97461abcd0c7a0d7f428c9848c95277070b5687f9007c04e47b07cdb22eca8c9cbf SHA512 b03759a2be7d3318b4f43cac09ada229cea6496774ba3dcdb1458427e41f6329a627241afc0bfaa9a91afb6818ba944ef6088e38c5635a3bfe730a6a8011a0dc diff --git a/media-sound/beets/beets-1.4.9-r6.ebuild b/media-sound/beets/beets-1.4.9-r6.ebuild deleted file mode 100644 index b394af784457.. --- a/media-sound/beets/beets-1.4.9-r6.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_9 ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 bash-completion-r1 optfeature - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] - dev-python/munkres[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - >=dev-python/python-musicbrainzngs-0.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - ')" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( - dev-python/sphinx - ) - $(python_gen_cond_dep ' - test? ( - dev-db/sqlite[icu] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/discogs-client[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyacoustid[${PYTHON_USEDEP}] - dev-python/pylast[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-mpd[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - || ( - dev-python/pillow[${PYTHON_USEDEP}] - media-gfx/imagemagick - ) - dev-python/rarfile[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - media-libs/chromaprint[tools] - media-libs/flac - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - media-sound/mp3val - media-sound/mp3gain - media-plugins/gst-plugins-libav:1.0 - media-video/ffmpeg:0[encode] -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: c3170a5d7b7b045a01046c63b8b749d0a7f26041 Author: Petr Vaněk atlas cz> AuthorDate: Wed Feb 22 15:23:50 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 15:59:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3170a5d media-sound/beets: update EAPI 7 -> 8, enable py3.11 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29723 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0-r1.ebuild | 129 1 file changed, 129 insertions(+) diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild new file mode 100644 index ..dbc429fae351 --- /dev/null +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + >=dev-python/python-musicbrainzngs-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/discogs-client[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyacoustid[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + media-sound/mp3val + media-sound/mp3gain + media-plugins/gst-plugins-libav:1.0 + media-video/ffmpeg:0[encode] + app-shells/bash-completion + ) + ')" + +PATCHES=( + "${FILESDIR}/${PV}-0001-Remove-test_completion.patch" + "${FILESDIR}/${PV}-sphinx-6.patch" + "${FILESDIR}/${PV}-mediafile-test.patch" + "${FILESDIR}/${PV}-unicode-test.patch" +) + +DOCS=( README.rst docs/changelog.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx -b html --build-dir=docs/build +} + +python_install_all() { + distutils-r1_python_install_all + + doman man/* + use doc && local HTML_DOCS=( docs/build/html/. ) + einstalldocs + + ${PYTHON} "${ED}/usr/bin/beet" completion > "${T}/beet.bash" || die + newbashcomp "${T}/beet.bash" beet + insinto /usr/share/zsh/site-functions + newins "${WORKDIR}/${P}/extra/_beet" _beet + + optfeature "badfiles support" "media-libs/flac media-sound/mp3val" + optfeature "chromaprint support"
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, media-sound/beets/files/
commit: 9d611ed29750cf1035eb1a77f5097c69bb0573d5 Author: Petr Vaněk atlas cz> AuthorDate: Wed Feb 22 15:16:44 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 15:59:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d611ed2 media-sound/beets: Fix tests Few tests were failing because of changes in dependencies, namely in dev-python/mediafile and dev-python/unidecode. Closes: https://bugs.gentoo.org/876427 Closes: https://bugs.gentoo.org/895862 Signed-off-by: Petr Vaněk atlas.cz> Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 2 + media-sound/beets/files/1.6.0-mediafile-test.patch | 41 +++ media-sound/beets/files/1.6.0-unicode-test.patch | 47 ++ 3 files changed, 90 insertions(+) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index 4fc0ecd49e53..d27548ed87e2 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -85,6 +85,8 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PV}-0001-Remove-test_completion.patch" "${FILESDIR}/${PV}-sphinx-6.patch" + "${FILESDIR}/${PV}-mediafile-test.patch" + "${FILESDIR}/${PV}-unicode-test.patch" ) DOCS=( README.rst docs/changelog.rst ) diff --git a/media-sound/beets/files/1.6.0-mediafile-test.patch b/media-sound/beets/files/1.6.0-mediafile-test.patch new file mode 100644 index ..0feb8be7c98d --- /dev/null +++ b/media-sound/beets/files/1.6.0-mediafile-test.patch @@ -0,0 +1,41 @@ +used to work due to inconsistent mediafile implementation, but with +https://github.com/beetbox/mediafile/pull/64 (in mediafile >= 0.11.0) +list fields are None if non-existent, not the empty list + +Upstream-PR: https://github.com/beetbox/beets/pull/4593 + +diff --git a/test/test_embedart.py b/test/test_embedart.py +index 6b6d616..bc550a8 100644 +--- a/test/test_embedart.py b/test/test_embedart.py +@@ -81,7 +81,7 @@ class EmbedartCliTest(_common.TestCase, TestHelper): + self.run_command('embedart', '-f', self.small_artpath) + mediafile = MediaFile(syspath(item.path)) + # make sure that images array is empty (nothing embedded) +-self.assertEqual(len(mediafile.images), 0) ++self.assertFalse(mediafile.images) + + def test_embed_art_from_file(self): + self._setup_data() +@@ -202,7 +202,7 @@ class EmbedartCliTest(_common.TestCase, TestHelper): + self.io.addinput('y') + self.run_command('clearart') + mediafile = MediaFile(syspath(item.path)) +-self.assertEqual(len(mediafile.images), 0) ++self.assertFalse(mediafile.images) + + def test_clear_art_with_no_input(self): + self._setup_data() +diff --git a/test/test_zero.py b/test/test_zero.py +index c4c1769..b48367b 100644 +--- a/test/test_zero.py b/test/test_zero.py +@@ -103,7 +103,7 @@ class ZeroPluginTest(unittest.TestCase, TestHelper): + item.write() + + mf = MediaFile(syspath(path)) +-self.assertEqual(0, len(mf.images)) ++self.assertFalse(mf.images) + + def test_auto_false(self): + self.config['zero']['fields'] = ['year'] diff --git a/media-sound/beets/files/1.6.0-unicode-test.patch b/media-sound/beets/files/1.6.0-unicode-test.patch new file mode 100644 index ..8b69e09557c9 --- /dev/null +++ b/media-sound/beets/files/1.6.0-unicode-test.patch @@ -0,0 +1,47 @@ +Unidecode 1.3.5 (a yanked PyPI version) changed the behavior of +Unidecode for some specific characters: + +> Remove trailing space in replacements for vulgar fractions. + +As luck would have it, our tests used the 1/2 character specifically to +test the behavior when these characters decoded to contain slashes. We +now pin a sufficiently recent version of Unidecode and adapt the tests +to match the new behavior. + +Upstream-Commit: https://github.com/beetbox/beets/commit/5ae1e0f3c8d3a450cb39f7933aa49bb78c2bc0d9 + +diff --git a/setup.py b/setup.py +index 264bb2e..69eb987 100755 +--- a/setup.py b/setup.py +@@ -85,7 +85,7 @@ setup( + }, + + install_requires=[ +-'unidecode', ++'unidecode>=1.3.6', + 'musicbrainzngs>=0.4', + 'pyyaml', + 'mediafile>=0.2.0', +diff --git a/test/test_library.py b/test/test_library.py +index 667d92c..b1cb579 100644 +--- a/test/test_library.py b/test/test_library.py +@@ -441,7 +441,7 @@ class DestinationTest(_common.TestCase): + self.lib.directory = b'lib' + self.lib.path_formats = [('default', '$title')] + self.i.title = 'ab\xa2\xbdd' +-self.assertEqual(self.i.destination(), np('lib/abC_ 1_2 d')) ++self.assertEqual(self.i.destination(), np('lib/abC_ 1_2d')) + + def test_destination_with_replacements(self): + self.lib.directory = b'base' +@@ -637,7 +637,7 @@ class DestinationFunctionTest(_common.TestCase, PathFormattingMixin): +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: a3634bca07cf0209ddaed3c88f9ddc06af60046b Author: Sam James gentoo org> AuthorDate: Fri Jan 13 10:13:48 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jan 13 10:17:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3634bca media-sound/beets: fix build w/ sphinx 6 Closes: https://bugs.gentoo.org/889460 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 3 ++- media-sound/beets/files/1.6.0-sphinx-6.patch | 28 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index 4550e6da0e11..e4ae0a196374 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -84,6 +84,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PV}-0001-Remove-test_completion.patch" + "${FILESDIR}/${PV}-sphinx-6.patch" ) DOCS=( README.rst docs/changelog.rst ) diff --git a/media-sound/beets/files/1.6.0-sphinx-6.patch b/media-sound/beets/files/1.6.0-sphinx-6.patch new file mode 100644 index ..d946e93b76b8 --- /dev/null +++ b/media-sound/beets/files/1.6.0-sphinx-6.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/889460 +https://github.com/beetbox/beets/commit/2106f471affd1dab35b4b26187b9c74d034528c5 + +From 2106f471affd1dab35b4b26187b9c74d034528c5 Mon Sep 17 00:00:00 2001 +From: Jack Wilsdon +Date: Sat, 31 Dec 2022 14:23:34 + +Subject: [PATCH] Add missing placeholders to extlinks captions + +Sphinx 6.0.0 changed extlinks to always require placeholders in link +captions. See https://github.com/sphinx-doc/sphinx/commit/93cf1a57d916a1ff96c8e8a0356d0256e40489ac +--- a/docs/conf.py b/docs/conf.py +@@ -18,10 +18,10 @@ + + # External links to the bug tracker and other sites. + extlinks = { +-'bug': ('https://github.com/beetbox/beets/issues/%s', '#'), +-'user': ('https://github.com/%s', ''), +-'pypi': ('https://pypi.org/project/%s/', ''), +-'stdlib': ('https://docs.python.org/3/library/%s.html', ''), ++'bug': ('https://github.com/beetbox/beets/issues/%s', '#%s'), ++'user': ('https://github.com/%s', '%s'), ++'pypi': ('https://pypi.org/project/%s/', '%s'), ++'stdlib': ('https://docs.python.org/3/library/%s.html', '%s'), + } + + linkcheck_ignore = [ +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: ad66b4f7d6ce74a60d6efd3492fadd02baf68e95 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jun 22 13:21:57 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jun 22 13:22:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad66b4f7 media-sound/beets: amd64 stable wrt bug #826694 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index a61642447839..4550e6da0e11 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -16,7 +16,7 @@ else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 25495a30f974929150b44a651aa3a4f53eeef275 Author: Sam James gentoo org> AuthorDate: Tue Jun 21 06:40:40 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 21 06:40:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25495a30 media-sound/beets: sync live Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index d7df175f13f4..870844e4cb0a 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 bash-completion-r1 optfeature @@ -16,7 +16,7 @@ else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_P}" fi @@ -37,7 +37,6 @@ RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/requests-oauthlib[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] dev-python/reflink[${PYTHON_USEDEP}] dev-python/confuse[${PYTHON_USEDEP}] @@ -63,6 +62,7 @@ BDEPEND=" dev-python/pygobject:3[${PYTHON_USEDEP}] dev-python/python-mpd[${PYTHON_USEDEP}] dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] || ( dev-python/pillow[${PYTHON_USEDEP}] media-gfx/imagemagick
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: c7618189f49ee572f949b92be7481801ea7aae06 Author: Sam James gentoo org> AuthorDate: Tue Jun 21 05:33:15 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 21 05:33:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7618189 media-sound/beets: add missing test dep Closes: https://bugs.gentoo.org/850574 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index 24d64828bfa2..a61642447839 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -62,6 +62,7 @@ BDEPEND=" dev-python/pygobject:3[${PYTHON_USEDEP}] dev-python/python-mpd[${PYTHON_USEDEP}] dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] || ( dev-python/pillow[${PYTHON_USEDEP}] media-gfx/imagemagick
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 11083bf1c402c8a804ec34188a35e6cca7d7e1cd Author: Andres Becerra gmail com> AuthorDate: Tue Jun 7 14:21:01 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 21:09:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11083bf1 media-sound/beets: add python-3.10 Closes: https://bugs.gentoo.org/850250 Closes: https://github.com/gentoo/gentoo/pull/25792 Tested-by: Andrés Becerra gmail.com> Signed-off-by: Andrés Becerra gmail.com> Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index 37b074a88990..24d64828bfa2 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 bash-completion-r1 optfeature
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 23b965c9bce2312a3fe587789d2c05e1056e20ea Author: Jakov Smolić gentoo org> AuthorDate: Sun Feb 13 22:59:37 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Feb 13 22:59:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b965c9 media-sound/beets: Keyword 1.6.0 x86, #820896 Signed-off-by: Jakov Smolić gentoo.org> media-sound/beets/beets-1.6.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild index 77fc9c07cd2b..37b074a88990 100644 --- a/media-sound/beets/beets-1.6.0.ebuild +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, media-sound/beets/files/
commit: dd4c5419fe970eea708ddc18de1c451c83e2 Author: Arsen Arsenović aarsen me> AuthorDate: Sun Nov 28 23:31:51 2021 + Commit: Sam James gentoo org> CommitDate: Wed Dec 1 21:33:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4c541c media-sound/beets: bump to 1.6.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Arsen Arsenović aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/23111 Signed-off-by: Sam James gentoo.org> media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.6.0.ebuild | 125 + .../files/1.6.0-0001-Remove-test_completion.patch | 74 3 files changed, 200 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 2ef455a86dc7..50daf64c1bd6 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,2 +1,3 @@ DIST beets-1.4.9.tar.gz 1494459 BLAKE2B 2daf77caf395143813c8b288fc376b5aec01d49281d40ba5942daf9941891146d698a1517ced958e480c6f253eadb6a7e09029e079c97e6cc17d44ac18fa0e7b SHA512 616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a DIST beets-1.5.0.tar.gz 1694845 BLAKE2B e4a4ad880edcc396170bca9e7d04548f22a55eac22481d2babca0d2ca71237ed0509bf9be9af12343b0d1b555e9726446e5d61e637312a4808eece5ce0302f33 SHA512 447b01dc750a69d0a33d271774f3bd3b997a203d80c220c1a961f9a8e30420d263b1e2a4682d25ff7b02e1e85155f42186cb0d3bf27ebc8c2777f68e197d4018 +DIST beets-1.6.0.tar.gz 1698333 BLAKE2B 7d3ded703524d5f8740a6adf3769a5752a1e47720ebf0653238f117e4ef6f97461abcd0c7a0d7f428c9848c95277070b5687f9007c04e47b07cdb22eca8c9cbf SHA512 b03759a2be7d3318b4f43cac09ada229cea6496774ba3dcdb1458427e41f6329a627241afc0bfaa9a91afb6818ba944ef6088e38c5635a3bfe730a6a8011a0dc diff --git a/media-sound/beets/beets-1.6.0.ebuild b/media-sound/beets/beets-1.6.0.ebuild new file mode 100644 index ..77fc9c07cd2b --- /dev/null +++ b/media-sound/beets/beets-1.6.0.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + >=dev-python/python-musicbrainzngs-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/discogs-client[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyacoustid[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 28f4d7376b7681dad0933912d657d69ffe9deb95 Author: Sam James gentoo org> AuthorDate: Sun Oct 31 18:29:02 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 18:29:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f4d737 media-sound/beets: fix dependencies deux Bug: https://bugs.gentoo.org/821064 Closes: https://bugs.gentoo.org/821109 Signed-off-by: Sam James gentoo.org> media-sound/beets/{beets-1.5.0-r1.ebuild => beets-1.5.0-r2.ebuild} | 6 +++--- media-sound/beets/beets-.ebuild| 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/media-sound/beets/beets-1.5.0-r1.ebuild b/media-sound/beets/beets-1.5.0-r2.ebuild similarity index 96% rename from media-sound/beets/beets-1.5.0-r1.ebuild rename to media-sound/beets/beets-1.5.0-r2.ebuild index ae9ee9e9119..f6df11983c6 100644 --- a/media-sound/beets/beets-1.5.0-r1.ebuild +++ b/media-sound/beets/beets-1.5.0-r2.ebuild @@ -39,6 +39,9 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] >=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] ')" DEPEND=" ${RDEPEND} @@ -67,9 +70,6 @@ BDEPEND=" dev-python/rarfile[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] - dev-python/reflink[${PYTHON_USEDEP}] - dev-python/confuse[${PYTHON_USEDEP}] - dev-python/mediafile[${PYTHON_USEDEP}] media-libs/chromaprint[tools] media-libs/flac media-libs/gst-plugins-bad:1.0 diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 9d0e8ddd174..d7df175f13f 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -39,6 +39,9 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] >=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] ')" DEPEND=" ${RDEPEND} @@ -67,9 +70,6 @@ BDEPEND=" dev-python/rarfile[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] - dev-python/reflink[${PYTHON_USEDEP}] - dev-python/confuse[${PYTHON_USEDEP}] - dev-python/mediafile[${PYTHON_USEDEP}] media-libs/chromaprint[tools] media-libs/flac media-libs/gst-plugins-bad:1.0
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 11c5753ba80a1fe7a362aece48c22a7593f8dafb Author: Sam James gentoo org> AuthorDate: Sun Oct 31 08:45:54 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 08:45:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c5753b media-sound/beets: fix dependencies Closes: https://bugs.gentoo.org/820935 Signed-off-by: Sam James gentoo.org> .../beets/{beets-1.5.0.ebuild => beets-1.5.0-r1.ebuild} | 6 +++--- media-sound/beets/beets-.ebuild | 13 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/media-sound/beets/beets-1.5.0.ebuild b/media-sound/beets/beets-1.5.0-r1.ebuild similarity index 96% rename from media-sound/beets/beets-1.5.0.ebuild rename to media-sound/beets/beets-1.5.0-r1.ebuild index aa73a47719c..ae9ee9e9119 100644 --- a/media-sound/beets/beets-1.5.0.ebuild +++ b/media-sound/beets/beets-1.5.0-r1.ebuild @@ -67,6 +67,9 @@ BDEPEND=" dev-python/rarfile[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] media-libs/chromaprint[tools] media-libs/flac media-libs/gst-plugins-bad:1.0 @@ -76,9 +79,6 @@ BDEPEND=" media-plugins/gst-plugins-libav:1.0 media-video/ffmpeg:0[encode] app-shells/bash-completion - dev-python/reflink - dev-python/confuse - dev-python/mediafile ) ')" diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 7d299524043..9d0e8ddd174 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -44,7 +44,9 @@ DEPEND=" ${RDEPEND} " BDEPEND=" - dev-python/sphinx + doc? ( + dev-python/sphinx + ) $(python_gen_cond_dep ' test? ( dev-db/sqlite[icu] @@ -65,6 +67,9 @@ BDEPEND=" dev-python/rarfile[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] + dev-python/reflink[${PYTHON_USEDEP}] + dev-python/confuse[${PYTHON_USEDEP}] + dev-python/mediafile[${PYTHON_USEDEP}] media-libs/chromaprint[tools] media-libs/flac media-libs/gst-plugins-bad:1.0 @@ -74,9 +79,6 @@ BDEPEND=" media-plugins/gst-plugins-libav:1.0 media-video/ffmpeg:0[encode] app-shells/bash-completion - dev-python/reflink - dev-python/confuse - dev-python/mediafile ) ')" @@ -89,14 +91,13 @@ python_prepare_all() { } python_compile_all() { - emake -C docs man use doc && esetup.py build_sphinx -b html --build-dir=docs/build } python_install_all() { distutils-r1_python_install_all - doman docs/_build/man/* + doman man/* use doc && local HTML_DOCS=( docs/build/html/. ) einstalldocs
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: aafa76b32d8099c62e5ef874ef706d5d430d08f0 Author: Arsen Arsenović aarsen me> AuthorDate: Sun Oct 24 07:22:50 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 02:57:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafa76b3 media-sound/beets: update builds now, with man pages, it likely doesn't pass tests. it requires a slight tweak to it's build procedure compared to 1.5.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Arsen Arsenović aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/22663 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-.ebuild | 29 - 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index e6e0f8dd5eb..7d299524043 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -6,7 +6,6 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 bash-completion-r1 optfeature @@ -17,7 +16,7 @@ else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64" S="${WORKDIR}/${MY_P}" fi @@ -45,9 +44,7 @@ DEPEND=" ${RDEPEND} " BDEPEND=" - doc? ( - dev-python/sphinx - ) + dev-python/sphinx $(python_gen_cond_dep ' test? ( dev-db/sqlite[icu] @@ -76,40 +73,30 @@ BDEPEND=" media-sound/mp3gain media-plugins/gst-plugins-libav:1.0 media-video/ffmpeg:0[encode] + app-shells/bash-completion + dev-python/reflink + dev-python/confuse + dev-python/mediafile ) ')" -PATCHES=( - "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" - "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" - "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" -) - DOCS=( README.rst docs/changelog.rst ) distutils_enable_tests pytest python_prepare_all() { distutils-r1_python_prepare_all - - # Tests that need network - rm test/test_art.py || die "Failed to remove test_art.py" - rm test/test_discogs.py || die "Failed to remove test_discogs.py" - rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" - rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" - rm test/test_spotify.py || die "Failed to remove test_spotify.py" - # Not working and dropped in master - rm test/test_mediafile.py || die "Failed to remove test_mediafile.py" } python_compile_all() { + emake -C docs man use doc && esetup.py build_sphinx -b html --build-dir=docs/build } python_install_all() { distutils-r1_python_install_all - doman man/* + doman docs/_build/man/* use doc && local HTML_DOCS=( docs/build/html/. ) einstalldocs
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: 45b05de8cffb4e5b1398b572db832a0285be3428 Author: Arsen Arsenović aarsen me> AuthorDate: Thu Oct 21 21:48:12 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 02:57:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b05de8 media-sound/beets: bump to version 1.5.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Arsen Arsenović aarsen.me> Signed-off-by: Sam James gentoo.org> media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.5.0.ebuild | 126 + .../files/1.5.0-0001-Remove-test_completion.patch | 74 3 files changed, 201 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 2385fe9f1b1..2ef455a86dc 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,2 @@ DIST beets-1.4.9.tar.gz 1494459 BLAKE2B 2daf77caf395143813c8b288fc376b5aec01d49281d40ba5942daf9941891146d698a1517ced958e480c6f253eadb6a7e09029e079c97e6cc17d44ac18fa0e7b SHA512 616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a +DIST beets-1.5.0.tar.gz 1694845 BLAKE2B e4a4ad880edcc396170bca9e7d04548f22a55eac22481d2babca0d2ca71237ed0509bf9be9af12343b0d1b555e9726446e5d61e637312a4808eece5ce0302f33 SHA512 447b01dc750a69d0a33d271774f3bd3b997a203d80c220c1a961f9a8e30420d263b1e2a4682d25ff7b02e1e85155f42186cb0d3bf27ebc8c2777f68e197d4018 diff --git a/media-sound/beets/beets-1.5.0.ebuild b/media-sound/beets/beets-1.5.0.ebuild new file mode 100644 index 000..aa73a47719c --- /dev/null +++ b/media-sound/beets/beets-1.5.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + >=dev-python/python-musicbrainzngs-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/discogs-client[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyacoustid[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + media-sound/mp3val + media-sound/mp3gain + media-plugins/gst-plugins-libav:1.0 + media-video/ffmpeg:0[encode] + app-shells/bash-completion + dev-python/reflink + dev-python/confuse + dev-python/mediafile + ) + ')" + +PATCHES=( + "${FILESDIR}/${PV}-0001-Remove-test_completion.patch" +) + +DOCS=(
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, media-sound/beets/files/
commit: 3ebe00e69103aa9840a84123c008ceec779e947c Author: Guillaume Seren gmail com> AuthorDate: Wed May 26 11:12:05 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jun 1 00:27:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ebe00e6 media-sound/beets: Backport patch for #790215 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Closes: https://bugs.gentoo.org/790215 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.4.9-r6.ebuild| 135 + ...place-discogs-client-with-python3-discogs.patch | 134 2 files changed, 269 insertions(+) diff --git a/media-sound/beets/beets-1.4.9-r6.ebuild b/media-sound/beets/beets-1.4.9-r6.ebuild new file mode 100644 index 000..4fd12ebc72c --- /dev/null +++ b/media-sound/beets/beets-1.4.9-r6.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + dev-python/pylast[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] + dev-python/wheel[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + media-sound/mp3val + media-sound/mp3gain + media-plugins/gst-plugins-libav:1.0 + media-video/ffmpeg:0[encode] + ) + ')" + +PATCHES=( + "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" + "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" + "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" + "${FILESDIR}/${PV}-0004-Fix-3608-Replace-discogs-client-with-python3-discogs.patch" +) + +DOCS=( README.rst docs/changelog.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Tests that need network + rm test/test_art.py || die "Failed to remove test_art.py" + rm test/test_discogs.py || die "Failed to remove test_discogs.py" + rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" + rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" + rm test/test_spotify.py || die "Failed to remove test_spotify.py" + # Not
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 980bc9023c2336350130027a75421e35b3babdbb Author: Guillaume Seren gmail com> AuthorDate: Wed May 26 11:14:03 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jun 1 00:27:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980bc902 media-sound/beets: Clean old ebuild Package-Manager: Portage-3.0.18, Repoman-3.0.2 Closes: https://bugs.gentoo.org/790215 Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21016 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.4.9-r5.ebuild | 134 1 file changed, 134 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r5.ebuild b/media-sound/beets/beets-1.4.9-r5.ebuild deleted file mode 100644 index cc6a223082b..000 --- a/media-sound/beets/beets-1.4.9-r5.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7..9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 bash-completion-r1 optfeature - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] - dev-python/munkres[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] - dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] - >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] - dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - ')" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( - dev-python/sphinx - ) - $(python_gen_cond_dep ' - test? ( - dev-db/sqlite[icu] - dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] - dev-python/bluelet[${PYTHON_MULTI_USEDEP}] - dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/mock[${PYTHON_MULTI_USEDEP}] - dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] - dev-python/pylast[${PYTHON_MULTI_USEDEP}] - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - || ( - dev-python/pillow[${PYTHON_MULTI_USEDEP}] - media-gfx/imagemagick - ) - dev-python/rarfile[${PYTHON_MULTI_USEDEP}] - dev-python/responses[${PYTHON_MULTI_USEDEP}] - dev-python/wheel[${PYTHON_MULTI_USEDEP}] - media-libs/chromaprint[tools] - media-libs/flac - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - media-sound/mp3val - media-sound/mp3gain - media-plugins/gst-plugins-libav:1.0 - media-video/ffmpeg:0[encode] - ) - ')" - -PATCHES=( - "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" - "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" - "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" -) - -DOCS=( README.rst docs/changelog.rst ) - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Tests that need network - rm test/test_art.py || die "Failed to remove test_art.py" - rm test/test_discogs.py || die "Failed to remove test_discogs.py" - rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" - rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" - rm test/test_spotify.py || die "Failed to remove test_spotify.py" - # Not working and dropped in master - rm test/test_mediafile.py || die "Failed to remove test_mediafile.py" -} -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: d428ee68a6b548419212a8a3e90115ab3c0121b5 Author: Guillaume Seren gmail com> AuthorDate: Mon May 10 21:14:38 2021 + Commit: Sam James gentoo org> CommitDate: Fri May 14 11:21:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d428ee68 media-sound/beets: enable Python3.9 Closes: https://bugs.gentoo.org/789141 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20760 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-1.4.9-r5.ebuild | 2 +- media-sound/beets/beets-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r5.ebuild b/media-sound/beets/beets-1.4.9-r5.ebuild index 77bfe827365..cc6a223082b 100644 --- a/media-sound/beets/beets-1.4.9-r5.ebuild +++ b/media-sound/beets/beets-1.4.9-r5.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 77bfe827365..cc6a223082b 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: db9f2e25fade4c860b55b56fff9132d9fbebffca Author: Guillaume Seren gmail com> AuthorDate: Mon Jan 25 16:59:24 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jan 26 11:26:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db9f2e25 media-sound/beets: Fix replaygain deps v1.4.9-r5 Closes: https://bugs.gentoo.org/767163 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r5.ebuild | 135 1 file changed, 135 insertions(+) diff --git a/media-sound/beets/beets-1.4.9-r5.ebuild b/media-sound/beets/beets-1.4.9-r5.ebuild new file mode 100644 index 000..68328df9060 --- /dev/null +++ b/media-sound/beets/beets-1.4.9-r5.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + dev-python/pylast[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] + dev-python/wheel[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + media-sound/mp3val + media-sound/mp3gain + media-plugins/gst-plugins-libav:1.0 + media-video/ffmpeg:0[encode] + ) + ')" + +PATCHES=( + "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" + "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" + "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" +) + +DOCS=( README.rst docs/changelog.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Tests that need network + rm test/test_art.py || die "Failed to remove test_art.py" + rm test/test_discogs.py || die "Failed to remove test_discogs.py" + rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" + rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" + rm test/test_spotify.py || die "Failed to remove test_spotify.py" + # Not working and dropped in master + rm test/test_mediafile.py || die "Failed to remove test_mediafile.py" +} + +python_compile_all() { + use doc && esetup.py build_sphinx -b html
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: e0a1278547950cf7583d3ff964b89766480604c6 Author: Guillaume Seren gmail com> AuthorDate: Mon Jan 25 17:04:08 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jan 26 11:26:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a12785 media-sound/beets: Clean old version Closes: https://bugs.gentoo.org/767163 Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19214 Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r4.ebuild | 137 1 file changed, 137 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r4.ebuild b/media-sound/beets/beets-1.4.9-r4.ebuild deleted file mode 100644 index 9f25baf0397..000 --- a/media-sound/beets/beets-1.4.9-r4.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{6..8} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 bash-completion-r1 optfeature - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] - dev-python/munkres[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] - dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] - >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] - dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - ')" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( - dev-python/sphinx - ) - $(python_gen_cond_dep ' - test? ( - dev-db/sqlite[icu] - dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] - dev-python/bluelet[${PYTHON_MULTI_USEDEP}] - dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/mock[${PYTHON_MULTI_USEDEP}] - dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] - dev-python/pylast[${PYTHON_MULTI_USEDEP}] - dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - || ( - dev-python/pillow[${PYTHON_MULTI_USEDEP}] - media-gfx/imagemagick - ) - dev-python/rarfile[${PYTHON_MULTI_USEDEP}] - dev-python/responses[${PYTHON_MULTI_USEDEP}] - dev-python/wheel[${PYTHON_MULTI_USEDEP}] - media-libs/chromaprint[tools] - media-libs/flac - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - media-sound/mp3val - media-sound/mp3gain - || ( - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - media-plugins/gst-plugins-libav:1.0 - ) - media-video/ffmpeg:0[encode] - ) - ')" - -PATCHES=( - "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" - "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" - "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" -) - -DOCS=( README.rst docs/changelog.rst ) - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Tests that need network - rm test/test_art.py || die "Failed to remove test_art.py" - rm test/test_discogs.py || die "Failed to remove test_discogs.py" - rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" - rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" - rm test/test_spotify.py || die "Failed to remove test_spotify.py" - # Not working and dropped in master - rm test/test_mediafile.py || die "Failed to remove
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 6f8451df5bc09bde7875c15938ef751afb592bf1 Author: Guillaume Seren gmail com> AuthorDate: Mon Jan 25 17:03:03 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jan 26 11:26:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8451df media-sound/beets: Fix replaygain deps Closes: https://bugs.gentoo.org/767163 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-.ebuild | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 9f25baf0397..68328df9060 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -58,6 +58,7 @@ BDEPEND=" dev-python/mock[${PYTHON_MULTI_USEDEP}] dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] dev-python/pylast[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] || ( @@ -73,10 +74,7 @@ BDEPEND=" media-libs/gst-plugins-good:1.0 media-sound/mp3val media-sound/mp3gain - || ( - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - media-plugins/gst-plugins-libav:1.0 - ) + media-plugins/gst-plugins-libav:1.0 media-video/ffmpeg:0[encode] ) ')"
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: a0f27a00a98b0faf2f66f76e1b8f6fe826cee271 Author: Guillaume Seren gmail com> AuthorDate: Tue Jan 19 13:56:08 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 24 08:09:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f27a00 media-sound/beets: upgrade live-ebuild Closes: https://bugs.gentoo.org/766132 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-.ebuild | 109 ++-- 1 file changed, 42 insertions(+), 67 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index d07f7f6efe2..9f25baf0397 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -4,11 +4,11 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..8} ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 bash-completion-r1 +inherit distutils-r1 bash-completion-r1 optfeature if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; @@ -26,7 +26,8 @@ HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; LICENSE="MIT" SLOT="0" -IUSE="badfiles chromaprint cors discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" +IUSE="doc test" +RESTRICT="!test? ( test )" RDEPEND=" $(python_gen_cond_dep ' @@ -39,54 +40,6 @@ RDEPEND=" dev-python/requests[${PYTHON_MULTI_USEDEP}] >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( - dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] - ) - ffmpeg? ( - media-video/ffmpeg:0[encode] - ) - gstreamer? ( - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - ) - icu? ( - dev-db/sqlite[icu] - ) - lastfm? ( - dev-python/pylast[${PYTHON_MULTI_USEDEP}] - ) - mpd? ( - dev-python/bluelet[${PYTHON_MULTI_USEDEP}] - dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] - ) - replaygain? ( - gstreamer? ( - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - media-plugins/gst-plugins-libav:1.0 - ) - !gstreamer? ( media-sound/mp3gain ) - ) - thumbnail? ( - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - || ( - dev-python/pillow[${PYTHON_MULTI_USEDEP}] - media-gfx/imagemagick - ) - ) - webserver? ( - dev-python/flask[${PYTHON_MULTI_USEDEP}] - cors? ( - dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] - ) - ) ')" DEPEND=" ${RDEPEND} @@ -97,19 +50,41 @@ BDEPEND=" ) $(python_gen_cond_dep ' test? ( + dev-db/sqlite[icu] dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] dev-python/flask[${PYTHON_MULTI_USEDEP}] dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + dev-python/pylast[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) dev-python/rarfile[${PYTHON_MULTI_USEDEP}] dev-python/responses[${PYTHON_MULTI_USEDEP}] dev-python/wheel[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 3e2dc6a492f8036d01365a6a9ea542e4145ed87c Author: Guillaume Seren gmail com> AuthorDate: Fri Jan 22 14:44:57 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 24 08:09:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2dc6a4 media-sound/beets: Delete old version Closes: https://bugs.gentoo.org/766132 Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19127 Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r3.ebuild | 162 1 file changed, 162 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r3.ebuild b/media-sound/beets/beets-1.4.9-r3.ebuild deleted file mode 100644 index d07f7f6efe2..000 --- a/media-sound/beets/beets-1.4.9-r3.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{6,7,8} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 bash-completion-r1 - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="badfiles chromaprint cors discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] - dev-python/munkres[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] - dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] - >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] - dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( - dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] - ) - ffmpeg? ( - media-video/ffmpeg:0[encode] - ) - gstreamer? ( - media-libs/gst-plugins-bad:1.0 - media-libs/gst-plugins-good:1.0 - ) - icu? ( - dev-db/sqlite[icu] - ) - lastfm? ( - dev-python/pylast[${PYTHON_MULTI_USEDEP}] - ) - mpd? ( - dev-python/bluelet[${PYTHON_MULTI_USEDEP}] - dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] - ) - replaygain? ( - gstreamer? ( - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - media-plugins/gst-plugins-libav:1.0 - ) - !gstreamer? ( media-sound/mp3gain ) - ) - thumbnail? ( - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - || ( - dev-python/pillow[${PYTHON_MULTI_USEDEP}] - media-gfx/imagemagick - ) - ) - webserver? ( - dev-python/flask[${PYTHON_MULTI_USEDEP}] - cors? ( - dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] - ) - ) - ')" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( - dev-python/sphinx - ) - $(python_gen_cond_dep ' - test? ( - dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/mock[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/rarfile[${PYTHON_MULTI_USEDEP}] - dev-python/responses[${PYTHON_MULTI_USEDEP}] - dev-python/wheel[${PYTHON_MULTI_USEDEP}] - ) - ')" - -PATCHES=( -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: 09268b5562c191524cf9fa14f43817b3ba2bf706 Author: Guillaume Seren gmail com> AuthorDate: Tue Jan 19 13:53:09 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 24 08:09:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09268b55 media-sound/beets: cleanup sphinx & optfeature Closes: https://bugs.gentoo.org/766132 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r4.ebuild| 137 + ...0003-Try-to-work-around-a-Werkzeug-change.patch | 25 media-sound/beets/metadata.xml | 14 --- 3 files changed, 162 insertions(+), 14 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r4.ebuild b/media-sound/beets/beets-1.4.9-r4.ebuild new file mode 100644 index 000..9f25baf0397 --- /dev/null +++ b/media-sound/beets/beets-1.4.9-r4.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 bash-completion-r1 optfeature + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + doc? ( + dev-python/sphinx + ) + $(python_gen_cond_dep ' + test? ( + dev-db/sqlite[icu] + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + dev-python/pylast[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] + dev-python/wheel[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + media-libs/flac + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + media-sound/mp3val + media-sound/mp3gain + || ( + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + media-plugins/gst-plugins-libav:1.0 + ) + media-video/ffmpeg:0[encode] + ) + ')" + +PATCHES=( + "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" + "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" + "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" +) + +DOCS=( README.rst docs/changelog.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Tests that need network + rm test/test_art.py || die "Failed to remove test_art.py" + rm test/test_discogs.py || die "Failed to remove test_discogs.py" + rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" + rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" + rm test/test_spotify.py || die "Failed to remove test_spotify.py" +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: e5548eb37c36e798c008665d6ca82c215e04c4ca Author: Guillaume Seren gmail com> AuthorDate: Tue Sep 29 16:15:40 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jan 18 12:27:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5548eb3 media-sound/beets: Cleanup live-ebuild Closes: https://bugs.gentoo.org/693164 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-.ebuild | 140 1 file changed, 63 insertions(+), 77 deletions(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 01d7ec3b1be..fe7c12adf3a 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,6 +6,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 bash-completion-r1 @@ -21,36 +22,23 @@ else fi DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="http://beets.io/ https://pypi.org/project/beets/; +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; LICENSE="MIT" SLOT="0" -IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" +IUSE="badfiles chromaprint cors discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" -RDEPEND="${DEPEND}" -DEPEND=" +RDEPEND=" $(python_gen_cond_dep ' - test? ( - dev-python/wheel[${PYTHON_MULTI_USEDEP}] - dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/mock[${PYTHON_MULTI_USEDEP}] - dev-python/rarfile[${PYTHON_MULTI_USEDEP}] - dev-python/responses[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] - ) >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] - >=dev-python/confuse-1.0.0[${PYTHON_MULTI_USEDEP}] - >=dev-python/mediafile-0.2.0[${PYTHON_MULTI_USEDEP}] badfiles? ( media-libs/flac media-sound/mp3val @@ -59,14 +47,22 @@ DEPEND=" dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] media-libs/chromaprint[tools] ) - discogs? ( dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] ) - ffmpeg? ( media-video/ffmpeg:0[encode] ) + discogs? ( + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] + ) + ffmpeg? ( + media-video/ffmpeg:0[encode] + ) gstreamer? ( - media-libs/gst-plugins-good:1.0 media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + ) + icu? ( + dev-db/sqlite[icu] + ) + lastfm? ( + dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) - icu? ( dev-db/sqlite[icu] ) - lastfm? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) mpd? ( dev-python/bluelet[${PYTHON_MULTI_USEDEP}] dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] @@ -87,14 +83,33 @@ DEPEND=" ) webserver? ( dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] + cors? ( + dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] + ) ) ')" +DEPEND=" + ${RDEPEND} +" BDEPEND=" + dev-python/sphinx $(python_gen_cond_dep ' -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: fbddb8ec8d54d2e1ec001d97f3e52c81deb7043f Author: Guillaume Seren gmail com> AuthorDate: Wed Dec 9 19:45:36 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jan 18 12:27:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbddb8ec media-sound/beets: Use pre-builded man page Closes: https://bugs.gentoo.org/758647 Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16046 Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r3.ebuild | 7 --- media-sound/beets/beets-.ebuild | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r3.ebuild b/media-sound/beets/beets-1.4.9-r3.ebuild index fe7c12adf3a..d07f7f6efe2 100644 --- a/media-sound/beets/beets-1.4.9-r3.ebuild +++ b/media-sound/beets/beets-1.4.9-r3.ebuild @@ -92,7 +92,9 @@ DEPEND=" ${RDEPEND} " BDEPEND=" - dev-python/sphinx + doc? ( + dev-python/sphinx + ) $(python_gen_cond_dep ' test? ( dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] @@ -143,14 +145,13 @@ python_prepare_all() { } python_compile_all() { - esetup.py build_sphinx -b man --build-dir=docs/build use doc && esetup.py build_sphinx -b html --build-dir=docs/build } python_install_all() { distutils-r1_python_install_all - doman docs/build/man/* + doman man/* use doc && local HTML_DOCS=( docs/build/html/. ) einstalldocs diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index fe7c12adf3a..d07f7f6efe2 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -92,7 +92,9 @@ DEPEND=" ${RDEPEND} " BDEPEND=" - dev-python/sphinx + doc? ( + dev-python/sphinx + ) $(python_gen_cond_dep ' test? ( dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] @@ -143,14 +145,13 @@ python_prepare_all() { } python_compile_all() { - esetup.py build_sphinx -b man --build-dir=docs/build use doc && esetup.py build_sphinx -b html --build-dir=docs/build } python_install_all() { distutils-r1_python_install_all - doman docs/build/man/* + doman man/* use doc && local HTML_DOCS=( docs/build/html/. ) einstalldocs
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: 76a4fe776209a5c8282ac1e354b8d9bb1d81831e Author: Guillaume Seren gmail com> AuthorDate: Mon Jun 1 23:37:42 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jan 18 12:27:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a4fe77 media-sound/beets: Fix tests + cors/audioread support Closes: https://bugs.gentoo.org/693164 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r3.ebuild| 161 + ...ty-with-breaking-changes-to-the-ast-modul.patch | 53 +++ .../files/1.4.9-0002-Disable-test_completion.patch | 74 ++ media-sound/beets/metadata.xml | 5 +- 4 files changed, 292 insertions(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.4.9-r3.ebuild b/media-sound/beets/beets-1.4.9-r3.ebuild new file mode 100644 index 000..fe7c12adf3a --- /dev/null +++ b/media-sound/beets/beets-1.4.9-r3.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 bash-completion-r1 + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="badfiles chromaprint cors discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( + dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] + ) + ffmpeg? ( + media-video/ffmpeg:0[encode] + ) + gstreamer? ( + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-good:1.0 + ) + icu? ( + dev-db/sqlite[icu] + ) + lastfm? ( + dev-python/pylast[${PYTHON_MULTI_USEDEP}] + ) + mpd? ( + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + media-plugins/gst-plugins-libav:1.0 + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_MULTI_USEDEP}] + cors? ( + dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] + ) + ) + ')" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/sphinx + $(python_gen_cond_dep ' + test? ( + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 5369b341888433a3444dfe6bbe6d2b8dabf00d0b Author: Guillaume Seren gmail com> AuthorDate: Mon Jun 1 23:30:50 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jan 18 12:27:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5369b341 media-sound/beets: Drop old ebuild Closes: https://bugs.gentoo.org/693164 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r2.ebuild | 172 1 file changed, 172 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r2.ebuild b/media-sound/beets/beets-1.4.9-r2.ebuild deleted file mode 100644 index 6fa58e40129..000 --- a/media-sound/beets/beets-1.4.9-r2.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{6,7,8} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 bash-completion-r1 - -if [[ ${PV} == "" ]]; then - EGIT_REPO_URI="https://github.com/beetbox/beets.git; - inherit git-r3 -else - MY_PV=${PV/_beta/-beta.} - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_P}" -fi - -DESCRIPTION="Media library management system for obsessive-compulsive music geeks" -HOMEPAGE="http://beets.io/ https://pypi.org/project/beets/; - -LICENSE="MIT" -SLOT="0" -IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" - -RDEPEND="${DEPEND}" -DEPEND=" - $(python_gen_cond_dep ' - test? ( - dev-python/wheel[${PYTHON_MULTI_USEDEP}] - dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/mock[${PYTHON_MULTI_USEDEP}] - dev-python/rarfile[${PYTHON_MULTI_USEDEP}] - dev-python/responses[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - ) - >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] - dev-python/munkres[${PYTHON_MULTI_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] - dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] - >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] - dev-python/unidecode[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] ) - ffmpeg? ( media-video/ffmpeg:0[encode] ) - gstreamer? ( - media-libs/gst-plugins-good:1.0 - media-libs/gst-plugins-bad:1.0 - ) - icu? ( dev-db/sqlite[icu] ) - lastfm? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) - mpd? ( - dev-python/bluelet[${PYTHON_MULTI_USEDEP}] - dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] - ) - replaygain? ( - gstreamer? ( - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - media-plugins/gst-plugins-libav:1.0 - ) - !gstreamer? ( media-sound/mp3gain ) - ) - thumbnail? ( - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - || ( - dev-python/pillow[${PYTHON_MULTI_USEDEP}] - media-gfx/imagemagick - ) - ) - webserver? ( - dev-python/flask[${PYTHON_MULTI_USEDEP}] - dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] - ) - ')" -BDEPEND="dev-python/sphinx" - -DOCS=( README.rst docs/changelog.rst ) - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - rm_use_plugins() { - [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" - local use=${1} - local plugins=${use} - use ${use} && return - einfo "no ${use}:" - [[ $# -gt 1 ]] && plugins="${@:2}"
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 3f8dd2a62cec7e0f274da786a4bfabdc6bdeda17 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 1 13:09:59 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 13:09:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f8dd2a6 media-sound/beets: sync 1.4.9 ebuild with - Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r2.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/media-sound/beets/beets-1.4.9-r2.ebuild b/media-sound/beets/beets-1.4.9-r2.ebuild index 438c4eac98d..6fa58e40129 100644 --- a/media-sound/beets/beets-1.4.9-r2.ebuild +++ b/media-sound/beets/beets-1.4.9-r2.ebuild @@ -13,7 +13,6 @@ inherit distutils-r1 bash-completion-r1 if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; inherit git-r3 - KEYWORDS="~amd64 ~x86" else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV}
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 4589ad5b03e4c90492024f1a1dfc1b491b38308b Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 1 12:52:25 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 13:07:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4589ad5b media-sound/beets: remove KEYWORDS from - Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index d3bc4cc7ad1..70b21d390ef 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -12,7 +12,6 @@ inherit distutils-r1 bash-completion-r1 if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/beetbox/beets.git; inherit git-r3 - KEYWORDS="~amd64 ~x86" else MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV}
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 334a2445efd0b6a174a590a14ae040fa4e0bee84 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 1 13:06:56 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 13:07:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334a2445 media-sound/beets: remove python2_7 support, doesn't seem to work Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r2.ebuild | 2 +- media-sound/beets/beets-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r2.ebuild b/media-sound/beets/beets-1.4.9-r2.ebuild index ccf3108564d..438c4eac98d 100644 --- a/media-sound/beets/beets-1.4.9-r2.ebuild +++ b/media-sound/beets/beets-1.4.9-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild index 70b21d390ef..01d7ec3b1be 100644 --- a/media-sound/beets/beets-.ebuild +++ b/media-sound/beets/beets-.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 bash-completion-r1
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 3b599ad6587752063fd42e3b9c7fed33771d494e Author: Guillaume Seren gmail com> AuthorDate: Sat Apr 25 17:31:10 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 12:28:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b599ad6 media-sound/beets: cleanup ebuild Closes: https://bugs.gentoo.org/718398 Bug: https://bugs.gentoo.org/702914 Bug: https://bugs.gentoo.org/693164 Closes: https://bugs.gentoo.org/584276 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-1.4.9-r1.ebuild | 179 +++- 1 file changed, 107 insertions(+), 72 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r1.ebuild b/media-sound/beets/beets-1.4.9-r1.ebuild index c8b7ae1874f..8925b67b676 100644 --- a/media-sound/beets/beets-1.4.9-r1.ebuild +++ b/media-sound/beets/beets-1.4.9-r1.ebuild @@ -1,82 +1,101 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -MY_PV=${PV/_beta/-beta.} -MY_P=${PN}-${MY_PV} - -PYTHON_COMPAT=( python3_6 ) +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) PYTHON_REQ_USE="sqlite" -inherit distutils-r1 + +inherit distutils-r1 bash-completion-r1 + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 + KEYWORDS="~amd64 ~x86" +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi DESCRIPTION="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.org/project/beets/; -KEYWORDS="~amd64 ~x86" -SLOT="0" LICENSE="MIT" +SLOT="0" IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" +RDEPEND="${DEPEND}" DEPEND=" - >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] - dev-python/munkres[${PYTHON_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) - ffmpeg? ( media-video/ffmpeg:0[encode] ) - gstreamer? ( - media-libs/gst-plugins-good:1.0 - media-libs/gst-plugins-bad:1.0 - ) - icu? ( dev-db/sqlite[icu] ) - lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) - mpd? ( - dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/python-mpd[${PYTHON_USEDEP}] - ) - replaygain? ( + $(python_gen_cond_dep ' + test? ( + dev-python/wheel[${PYTHON_MULTI_USEDEP}] + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + ) + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) gstreamer? ( -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: c0ead648b4774b4edb6becf3b874caa4ea124464 Author: Guillaume Seren gmail com> AuthorDate: Sat Apr 25 20:41:57 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 12:28:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ead648 media-sound/beets: Add ebuild Signed-off-by: Guillaume Seren gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15519 Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/beets-.ebuild | 176 1 file changed, 176 insertions(+) diff --git a/media-sound/beets/beets-.ebuild b/media-sound/beets/beets-.ebuild new file mode 100644 index 000..d3bc4cc7ad1 --- /dev/null +++ b/media-sound/beets/beets-.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 bash-completion-r1 + +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/beetbox/beets.git; + inherit git-r3 + KEYWORDS="~amd64 ~x86" +else + MY_PV=${PV/_beta/-beta.} + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Media library management system for obsessive-compulsive music geeks" +HOMEPAGE="http://beets.io/ https://pypi.org/project/beets/; + +LICENSE="MIT" +SLOT="0" +IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" + +RDEPEND="${DEPEND}" +DEPEND=" + $(python_gen_cond_dep ' + test? ( + dev-python/wheel[${PYTHON_MULTI_USEDEP}] + dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/rarfile[${PYTHON_MULTI_USEDEP}] + dev-python/responses[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + ) + >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] + dev-python/munkres[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] + dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] + >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] + dev-python/unidecode[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] + >=dev-python/confuse-1.0.0[${PYTHON_MULTI_USEDEP}] + >=dev-python/mediafile-0.2.0[${PYTHON_MULTI_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) + gstreamer? ( + media-libs/gst-plugins-good:1.0 + media-libs/gst-plugins-bad:1.0 + ) + icu? ( dev-db/sqlite[icu] ) + lastfm? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) + mpd? ( + dev-python/bluelet[${PYTHON_MULTI_USEDEP}] + dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + media-plugins/gst-plugins-libav:1.0 + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + || ( + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_MULTI_USEDEP}] + dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] + ) + ')" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/sphinx[${PYTHON_MULTI_USEDEP}] + ')" + +DOCS=( README.rst docs/changelog.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 93f6a0560d901aedba2b0eb752ab2fcd5f50c93b Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 1 12:26:15 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 12:28:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f6a056 media-sound/beets: DISTUTILS_USE_SETUPTOOLS=rdepend & sphinx Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/{beets-1.4.9-r1.ebuild => beets-1.4.9-r2.ebuild} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r1.ebuild b/media-sound/beets/beets-1.4.9-r2.ebuild similarity index 98% rename from media-sound/beets/beets-1.4.9-r1.ebuild rename to media-sound/beets/beets-1.4.9-r2.ebuild index 8925b67b676..ccf3108564d 100644 --- a/media-sound/beets/beets-1.4.9-r1.ebuild +++ b/media-sound/beets/beets-1.4.9-r2.ebuild @@ -6,6 +6,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 bash-completion-r1 @@ -88,10 +89,7 @@ DEPEND=" dev-python/flask-cors[${PYTHON_MULTI_USEDEP}] ) ')" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/sphinx[${PYTHON_MULTI_USEDEP}] - ')" +BDEPEND="dev-python/sphinx" DOCS=( README.rst docs/changelog.rst )
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 67e1ddcb958f6c342a4945780f4743fd54517c3f Author: Guillaume Seren gmail com> AuthorDate: Tue Apr 21 13:17:29 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 1 12:28:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e1ddcb media-sound/beets: Add myself and proxy-maint Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/metadata.xml | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/media-sound/beets/metadata.xml b/media-sound/beets/metadata.xml index 00d7ac2d135..54468263575 100644 --- a/media-sound/beets/metadata.xml +++ b/media-sound/beets/metadata.xml @@ -1,7 +1,14 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + +guillaumese...@gmail.com +Guillaume Seren + + +proxy-ma...@gentoo.org +Proxy Maintainers + The purpose of beets is to get your music collection right once and for all. It catalogs your collection, automatically improving its metadata as
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: c4ec5e6e389bce8955ecc1dad60cd3d64117209b Author: Michał Górny gentoo org> AuthorDate: Mon Mar 16 18:44:54 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Mar 16 18:44:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ec5e6e media-sound/beets: Remove py2 virtuals Signed-off-by: Michał Górny gentoo.org> media-sound/beets/beets-1.4.9-r1.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r1.ebuild b/media-sound/beets/beets-1.4.9-r1.ebuild index f7001b9fd20..c8b7ae1874f 100644 --- a/media-sound/beets/beets-1.4.9-r1.ebuild +++ b/media-sound/beets/beets-1.4.9-r1.ebuild @@ -33,7 +33,6 @@ DEPEND=" >=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - virtual/python-enum34[${PYTHON_USEDEP}] badfiles? ( media-libs/flac media-sound/mp3val @@ -63,7 +62,6 @@ DEPEND=" ) thumbnail? ( dev-python/pyxdg[${PYTHON_USEDEP}] - virtual/python-pathlib[${PYTHON_USEDEP}] || ( dev-python/pillow[${PYTHON_USEDEP}] media-gfx/imagemagick
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: 4508997e9ffd762f35f6cff6cc5ba93ace9123e9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 8 08:52:27 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 8 08:52:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4508997e media-sound/beets: Drop patch for now. Closes: https://bugs.gentoo.org/702272 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/beets/beets-1.4.9-r1.ebuild| 6 ++-- media-sound/beets/files/beets-1.4.9-py37.patch | 38 -- 2 files changed, 2 insertions(+), 42 deletions(-) diff --git a/media-sound/beets/beets-1.4.9-r1.ebuild b/media-sound/beets/beets-1.4.9-r1.ebuild index a340e1c3ed4..f7001b9fd20 100644 --- a/media-sound/beets/beets-1.4.9-r1.ebuild +++ b/media-sound/beets/beets-1.4.9-r1.ebuild @@ -78,11 +78,11 @@ RDEPEND="${DEPEND}" RESTRICT="test" # tests broken in 1.4.3 already -PATCHES=( "${FILESDIR}/${P}-py37.patch" ) - S="${WORKDIR}/${MY_P}" python_prepare_all() { + distutils-r1_python_prepare_all + rm_use_plugins() { [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" local use=${1} @@ -103,8 +103,6 @@ python_prepare_all() { done } - distutils-r1_python_prepare_all - rm_use_plugins chromaprint chroma rm_use_plugins ffmpeg convert rm_use_plugins icu loadext diff --git a/media-sound/beets/files/beets-1.4.9-py37.patch b/media-sound/beets/files/beets-1.4.9-py37.patch deleted file mode 100644 index 564357bc378..000 --- a/media-sound/beets/files/beets-1.4.9-py37.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 15d44f02a391764da1ce1f239caef819f08beed8 Mon Sep 17 00:00:00 2001 -From: Adrian Sampson -Date: Sun, 22 Jul 2018 12:34:19 -0400 -Subject: [PATCH] Fix Python 3.7 compatibility (#2978) - - beets/autotag/hooks.py | 8 +++- - docs/changelog.rst | 2 ++ - 2 files changed, 9 insertions(+), 1 deletion(-) - -diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py -index 3615a93337b8..1c62a54c5c35 100644 a/beets/autotag/hooks.py -+++ b/beets/autotag/hooks.py -@@ -31,6 +31,12 @@ import six - - log = logging.getLogger('beets') - -+# The name of the type for patterns in re changed in Python 3.7. -+try: -+Pattern = re._pattern_type -+except AttributeError: -+Pattern = re.Pattern -+ - - # Classes used to represent candidate options. - -@@ -433,7 +439,7 @@ class Distance(object): - be a compiled regular expression, in which case it will be - matched against `value2`. - """ --if isinstance(value1, re._pattern_type): -+if isinstance(value1, Pattern): - return bool(value1.match(value2)) - return value1 == value2 - --- -2.20.1
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, media-sound/beets/files/
commit: 8d5b730e870a710dea0626c3c94b2c118bde8754 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 7 18:45:55 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 7 22:51:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5b730e media-sound/beets: Drop python3_5 support Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/beets/beets-1.4.9-r1.ebuild| 144 + media-sound/beets/files/beets-1.4.9-py37.patch | 38 +++ 2 files changed, 182 insertions(+) diff --git a/media-sound/beets/beets-1.4.9-r1.ebuild b/media-sound/beets/beets-1.4.9-r1.ebuild new file mode 100644 index 000..a340e1c3ed4 --- /dev/null +++ b/media-sound/beets/beets-1.4.9-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_beta/-beta.} +MY_P=${PN}-${MY_PV} + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite" +inherit distutils-r1 + +DESCRIPTION="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.org/project/beets/; + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MIT" +IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +DEPEND=" + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) + gstreamer? ( + media-libs/gst-plugins-good:1.0 + media-libs/gst-plugins-bad:1.0 + ) + icu? ( dev-db/sqlite[icu] ) + lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) + mpd? ( + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-plugins/gst-plugins-libav:1.0 + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + ) +" +RDEPEND="${DEPEND}" + +RESTRICT="test" # tests broken in 1.4.3 already + +PATCHES=( "${FILESDIR}/${P}-py37.patch" ) + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + rm_use_plugins() { + [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" + local use=${1} + local plugins=${use} + use ${use} && return + einfo "no ${use}:" + [[ $# -gt 1 ]] && plugins="${@:2}" + for arg in ${plugins[@]}; do + einfo " removing ${arg}" + if [[ -e "beetsplug/${arg}.py" ]]; then + rm beetsplug/${arg}.py || die "Unable to remove ${arg} plugin" + fi + if [[ -d "beetsplug/${arg}" ]]; then + rm -r beetsplug/${arg} || die "Unable to remove ${arg} plugin" + fi + sed -e "s:'beetsplug.${arg}',::" -i setup.py || \ + die "Unable to disable ${arg} plugin " + done + } + + distutils-r1_python_prepare_all + + rm_use_plugins chromaprint chroma + rm_use_plugins ffmpeg convert + rm_use_plugins icu loadext + rm_use_plugins lastfm lastgenre lastimport + rm_use_plugins mpd bpd mpdstats + rm_use_plugins webserver web + rm_use_plugins thumbnail thumbnails + + # remove plugins that do not have appropriate dependencies installed + for
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/, profiles/, media-sound/beets/files/
commit: 6260fa7d04459e9034dd175b5865a7205208ac8b Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 7 19:09:06 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 7 22:51:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6260fa7d media-sound/beets: Drop 1.4.8-r1 and 1.4.9 (r0) Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/beets/Manifest | 1 - media-sound/beets/beets-1.4.8-r1.ebuild| 141 media-sound/beets/beets-1.4.9.ebuild | 142 - .../files/beets-1.4.8-imagemagick-detection.patch | 23 profiles/package.mask | 1 - 5 files changed, 308 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 98aff304f12..2385fe9f1b1 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,2 +1 @@ -DIST beets-1.4.8.tar.gz 1493539 BLAKE2B 63c44f05bbf139cd43b5f5ada972fd30beeea2303c6b479b1be35ea21fabb0039b3c8eb6e90f8f1b2a61fed36d97ce09a32c6346cbd3b84c7c978e796505f4b4 SHA512 449bed88185a5ecb4781719e092c2428ddc52fb8084033db64a4c0eca8899154192e7cea82517993d60326c7fe39b26429584ba368ffc35800f722d8d6a03217 DIST beets-1.4.9.tar.gz 1494459 BLAKE2B 2daf77caf395143813c8b288fc376b5aec01d49281d40ba5942daf9941891146d698a1517ced958e480c6f253eadb6a7e09029e079c97e6cc17d44ac18fa0e7b SHA512 616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a diff --git a/media-sound/beets/beets-1.4.8-r1.ebuild b/media-sound/beets/beets-1.4.8-r1.ebuild deleted file mode 100644 index 4cfc7d72806..000 --- a/media-sound/beets/beets-1.4.8-r1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PV=${PV/_beta/-beta.} -MY_P=${PN}-${MY_PV} - -PYTHON_COMPAT=( python3_{5,6} ) -PYTHON_REQ_USE="sqlite" -inherit distutils-r1 - -DESCRIPTION="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.org/project/beets/; - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="MIT" -IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" - -RDEPEND=" - >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] - dev-python/munkres[${PYTHON_USEDEP}] - >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - virtual/python-enum34[${PYTHON_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ffmpeg? ( media-video/ffmpeg:0[encode] ) - icu? ( dev-db/sqlite[icu] ) - lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) - mpd? ( - dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/python-mpd[${PYTHON_USEDEP}] - gstreamer? ( media-plugins/gst-plugins-meta:1.0 ) - ) - replaygain? ( - gstreamer? ( - dev-python/pygobject:3[${PYTHON_USEDEP}] - media-libs/gst-plugins-good:1.0 - media-plugins/gst-plugins-meta:1.0[ffmpeg] - ) - !gstreamer? ( media-sound/mp3gain ) - ) - thumbnail? ( - dev-python/pyxdg[${PYTHON_USEDEP}] - virtual/python-pathlib[${PYTHON_USEDEP}] - || ( - dev-python/pillow[${PYTHON_USEDEP}] - media-gfx/imagemagick - ) - ) - webserver? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - ) -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -RESTRICT="test" # tests broken in 1.4.3 already - -PATCHES=( "${FILESDIR}/${P}-imagemagick-detection.patch" ) - -S=${WORKDIR}/${MY_P} - -src_prepare() { - rm_use_plugins() { - [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" - local use=${1} - local plugins=${use} - use ${use} && return - einfo "no ${use}:" - [[ $# -gt 1 ]] && plugins="${@:2}" - for arg in ${plugins[@]}; do -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 10e4e3f38bf769075720a46272e0c553ca6d99aa Author: Bernardo Meurer standard ai> AuthorDate: Thu Aug 29 19:52:40 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Aug 30 11:45:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e4e3f3 media-sound/beets: add myself as maintainer Approved-by: mgorny Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Bernardo Meurer standard.ai> Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/metadata.xml | 79 ++ 1 file changed, 42 insertions(+), 37 deletions(-) diff --git a/media-sound/beets/metadata.xml b/media-sound/beets/metadata.xml index a30fde9062e..c94e37c4b59 100644 --- a/media-sound/beets/metadata.xml +++ b/media-sound/beets/metadata.xml @@ -1,43 +1,48 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - so...@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. + +berna...@standard.ai +Bernardo Meurer + + +proxy-ma...@gentoo.org +Gentoo Proxy Maintainers Project + + +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. +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 acoustic fingerprinting plugin using media-libs/chromaprint - Enable support for the convert plugin to transcode files via media-video/ffmpeg - Enable support for the discogs API plugin - Enable support for importing personal last.fm playcounts and music genres from last.fm tags - Enable support for media-sound/mpd server emulation and statistic gathered from media-sound/mpd - Enable support for Replay Gain metadata calculation during import - Enable album thumbnails generation - Enable embedded webserver support through dev-python/flask - - - beets - +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 acoustic fingerprinting plugin using media-libs/chromaprint +Enable support for the convert plugin to transcode files via media-video/ffmpeg +Enable support for the discogs API plugin +Enable support for importing personal last.fm playcounts and music genres from last.fm tags +Enable support for media-sound/mpd server emulation and statistic gathered from media-sound/mpd +Enable
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: aa1f3c48ab47e76595f59cbdc73d79a2e48e2bf8 Author: Bernardo Meurer gmail com> AuthorDate: Tue Jul 30 21:30:30 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Aug 30 11:45:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1f3c48 media-sound/beets: bump to 1.4.9 Closes: https://bugs.gentoo.org/689182 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Bernardo Meurer standard.ai> Closes: https://github.com/gentoo/gentoo/pull/12582 Signed-off-by: Joonas Niilola gentoo.org> media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.4.9.ebuild | 142 +++ 2 files changed, 143 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index a75afe9cac4..98aff304f12 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,2 @@ DIST beets-1.4.8.tar.gz 1493539 BLAKE2B 63c44f05bbf139cd43b5f5ada972fd30beeea2303c6b479b1be35ea21fabb0039b3c8eb6e90f8f1b2a61fed36d97ce09a32c6346cbd3b84c7c978e796505f4b4 SHA512 449bed88185a5ecb4781719e092c2428ddc52fb8084033db64a4c0eca8899154192e7cea82517993d60326c7fe39b26429584ba368ffc35800f722d8d6a03217 +DIST beets-1.4.9.tar.gz 1494459 BLAKE2B 2daf77caf395143813c8b288fc376b5aec01d49281d40ba5942daf9941891146d698a1517ced958e480c6f253eadb6a7e09029e079c97e6cc17d44ac18fa0e7b SHA512 616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a diff --git a/media-sound/beets/beets-1.4.9.ebuild b/media-sound/beets/beets-1.4.9.ebuild new file mode 100644 index 000..e2da8e5f2f7 --- /dev/null +++ b/media-sound/beets/beets-1.4.9.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_beta/-beta.} +MY_P=${PN}-${MY_PV} + +PYTHON_COMPAT=( python3_{5,6} ) +PYTHON_REQ_USE="sqlite" +inherit distutils-r1 + +DESCRIPTION="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.org/project/beets/; + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MIT" +IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +DEPEND=" + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) + gstreamer? ( + media-libs/gst-plugins-good:1.0 + media-libs/gst-plugins-bad:1.0 + ) + icu? ( dev-db/sqlite[icu] ) + lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) + mpd? ( + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-plugins/gst-plugins-libav:1.0 + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + ) +" +RDEPEND="${DEPEND}" + +RESTRICT="test" # tests broken in 1.4.3 already + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + rm_use_plugins() { + [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" + local use=${1} + local plugins=${use} + use ${use} && return + einfo "no ${use}:" + [[ $# -gt 1 ]] && plugins="${@:2}" + for arg in ${plugins[@]}; do + einfo " removing ${arg}" + if [[ -e "beetsplug/${arg}.py" ]]; then + rm beetsplug/${arg}.py || die
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: a5c9a3d5d0ec26b29eb77c12bbe7b8d2c9e720e7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 1 12:59:22 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 1 14:26:02 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c9a3d5 media-sound/beets: Fix minimum dev-python/jellyfish dep Closes: https://bugs.gentoo.org/686806 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Andreas Sturmlechner gentoo.org> .../beets/{beets-1.4.8.ebuild => beets-1.4.8-r1.ebuild}| 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/media-sound/beets/beets-1.4.8.ebuild b/media-sound/beets/beets-1.4.8-r1.ebuild similarity index 93% rename from media-sound/beets/beets-1.4.8.ebuild rename to media-sound/beets/beets-1.4.8-r1.ebuild index 432eaabd985..4cfc7d72806 100644 --- a/media-sound/beets/beets-1.4.8.ebuild +++ b/media-sound/beets/beets-1.4.8-r1.ebuild @@ -3,24 +3,24 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -PYTHON_REQ_USE="sqlite" -inherit distutils-r1 - MY_PV=${PV/_beta/-beta.} MY_P=${PN}-${MY_PV} -DESCRIPTION="A media library management system for obsessive-compulsive music geeks" +PYTHON_COMPAT=( python3_{5,6} ) +PYTHON_REQ_USE="sqlite" +inherit distutils-r1 + +DESCRIPTION="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.org/project/beets/; KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="MIT" -IUSE="badfiles chromaprint doc discogs ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" +IUSE="badfiles chromaprint discogs doc ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" RDEPEND=" - dev-python/jellyfish[${PYTHON_USEDEP}] + >=dev-python/jellyfish-0.7.1[${PYTHON_USEDEP}] dev-python/munkres[${PYTHON_USEDEP}] >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/files/, media-sound/beets/
commit: 81d59ed7eb5a822322ed388560552aacc1b62ae9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 19 15:26:57 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 19 16:55:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d59ed7 media-sound/beets: 1.4.8 version bump Closes: https://bugs.gentoo.org/683814 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.4.8.ebuild | 141 + .../files/beets-1.4.8-imagemagick-detection.patch | 23 3 files changed, 165 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index e6047ad865d..0d2b246872b 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,2 @@ DIST beets-1.4.7.tar.gz 1458621 BLAKE2B f7dd19a7dd92415c29e9b1a7932ba33cb5d43000d35a58b2f42c1487db68c6374dd159960f67e1ac68722693d91d364b24297fb2c0c86a39b82fe5b40a1e739d SHA512 6663a2ffece208a510fce9f5d3dd9c8e617cab60cdb994f7bdb13fd759cfea8882290c75c3cdf4f6de9c7d9b78845b6ed29f98b41c787c89ff8782e4ac3ec152 +DIST beets-1.4.8.tar.gz 1493539 BLAKE2B 63c44f05bbf139cd43b5f5ada972fd30beeea2303c6b479b1be35ea21fabb0039b3c8eb6e90f8f1b2a61fed36d97ce09a32c6346cbd3b84c7c978e796505f4b4 SHA512 449bed88185a5ecb4781719e092c2428ddc52fb8084033db64a4c0eca8899154192e7cea82517993d60326c7fe39b26429584ba368ffc35800f722d8d6a03217 diff --git a/media-sound/beets/beets-1.4.8.ebuild b/media-sound/beets/beets-1.4.8.ebuild new file mode 100644 index 000..432eaabd985 --- /dev/null +++ b/media-sound/beets/beets-1.4.8.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) +PYTHON_REQ_USE="sqlite" +inherit distutils-r1 + +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.org/project/beets/; + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MIT" +IUSE="badfiles chromaprint doc discogs ffmpeg gstreamer icu lastfm mpd replaygain test thumbnail webserver" + +RDEPEND=" + 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/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) + icu? ( dev-db/sqlite[icu] ) + lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) + mpd? ( + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + gstreamer? ( media-plugins/gst-plugins-meta:1.0 ) + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-libs/gst-plugins-good:1.0 + media-plugins/gst-plugins-meta:1.0[ffmpeg] + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + ) +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +RESTRICT="test" # tests broken in 1.4.3 already + +PATCHES=( "${FILESDIR}/${P}-imagemagick-detection.patch" ) + +S=${WORKDIR}/${MY_P} + +src_prepare() { + rm_use_plugins() { + [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" + local use=${1} + local plugins=${use} + use ${use} && return + einfo "no ${use}:" + [[ $# -gt 1 ]] && plugins="${@:2}" + for arg in ${plugins[@]}; do + einfo " removing ${arg}" + if [[ -e "beetsplug/${arg}.py" ]]; then +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 0217f3cbcb93b8d24f0aaa74e5dff5d95cdc5317 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 19 15:28:04 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 19 16:55:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0217f3cb media-sound/beets: Drop 1.4.7 Bug: https://bugs.gentoo.org/683814 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/beets/Manifest | 1 - media-sound/beets/beets-1.4.7.ebuild | 137 --- 2 files changed, 138 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 0d2b246872b..a75afe9cac4 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,2 +1 @@ -DIST beets-1.4.7.tar.gz 1458621 BLAKE2B f7dd19a7dd92415c29e9b1a7932ba33cb5d43000d35a58b2f42c1487db68c6374dd159960f67e1ac68722693d91d364b24297fb2c0c86a39b82fe5b40a1e739d SHA512 6663a2ffece208a510fce9f5d3dd9c8e617cab60cdb994f7bdb13fd759cfea8882290c75c3cdf4f6de9c7d9b78845b6ed29f98b41c787c89ff8782e4ac3ec152 DIST beets-1.4.8.tar.gz 1493539 BLAKE2B 63c44f05bbf139cd43b5f5ada972fd30beeea2303c6b479b1be35ea21fabb0039b3c8eb6e90f8f1b2a61fed36d97ce09a32c6346cbd3b84c7c978e796505f4b4 SHA512 449bed88185a5ecb4781719e092c2428ddc52fb8084033db64a4c0eca8899154192e7cea82517993d60326c7fe39b26429584ba368ffc35800f722d8d6a03217 diff --git a/media-sound/beets/beets-1.4.7.ebuild b/media-sound/beets/beets-1.4.7.ebuild deleted file mode 100644 index 580bf88dca8..000 --- a/media-sound/beets/beets-1.4.7.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -PYTHON_REQ_USE="sqlite" -inherit distutils-r1 - -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.org/project/beets/; - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="MIT" -IUSE="badfiles chromaprint doc discogs ffmpeg gstreamer lastfm mpd replaygain test thumbnail webserver" - -RDEPEND=" - 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/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] - virtual/python-enum34[${PYTHON_USEDEP}] - badfiles? ( - media-libs/flac - media-sound/mp3val - ) - chromaprint? ( - dev-python/pyacoustid[${PYTHON_USEDEP}] - media-libs/chromaprint[tools] - ) - discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ffmpeg? ( media-video/ffmpeg:0[encode] ) - lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) - mpd? ( - dev-python/bluelet[${PYTHON_USEDEP}] - dev-python/python-mpd[${PYTHON_USEDEP}] - gstreamer? ( media-plugins/gst-plugins-meta:1.0 ) - ) - replaygain? ( - gstreamer? ( - dev-python/pygobject:3[${PYTHON_USEDEP}] - media-libs/gst-plugins-good:1.0 - media-plugins/gst-plugins-meta:1.0[ffmpeg] - ) - !gstreamer? ( media-sound/mp3gain ) - ) - thumbnail? ( - dev-python/pyxdg[${PYTHON_USEDEP}] - virtual/python-pathlib[${PYTHON_USEDEP}] - || ( - dev-python/pillow[${PYTHON_USEDEP}] - media-gfx/imagemagick - ) - ) - webserver? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - ) -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -RESTRICT="test" # tests broken in 1.4.3 already - -S=${WORKDIR}/${MY_P} - -src_prepare() { - rm_use_plugins() { - [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" - local use=${1} - local plugins=${use} - use ${use} && return - einfo "no ${use}:" - [[ $# -gt 1 ]] && plugins="${@:2}" - for arg in ${plugins[@]}; do - einfo " removing ${arg}" - if [[ -e "beetsplug/${arg}.py" ]]; then - rm beetsplug/${arg}.py || die "Unable to remove ${arg} plugin" - fi - if [[ -d "beetsplug/${arg}" ]]; then -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 4a879481536068780fda845e214f5f6f28128860 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 5 20:43:42 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 5 21:06:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a879481 media-sound/beets: Remove USE flac,ogg,opus; fix USE gstreamer They were effectively only used if USE +replaygain +gstreamer were enabled, not ticking any build switches but purely forwarding USE dependencies. Depend on media-plugins/gst-plugins-meta instead. gstreamer is also being used if USE +mpd. Reviewed-by: Mart Raudsepp gentoo.org> Quote: replaygain uses decodebin, thus should depend on media-plugins/gst-plugins-meta:1.0 to pull in any decided by user decoders. It uses rganalysis explicitly, for which it needs to depend on media-libs/gst-plugins-good:1.0. Other explicitly used elements are all from core or base, thus the gst-plugins-meta dep will cover it, or you can be explicit (core = media-libs/gstreamer). Additionally there is beetsplug/bpd/gstplayer.py that uses playbin. I don't know what that thing is about, but it seems irrelevant to replaygain, so might want a gstreamer? ( media-plugins/gst-plugins-meta:1.0 ) independent of USE=replaygain, if it's optional enough to work fine without it installed without losing anything important. Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-sound/beets/beets-1.4.7.ebuild | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/media-sound/beets/beets-1.4.7.ebuild b/media-sound/beets/beets-1.4.7.ebuild index 7a21e504abd..b0ea1935a00 100644 --- a/media-sound/beets/beets-1.4.7.ebuild +++ b/media-sound/beets/beets-1.4.7.ebuild @@ -17,7 +17,7 @@ HOMEPAGE="http://beets.io/ https://pypi.org/project/beets/; KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="MIT" -IUSE="badfiles chromaprint doc discogs ffmpeg flac gstreamer lastfm mpd ogg opus replaygain test thumbnail webserver" +IUSE="badfiles chromaprint doc discogs ffmpeg gstreamer lastfm mpd replaygain test thumbnail webserver" RDEPEND=" dev-python/jellyfish[${PYTHON_USEDEP}] @@ -45,15 +45,13 @@ RDEPEND=" mpd? ( dev-python/bluelet[${PYTHON_USEDEP}] dev-python/python-mpd[${PYTHON_USEDEP}] + gstreamer? ( media-plugins/gst-plugins-meta:1.0 ) ) replaygain? ( gstreamer? ( dev-python/pygobject:3[${PYTHON_USEDEP}] - media-libs/gstreamer:1.0[introspection] - media-libs/gst-plugins-base:1.0[ogg?] media-libs/gst-plugins-good:1.0 - flac? ( media-plugins/gst-plugins-flac:1.0 ) - opus? ( media-plugins/gst-plugins-opus:1.0 ) + media-plugins/gst-plugins-meta:1.0 ) !gstreamer? ( media-sound/mp3gain ) )
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 9d8706f11b83454bf7c9ed4c27c8707c77446513 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 5 21:04:23 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 5 21:06:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8706f1 media-sound/beets: +replaygain,+gstreamer needs gst-plugins-meta[ffmpeg] Reported-by: protonmail.com> Closes: https://bugs.gentoo.org/663398 Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-sound/beets/beets-1.4.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/beets/beets-1.4.7.ebuild b/media-sound/beets/beets-1.4.7.ebuild index b0ea1935a00..580bf88dca8 100644 --- a/media-sound/beets/beets-1.4.7.ebuild +++ b/media-sound/beets/beets-1.4.7.ebuild @@ -51,7 +51,7 @@ RDEPEND=" gstreamer? ( dev-python/pygobject:3[${PYTHON_USEDEP}] media-libs/gst-plugins-good:1.0 - media-plugins/gst-plugins-meta:1.0 + media-plugins/gst-plugins-meta:1.0[ffmpeg] ) !gstreamer? ( media-sound/mp3gain ) )
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 9923e14b1646b58c044afae815684290744fa1f3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Aug 22 14:11:05 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 5 21:06:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9923e14b media-sound/beets: 1.4.7 version bump with many improvements EAPI-6 bump. python3 support. Decouple use flag names from plugin names with rm_use_plugins() Consolidate various use flags and use more common names. Re-add USE replaygain. Add missing || die. Add missing USE=badfiles handling. Fix and sort RDEPENDs. Tests are broken since at least 1.4.3. Bug: https://bugs.gentoo.org/625974 Closes: https://bugs.gentoo.org/563380 Closes: https://bugs.gentoo.org/625578 Package-Manager: Portage-2.3.48, Repoman-2.3.10 media-sound/beets/Manifest | 1 + media-sound/beets/beets-1.4.7.ebuild | 139 +++ media-sound/beets/metadata.xml | 6 ++ 3 files changed, 146 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index f620929dd77..6f517f7471e 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,2 @@ DIST beets-1.4.3.tar.gz 1428494 BLAKE2B 29adc617c4efbb304b05c6bc027a09fd34c11af70b22a86a329fe9048de31828f729114db929e97b103a6f6d8210c0b74716f327f8b4f853f745433fea5f1e14 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d +DIST beets-1.4.7.tar.gz 1458621 BLAKE2B f7dd19a7dd92415c29e9b1a7932ba33cb5d43000d35a58b2f42c1487db68c6374dd159960f67e1ac68722693d91d364b24297fb2c0c86a39b82fe5b40a1e739d SHA512 6663a2ffece208a510fce9f5d3dd9c8e617cab60cdb994f7bdb13fd759cfea8882290c75c3cdf4f6de9c7d9b78845b6ed29f98b41c787c89ff8782e4ac3ec152 diff --git a/media-sound/beets/beets-1.4.7.ebuild b/media-sound/beets/beets-1.4.7.ebuild new file mode 100644 index 000..7a21e504abd --- /dev/null +++ b/media-sound/beets/beets-1.4.7.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) +PYTHON_REQ_USE="sqlite" +inherit distutils-r1 + +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.org/project/beets/; + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MIT" +IUSE="badfiles chromaprint doc discogs ffmpeg flac gstreamer lastfm mpd ogg opus replaygain test thumbnail webserver" + +RDEPEND=" + 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/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + badfiles? ( + media-libs/flac + media-sound/mp3val + ) + chromaprint? ( + dev-python/pyacoustid[${PYTHON_USEDEP}] + media-libs/chromaprint[tools] + ) + discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ffmpeg? ( media-video/ffmpeg:0[encode] ) + lastfm? ( dev-python/pylast[${PYTHON_USEDEP}] ) + mpd? ( + dev-python/bluelet[${PYTHON_USEDEP}] + dev-python/python-mpd[${PYTHON_USEDEP}] + ) + replaygain? ( + gstreamer? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-libs/gstreamer:1.0[introspection] + media-libs/gst-plugins-base:1.0[ogg?] + media-libs/gst-plugins-good:1.0 + flac? ( media-plugins/gst-plugins-flac:1.0 ) + opus? ( media-plugins/gst-plugins-opus:1.0 ) + ) + !gstreamer? ( media-sound/mp3gain ) + ) + thumbnail? ( + dev-python/pyxdg[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + || ( + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/imagemagick + ) + ) + webserver? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + ) +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +RESTRICT="test" # tests broken in 1.4.3 already + +S=${WORKDIR}/${MY_P} + +src_prepare() { + rm_use_plugins() { + [[ -n "${1}" ]] || die "rm_use_plugins: No use option given" +
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 338e033483efc12d7bbe7e78a01e6262942b8a57 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 5 20:56:36 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 5 21:06:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=338e0334 media-sound/beets: Drop old Closes: https://bugs.gentoo.org/625974 Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-sound/beets/Manifest | 1 - media-sound/beets/beets-1.4.3-r1.ebuild | 96 - media-sound/beets/metadata.xml | 9 3 files changed, 106 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 6f517f7471e..e6047ad865d 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,2 +1 @@ -DIST beets-1.4.3.tar.gz 1428494 BLAKE2B 29adc617c4efbb304b05c6bc027a09fd34c11af70b22a86a329fe9048de31828f729114db929e97b103a6f6d8210c0b74716f327f8b4f853f745433fea5f1e14 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d DIST beets-1.4.7.tar.gz 1458621 BLAKE2B f7dd19a7dd92415c29e9b1a7932ba33cb5d43000d35a58b2f42c1487db68c6374dd159960f67e1ac68722693d91d364b24297fb2c0c86a39b82fe5b40a1e739d SHA512 6663a2ffece208a510fce9f5d3dd9c8e617cab60cdb994f7bdb13fd759cfea8882290c75c3cdf4f6de9c7d9b78845b6ed29f98b41c787c89ff8782e4ac3ec152 diff --git a/media-sound/beets/beets-1.4.3-r1.ebuild b/media-sound/beets/beets-1.4.3-r1.ebuild deleted file mode 100644 index 20b305abb9c..000 --- a/media-sound/beets/beets-1.4.3-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2018 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.org/project/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" -REQUIRED_USE="replaygain? ( gstreamer )" - -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 ) ) - ) - 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 - -} -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: fbfcbe19da08a5ecf744b2e3439dffe943029896 Author: Pacho Ramos gentoo org> AuthorDate: Sun Mar 18 11:16:01 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Mar 18 12:40:30 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbfcbe19 media-sound/beets: Disable mp3gain/aacgain support (#643400) Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/beets/{beets-1.4.3.ebuild => beets-1.4.3-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/beets/beets-1.4.3.ebuild b/media-sound/beets/beets-1.4.3-r1.ebuild similarity index 96% rename from media-sound/beets/beets-1.4.3.ebuild rename to media-sound/beets/beets-1.4.3-r1.ebuild index 80bae16a2ef..80af3567acb 100644 --- a/media-sound/beets/beets-1.4.3.ebuild +++ b/media-sound/beets/beets-1.4.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,6 +17,7 @@ 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" +REQUIRED_USE="replaygain? ( gstreamer )" RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}] dev-python/jellyfish[${PYTHON_USEDEP}] @@ -44,7 +45,6 @@ RDEPEND=">=dev-python/enum34-1.0.4[${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}]
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 85e647a70aff32e1ec536a78555cda705e937802 Author: Pacho Ramos gentoo org> AuthorDate: Sun Mar 18 11:16:41 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Mar 18 12:40:31 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e647a7 media-sound/beets: Drop old Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/beets/Manifest | 2 - media-sound/beets/beets-1.3.13-r1.ebuild | 90 media-sound/beets/beets-1.3.19.ebuild| 90 3 files changed, 182 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 158a6e2fd40..f620929dd77 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,3 +1 @@ -DIST beets-1.3.13.tar.gz 1269748 BLAKE2B 1e22618ad38342abcb6b5061e7191d0798aa15d885c2cc1831e9953e814decc68843a8275e931dc73bf2607298665e9aae56fe942f15342f78bf66155c5c5ff7 SHA512 ffee7e16a115f16c26ab07a75e614746cd5871a7311660d37978deff34245f3aeab97b1a453fc0900442f40e6ac7d102c5adfce910edfec78387fc149fbea261 -DIST beets-1.3.19.tar.gz 1349402 BLAKE2B c153ec5328b4171841b09168930c224f10b0e8a2285bb90c853baa76fab549aa427eea27968a0f97b32273e540d0e9ac8aa74bcad09d7b9ad700b8da18686104 SHA512 86d2bae8d047a81b7a21f3fc322bb23e383193004de02e8ba0641d564054b58c8828dd112ba437e6fb1d40d9b9521d00b7717c29f33b88b8b559cdbf0ca407ae DIST beets-1.4.3.tar.gz 1428494 BLAKE2B 29adc617c4efbb304b05c6bc027a09fd34c11af70b22a86a329fe9048de31828f729114db929e97b103a6f6d8210c0b74716f327f8b4f853f745433fea5f1e14 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d diff --git a/media-sound/beets/beets-1.3.13-r1.ebuild b/media-sound/beets/beets-1.3.13-r1.ebuild deleted file mode 100644 index 2382db78d40..000 --- a/media-sound/beets/beets-1.3.13-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# 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 -
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: 50ea6e227e5b6340aa926b1060efba4605023a61 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Feb 20 00:36:02 2017 + Commit: Robin H. Johnson gentoo org> CommitDate: Mon Feb 20 00:36:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ea6e22 media-sound/beets: bump. Package-Manager: portage-2.3.2 media-sound/beets/Manifest| 2 + media-sound/beets/beets-1.3.19.ebuild | 91 media-sound/beets/beets-1.4.3.ebuild | 97 +++ media-sound/beets/metadata.xml| 5 ++ 4 files changed, 195 insertions(+) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index 5fc04fe9c0..337f74570f 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1 +1,3 @@ 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 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 00..3ad0373fb3 --- /dev/null +++ b/media-sound/beets/beets-1.3.19.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: c1f1611b6ba7693f660ef0d6d85ac4276613278f Author: Michael Palimaka gentoo org> AuthorDate: Wed Aug 10 20:17:15 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Wed Aug 10 20:18:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f1611b media-sound/beets: remove echonest USE flag Gentoo-bug: 587976 Package-Manager: portage-2.3.0 media-sound/beets/beets-1.3.13-r1.ebuild | 91 1 file changed, 91 insertions(+) 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 000..1480cc5 --- /dev/null +++ b/media-sound/beets/beets-1.3.13-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/ +}
[gentoo-commits] repo/gentoo:master commit in: media-sound/beets/
commit: e2b144ff5fdf186e248e630a5f4be391fa8c4f0b Author: Michael Palimaka gentoo org> AuthorDate: Wed Aug 10 20:17:46 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Wed Aug 10 20:18:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b144ff media-sound/beets: remove old Package-Manager: portage-2.3.0 media-sound/beets/Manifest | 1 - media-sound/beets/beets-1.3.13.ebuild | 89 - media-sound/beets/beets-1.3.3-r1.ebuild | 87 media-sound/beets/metadata.xml | 5 -- 4 files changed, 182 deletions(-) diff --git a/media-sound/beets/Manifest b/media-sound/beets/Manifest index f7bae6d..5fc04fe 100644 --- a/media-sound/beets/Manifest +++ b/media-sound/beets/Manifest @@ -1,2 +1 @@ DIST beets-1.3.13.tar.gz 1269748 SHA256 6d973c3484079b22b7d281f771a97c03f9bb14bdd94f45b673f9d754875b2c59 SHA512 ffee7e16a115f16c26ab07a75e614746cd5871a7311660d37978deff34245f3aeab97b1a453fc0900442f40e6ac7d102c5adfce910edfec78387fc149fbea261 WHIRLPOOL 79b345612b04965aa6d4b7cc819d7ed1942b5686bf3990612f2c243dc47a2cfc3f15550f97ee30502ce42f4c24cf2ade27e9db6393f40022ffedf6842f4dc05c -DIST beets-1.3.3.tar.gz 679050 SHA256 028e08b7bab2f9c14063f318e617fa82716410170753d6b2dbe8471a8bb1975e SHA512 0e715b4d042a96c5c521f8acc12c481baad11fb9ff2b825984f6f46a1ed6dea876000fde292851292c4466e9df93ec0439d2c0f57241174014ffbb46225792ab WHIRLPOOL 673bb1cafa6c211ef2c709062dc322437574a874e3997319542b65c677525365c94eb9d2fcac403e0c6e59440e8beb3e50558204d216025981418fdf6e3c diff --git a/media-sound/beets/beets-1.3.13.ebuild b/media-sound/beets/beets-1.3.13.ebuild deleted file mode 100644 index b8a2a7c..000 --- a/media-sound/beets/beets-1.3.13.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 echonest 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}] ) - echonest? ( >=dev-python/pyechonest-8.0.1[${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 echonest 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" -} -