Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/picard/
Date: Mon, 17 Apr 2017 07:26:43
Message-Id: 1492413983.cb1f0608599023e67a0819874d820c65d5eef37a.asturm@gentoo
1 commit: cb1f0608599023e67a0819874d820c65d5eef37a
2 Author: David Hicks <david <AT> hicks <DOT> id <DOT> au>
3 AuthorDate: Mon Mar 13 11:49:40 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 17 07:26:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1f0608
7
8 media-sound/picard: 1.4.1 version bump
9
10 Changes made:
11 * convert DOCS to array and add README.md
12 * use correct python_ phase functions instead of src_
13 * make explicit the passing the phase variables to setup.py
14 * remove doicon and domenu commands which are no longer required
15 * remove BROWSER setting documentation
16 Picard is able to determine default browser on Gnome and Plasma systems
17 Reference: https://picard.musicbrainz.org/docs/faq/#which-browser
18 * make chromaprint and python-discid runtime optional
19 Optional runtime dependencies are:
20 - chromaprint[tools]
21 - python-discid
22
23 Refer to https://devmanual.gentoo.org/general-concepts/use-flags/ for
24 information on why these dependencies should not be listed in DEPEND
25 and/or RDEPEND. Picard is capable of executing correctly with and
26 without these dependencies installed on the system. A user can install
27 these dependencies at a later stage and Picard will recognise them
28 without a need to rebuild the media-sound/picard package.
29
30 Gentoo-bug: 609376
31 Package-Manager: Portage-2.3.5, Repoman-2.3.2
32 Closes: https://github.com/gentoo/gentoo/pull/4196
33
34 media-sound/picard/Manifest | 1 +
35 media-sound/picard/picard-1.4.1.ebuild | 68 ++++++++++++++++++++++++++++++++++
36 2 files changed, 69 insertions(+)
37
38 diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
39 index 22485336fe3..5025a3d472f 100644
40 --- a/media-sound/picard/Manifest
41 +++ b/media-sound/picard/Manifest
42 @@ -1,2 +1,3 @@
43 DIST picard-1.3.1.tar.gz 2047677 SHA256 f83ec4ab703134a3dbd8203a2b30c15ea87bec79c02446506e4dce1ec87f7d02 SHA512 72641e1f604cc3db339400511e1b37ce513f315e200af3ed25dd842cfa32b8b0a3b93cf60cd01b565be49f95931e7da36742efeb45a4619351acbe70edb511c5 WHIRLPOOL ace3cb441038e09888a2985e2f23149bcaa665d311a2bbd583648e17aeee4453168fc5e9df68b8fcd6acf772e1e4b4e33329643cb840f3355b2a1f420763bcb1
44 DIST picard-1.3.2.tar.gz 2047760 SHA256 e728234560b82eb33d3143a53d3bbb92833455fd130f8d2083193cffceea4120 SHA512 d5613dd0b29f67a754a9449c6ebb29e4f7a519137dbcd29b03e64678ba49c75542573487c1f95047c0ab43630794fd92365a46dc9820347ffd2eae5a04e531be WHIRLPOOL 5c3cbd5860162ede0150f7e680d7732f38c875e5475fb16dfac2f6f7d51979678567fe677a2887197db963fdf1a75f1ba4f45d132e9fc0923a2d726ffe30a019
45 +DIST picard-1.4.1.tar.gz 2101829 SHA256 994c7f835e1adbd7905e88af841ee6e7c249dc75b8be9963b1b3dc6cb8de6a4a SHA512 3b9508101a52bfde060d9503f11a3c3fd6955c114c46c07ba6f299471f3682cf22b97c955c2b6990bd245fac30626fdbd17d1cb7b23b17839a51ec91091cc42d WHIRLPOOL 4a771205f621b0c9ffab43f0af830382d6af6b57085ac9ef00538758e7e1d6499f3283c6ecd46d23c01aa205a2c3e704e04d345c5cd8ac00b8dc6440a6e149ed
46
47 diff --git a/media-sound/picard/picard-1.4.1.ebuild b/media-sound/picard/picard-1.4.1.ebuild
48 new file mode 100644
49 index 00000000000..16d806db46f
50 --- /dev/null
51 +++ b/media-sound/picard/picard-1.4.1.ebuild
52 @@ -0,0 +1,68 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +PYTHON_COMPAT=( python2_7 )
58 +DISTUTILS_SINGLE_IMPL=1
59 +DISABLE_AUTOFORMATTING=true
60 +inherit distutils-r1 readme.gentoo-r1
61 +
62 +DESCRIPTION="A cross-platform music tagger"
63 +HOMEPAGE="https://picard.musicbrainz.org"
64 +SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${P}.tar.gz"
65 +
66 +LICENSE="GPL-2+"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~ppc ~x86"
69 +IUSE="nls"
70 +
71 +DEPEND="
72 + dev-python/PyQt4[X,${PYTHON_USEDEP}]
73 + dev-qt/qtgui:4[accessibility]
74 + media-libs/mutagen"
75 +RDEPEND="${DEPEND}"
76 +
77 +RESTRICT="test" # doesn't work with ebuilds
78 +S="${WORKDIR}/${PN}-release-${PV}"
79 +
80 +DOCS=( AUTHORS.txt NEWS.txt README.md )
81 +
82 +DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
83 +calculation and lookup of AcoustID fingerprints.
84 +
85 +Install optional package dev-python/python-discid to enable
86 +calculation and lookup of compact disc identifiers (disc IDs).
87 +
88 +If you are upgrading Picard and it does not start, try removing
89 +Picard's settings:
90 + rm ~/.config/MusicBrainz/Picard.conf"
91 +
92 +python_compile() {
93 + local build_args=(
94 + --disable-autoupdate
95 + )
96 + if ! use nls; then
97 + build_args+=( --disable-locales )
98 + fi
99 + distutils-r1_python_compile ${build_args[@]}
100 +}
101 +
102 +python_install() {
103 + local install_args=(
104 + --disable-autoupdate
105 + --skip-build
106 + )
107 + if ! use nls; then
108 + install_args+=( --disable-locales )
109 + fi
110 + distutils-r1_python_install ${install_args[@]}
111 +}
112 +
113 +python_install_all() {
114 + distutils-r1_python_install_all
115 + readme.gentoo_create_doc
116 +}
117 +
118 +pkg_postinst() {
119 + readme.gentoo_print_elog
120 +}