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 03D8B138334 for ; Thu, 14 Feb 2019 18:37:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EBF6E08DB; Thu, 14 Feb 2019 18:37:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 00086E08C8 for ; Thu, 14 Feb 2019 18:37:05 +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 D3A10335CCD for ; Thu, 14 Feb 2019 18:37:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1BB0556 for ; Thu, 14 Feb 2019 18:37:00 +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: <1550169372.a8752d3cf6e24ed8be70f6c78f83ff9728bcf403.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-9999.ebuild X-VCS-Directories: media-sound/picard/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a8752d3cf6e24ed8be70f6c78f83ff9728bcf403 X-VCS-Branch: master Date: Thu, 14 Feb 2019 18:37:00 +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: 140426ae-8a32-455a-bb9a-88d4bad1a213 X-Archives-Hash: 4d875d88016d5a9cc87763fb1355015b commit: a8752d3cf6e24ed8be70f6c78f83ff9728bcf403 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 14 18:09:21 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 14 18:36:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8752d3c media-sound/picard: Switch from gnome2-utils to xdg, EAPI-7 bump Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/picard/picard-9999.ebuild | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild index e29c2cbc2b5..17fd6142062 100644 --- a/media-sound/picard/picard-9999.ebuild +++ b/media-sound/picard/picard-9999.ebuild @@ -1,29 +1,34 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{5,6,7} ) DISTUTILS_SINGLE_IMPL=1 DISABLE_AUTOFORMATTING=true -EGIT_REPO_URI="https://github.com/metabrainz/picard" -inherit distutils-r1 git-r3 gnome2-utils readme.gentoo-r1 xdg-utils +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" +fi +inherit distutils-r1 readme.gentoo-r1 xdg DESCRIPTION="A cross-platform music tagger" HOMEPAGE="https://picard.musicbrainz.org" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="" IUSE="nls" +BDEPEND=" + nls? ( dev-qt/linguist-tools:5 ) +" RDEPEND=" dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}] dev-qt/qtgui:5[accessibility] >=media-libs/mutagen-1.38" -DEPEND=" - nls? ( dev-qt/linguist-tools:5 ) -" RESTRICT="test" # doesn't work with ebuilds @@ -65,11 +70,5 @@ Picard's settings: pkg_postinst() { readme.gentoo_print_elog - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update + xdg_pkg_postinst }