Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/picard/
Date: Thu, 25 May 2017 16:50:25
Message-Id: 1495731005.c188fd4fe837816f038f6182e4787da10c20cf3b.aballier@gentoo
1 commit: c188fd4fe837816f038f6182e4787da10c20cf3b
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 25 16:30:18 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu May 25 16:50:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c188fd4f
7
8 media-sound/picard: bump to 1.4.2
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-sound/picard/Manifest | 1 +
13 media-sound/picard/picard-1.4.2.ebuild | 68 ++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
17 index 5025a3d472f..b6fab78be2c 100644
18 --- a/media-sound/picard/Manifest
19 +++ b/media-sound/picard/Manifest
20 @@ -1,3 +1,4 @@
21 DIST picard-1.3.1.tar.gz 2047677 SHA256 f83ec4ab703134a3dbd8203a2b30c15ea87bec79c02446506e4dce1ec87f7d02 SHA512 72641e1f604cc3db339400511e1b37ce513f315e200af3ed25dd842cfa32b8b0a3b93cf60cd01b565be49f95931e7da36742efeb45a4619351acbe70edb511c5 WHIRLPOOL ace3cb441038e09888a2985e2f23149bcaa665d311a2bbd583648e17aeee4453168fc5e9df68b8fcd6acf772e1e4b4e33329643cb840f3355b2a1f420763bcb1
22 DIST picard-1.3.2.tar.gz 2047760 SHA256 e728234560b82eb33d3143a53d3bbb92833455fd130f8d2083193cffceea4120 SHA512 d5613dd0b29f67a754a9449c6ebb29e4f7a519137dbcd29b03e64678ba49c75542573487c1f95047c0ab43630794fd92365a46dc9820347ffd2eae5a04e531be WHIRLPOOL 5c3cbd5860162ede0150f7e680d7732f38c875e5475fb16dfac2f6f7d51979678567fe677a2887197db963fdf1a75f1ba4f45d132e9fc0923a2d726ffe30a019
23 DIST picard-1.4.1.tar.gz 2101829 SHA256 994c7f835e1adbd7905e88af841ee6e7c249dc75b8be9963b1b3dc6cb8de6a4a SHA512 3b9508101a52bfde060d9503f11a3c3fd6955c114c46c07ba6f299471f3682cf22b97c955c2b6990bd245fac30626fdbd17d1cb7b23b17839a51ec91091cc42d WHIRLPOOL 4a771205f621b0c9ffab43f0af830382d6af6b57085ac9ef00538758e7e1d6499f3283c6ecd46d23c01aa205a2c3e704e04d345c5cd8ac00b8dc6440a6e149ed
24 +DIST picard-1.4.2.tar.gz 2116021 SHA256 f0adee3877bbd66c827a43b57dd2233037b99f6ebfdc1700b26cb9d400992234 SHA512 5e4a6a8cfadd86b7015ab77da1969acec26e0ed92564c6634afeee5060d33d34e8fc83015880e6c8f17df66c8d15b86a85031dbe5b596c995579fb449cf8a74e WHIRLPOOL d7f1adaa7853c3ef0d0b27cd46cfb5b888bf73a3ba965e3654d2b55c8738c69258c7251a2ab41aac3846f0ab9ac613edd99c69b4800f2b38f39eecf66907439d
25
26 diff --git a/media-sound/picard/picard-1.4.2.ebuild b/media-sound/picard/picard-1.4.2.ebuild
27 new file mode 100644
28 index 00000000000..16d806db46f
29 --- /dev/null
30 +++ b/media-sound/picard/picard-1.4.2.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 )
37 +DISTUTILS_SINGLE_IMPL=1
38 +DISABLE_AUTOFORMATTING=true
39 +inherit distutils-r1 readme.gentoo-r1
40 +
41 +DESCRIPTION="A cross-platform music tagger"
42 +HOMEPAGE="https://picard.musicbrainz.org"
43 +SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE="nls"
49 +
50 +DEPEND="
51 + dev-python/PyQt4[X,${PYTHON_USEDEP}]
52 + dev-qt/qtgui:4[accessibility]
53 + media-libs/mutagen"
54 +RDEPEND="${DEPEND}"
55 +
56 +RESTRICT="test" # doesn't work with ebuilds
57 +S="${WORKDIR}/${PN}-release-${PV}"
58 +
59 +DOCS=( AUTHORS.txt NEWS.txt README.md )
60 +
61 +DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
62 +calculation and lookup of AcoustID fingerprints.
63 +
64 +Install optional package dev-python/python-discid to enable
65 +calculation and lookup of compact disc identifiers (disc IDs).
66 +
67 +If you are upgrading Picard and it does not start, try removing
68 +Picard's settings:
69 + rm ~/.config/MusicBrainz/Picard.conf"
70 +
71 +python_compile() {
72 + local build_args=(
73 + --disable-autoupdate
74 + )
75 + if ! use nls; then
76 + build_args+=( --disable-locales )
77 + fi
78 + distutils-r1_python_compile ${build_args[@]}
79 +}
80 +
81 +python_install() {
82 + local install_args=(
83 + --disable-autoupdate
84 + --skip-build
85 + )
86 + if ! use nls; then
87 + install_args+=( --disable-locales )
88 + fi
89 + distutils-r1_python_install ${install_args[@]}
90 +}
91 +
92 +python_install_all() {
93 + distutils-r1_python_install_all
94 + readme.gentoo_create_doc
95 +}
96 +
97 +pkg_postinst() {
98 + readme.gentoo_print_elog
99 +}