From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC7C3158086 for ; Sun, 31 Oct 2021 02:58:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3776E097D; Sun, 31 Oct 2021 02:58:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91CF0E097D for ; Sun, 31 Oct 2021 02:58:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD637343445 for ; Sun, 31 Oct 2021 02:58:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 499B4192 for ; Sun, 31 Oct 2021 02:58:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635649074.aafa76b32d8099c62e5ef874ef706d5d430d08f0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/beets/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/beets/beets-9999.ebuild X-VCS-Directories: media-sound/beets/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aafa76b32d8099c62e5ef874ef706d5d430d08f0 X-VCS-Branch: master Date: Sun, 31 Oct 2021 02:58:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5aa103f9-ed64-4420-a3ed-bc472a15875f X-Archives-Hash: 85b12aecb788e9966d8fc91746ddf8d8 commit: aafa76b32d8099c62e5ef874ef706d5d430d08f0 Author: Arsen Arsenović aarsen me> AuthorDate: Sun Oct 24 07:22:50 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 31 02:57:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafa76b3 media-sound/beets: update 9999 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ć aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/22663 Signed-off-by: Sam James gentoo.org> media-sound/beets/beets-9999.ebuild | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/media-sound/beets/beets-9999.ebuild b/media-sound/beets/beets-9999.ebuild index e6e0f8dd5eb..7d299524043 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