From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 528061584AD for ; Fri, 18 Apr 2025 22:28:17 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3451A342FF8 for ; Fri, 18 Apr 2025 22:28:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 22EA0110494; Fri, 18 Apr 2025 22:28:16 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 15667110494 for ; Fri, 18 Apr 2025 22:28:16 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A66E342FF8 for ; Fri, 18 Apr 2025 22:28:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF0481862 for ; Fri, 18 Apr 2025 22:28:13 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1745015185.302f9a11d4740ada4961cb5fb122fbb26674d8bc.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/picard/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/picard/picard-2.13.3-r1.ebuild X-VCS-Directories: media-sound/picard/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 302f9a11d4740ada4961cb5fb122fbb26674d8bc X-VCS-Branch: master Date: Fri, 18 Apr 2025 22:28:13 +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: b92aeb34-9922-4467-9f48-ebabeddce5d7 X-Archives-Hash: fb415df7a459ee31916f6439444201a1 commit: 302f9a11d4740ada4961cb5fb122fbb26674d8bc Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Apr 18 22:25:45 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 18 22:26:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302f9a11 media-sound/picard: Fix 2.13.3 dependencies (Qt5-based, not Qt6) Bug: https://bugs.gentoo.org/949715 Closes: https://bugs.gentoo.org/950567 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/picard/picard-2.13.3-r1.ebuild | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/media-sound/picard/picard-2.13.3-r1.ebuild b/media-sound/picard/picard-2.13.3-r1.ebuild new file mode 100644 index 000000000000..f6e46f6ae2e2 --- /dev/null +++ b/media-sound/picard/picard-2.13.3-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_EXT=1 + +inherit distutils-r1 xdg + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/metabrainz/picard" + inherit git-r3 +else + SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 x86" +fi + +DESCRIPTION="Cross-platform music tagger" +HOMEPAGE="https://picard.musicbrainz.org" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="discid fingerprints nls" + +BDEPEND=" + nls? ( dev-qt/linguist-tools:5 ) +" +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/fasteners[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/pyqt5[declarative,gui,network,widgets,${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + discid? ( dev-python/discid[${PYTHON_USEDEP}] ) + ') + fingerprints? ( media-libs/chromaprint[tools] ) +" + +distutils_enable_tests pytest + +python_compile() { + local build_args=( + --disable-autoupdate + ) + if ! use nls; then + build_args+=( --disable-locales ) + fi + distutils-r1_python_compile ${build_args[@]} +} + +python_install() { + local install_args=( + --disable-autoupdate + --skip-build + ) + if ! use nls; then + install_args+=( --disable-locales ) + fi + distutils-r1_python_install ${install_args[@]} +}