From aafa76b32d8099c62e5ef874ef706d5d430d08f0 Mon Sep 17 00:00:00 2001 From: Arsen Arsenović Date: Sun, 24 Oct 2021 09:22:50 +0200 Subject: media-sound/beets: update 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 9999 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ć Closes: https://github.com/gentoo/gentoo/pull/22663 Signed-off-by: Sam James --- media-sound/beets/beets-9999.ebuild | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'media-sound/beets') diff --git a/media-sound/beets/beets-9999.ebuild b/media-sound/beets/beets-9999.ebuild index e6e0f8dd5eb2..7d2995240430 100644 --- a/media-sound/beets/beets-9999.ebuild +++ b/media-sound/beets/beets-9999.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 -- cgit v1.2.3-65-gdbad