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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBF0B1382C5 for ; Wed, 12 May 2021 06:33:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BD5BE07B3; Wed, 12 May 2021 06:33:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13978E07B3 for ; Wed, 12 May 2021 06:33:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA7B0340C53 for ; Wed, 12 May 2021 06:33:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB4F04C3 for ; Wed, 12 May 2021 06:33:23 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1620801200.decc9a95636cfaff6335a76a96ca6eefa6ecdf34.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/picard/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/picard/Manifest media-sound/picard/picard-2.6.2.ebuild X-VCS-Directories: media-sound/picard/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: decc9a95636cfaff6335a76a96ca6eefa6ecdf34 X-VCS-Branch: master Date: Wed, 12 May 2021 06:33:23 +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: b9301252-cd11-4dbc-84a8-93f45bfebcaa X-Archives-Hash: 5ba7b6071a76baa17ebd7e130ad2c468 commit: decc9a95636cfaff6335a76a96ca6eefa6ecdf34 Author: Miroslav Šulc gentoo org> AuthorDate: Wed May 12 06:33:09 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed May 12 06:33:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=decc9a95 media-sound/picard: bump to 2.6.2 thanks to Michael Schmid gmx.ch> Closes: https://bugs.gentoo.org/787509 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/picard/Manifest | 1 + media-sound/picard/picard-2.6.2.ebuild | 73 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index 38be1fcb13d..3ae05b2f162 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1 +1,2 @@ DIST picard-2.4.2.tar.gz 4096438 BLAKE2B a44e82ac1a0ad776eb371309ad13f0a5e9afe4a0fe8b898dbbcb71ac554da3ff7cf4a2d88a8e476c811dfeb515ca7371ca8effb326b9285e6c53ebeac6795c15 SHA512 17f6015dd06a1282e6dc216726a74cc7bf2a54a5694e09e2d7ae6f1b4c85f2f60f3de1218d952fa2c4e088b3330d1fd12e4b41cf819d7c3d2d96278532338e15 +DIST picard-2.6.2.tar.gz 4318817 BLAKE2B 9b4b9837fc7703368f28f2451c230ee9cb4826b61a970c514162bf615461d942512764661295bba98499000e781662e3a001c5fc91571abbafce8d7bc7418a63 SHA512 01fc8f49b273edbd020e3c9f91d622e60a84421b6de9dfd584d086224897b81f5e7c3f94616341c56f952774af7d912a8369d8fff4e47f19e00324c4f6944225 diff --git a/media-sound/picard/picard-2.6.2.ebuild b/media-sound/picard/picard-2.6.2.ebuild new file mode 100644 index 00000000000..c395e2d4e27 --- /dev/null +++ b/media-sound/picard/picard-2.6.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_SINGLE_IMPL=1 +DISABLE_AUTOFORMATTING=true +inherit distutils-r1 xdg + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/metabrainz/picard" + inherit git-r3 +else + SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-release-${PV}" +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_MULTI_USEDEP}] + dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_MULTI_USEDEP}] + dev-python/python-dateutil[${PYTHON_MULTI_USEDEP}] + ') + dev-qt/qtgui:5 + media-libs/mutagen + discid? ( dev-python/python-discid ) + fingerprints? ( media-libs/chromaprint[tools] ) +" + +RESTRICT="test" # doesn't work with ebuilds + +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[@]} +} + +python_install_all() { + distutils-r1_python_install_all + + if [[ -n "${REPLACING_VERSIONS}" ]]; then + elog "If you are upgrading Picard and it does not start, try removing" + elog "Picard's settings:" + elog " rm ~/.config/MusicBrainz/Picard.conf" + fi +}