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 5FB211382C5 for ; Wed, 7 Mar 2018 00:59:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A367E0A60; Wed, 7 Mar 2018 00:59:01 +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 4808FE0A60 for ; Wed, 7 Mar 2018 00:59:01 +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 CABAE335C09 for ; Wed, 7 Mar 2018 00:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2396423D for ; Wed, 7 Mar 2018 00:58:58 +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: <1520384322.b0d943375d709508e5c4111cc3c2773995151505.asturm@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.0.0_beta1.ebuild X-VCS-Directories: media-sound/picard/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b0d943375d709508e5c4111cc3c2773995151505 X-VCS-Branch: master Date: Wed, 7 Mar 2018 00:58:58 +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-Archives-Salt: 44e24038-12a8-42b9-b3f4-961d4fddf2a1 X-Archives-Hash: 1ecbabfa28e038902d1740e33e5c6706 commit: b0d943375d709508e5c4111cc3c2773995151505 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Mar 7 00:42:50 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Mar 7 00:58:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d94337 media-sound/picard: 2.0.0_beta1 version bump Bug: https://bugs.gentoo.org/644554 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/picard/Manifest | 1 + media-sound/picard/picard-2.0.0_beta1.ebuild | 77 ++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index ecfb637d82f..e0d5426b745 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1 +1,2 @@ DIST picard-1.4.2.tar.gz 2116021 BLAKE2B 9629d312df20a8c69b383b424724ef4cf9f774ae70b9e11b1c6c7f96cafea575657875642af70a73633ca79eb8c79237ada16dd5ff7c021d4bdb4a0df7890de3 SHA512 5e4a6a8cfadd86b7015ab77da1969acec26e0ed92564c6634afeee5060d33d34e8fc83015880e6c8f17df66c8d15b86a85031dbe5b596c995579fb449cf8a74e +DIST picard-2.0.0_beta1.tar.gz 2661429 BLAKE2B ebffb2651e778c2cec8a4e41307d99c30038f36096b343489d7384b1cb4ac9a3492f23a4c69ec8a0be59306efc5cf4c9098a114445be6965ed243156dcee2803 SHA512 e2fc5dadf3e469df4ed16b1827909a60a54e7dc047e1ecd80480d9283a5795e3e792b31970eb6834590ba2ea12378ec18ef404b47237c38299350ee1d9acec9d diff --git a/media-sound/picard/picard-2.0.0_beta1.ebuild b/media-sound/picard/picard-2.0.0_beta1.ebuild new file mode 100644 index 00000000000..504aadd08a1 --- /dev/null +++ b/media-sound/picard/picard-2.0.0_beta1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +DISTUTILS_SINGLE_IMPL=1 +DISABLE_AUTOFORMATTING=true + +inherit distutils-r1 readme.gentoo-r1 xdg-utils + +DESCRIPTION="A cross-platform music tagger" +HOMEPAGE="https://picard.musicbrainz.org" +SRC_URI="https://github.com/metabrainz/${PN}/archive/${PV/_beta1/.dev4}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +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 + +# upstream quickly renamed to dev4 after buildsystem and runtime(!) were broken by 'beta1' +S="${WORKDIR}/${P/_beta1/.dev4}" + +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 + + local DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable +calculation and lookup of AcoustID fingerprints. + +Install optional package dev-python/python-discid to enable +calculation and lookup of compact disc identifiers (disc IDs). + +If you are upgrading Picard and it does not start, try removing +Picard's settings: + rm ~/.config/MusicBrainz/Picard.conf" + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}