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/files/, media-sound/picard/
Date: Mon, 28 Jan 2019 19:51:49
Message-Id: 1548691968.fbc4f87d196cac00a3788a2b7506a60e098902ac.asturm@gentoo
1 commit: fbc4f87d196cac00a3788a2b7506a60e098902ac
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 28 11:26:54 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 28 16:12:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc4f87d
7
8 media-sound/picard: Drop 2.0.3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 media-sound/picard/Manifest | 1 -
14 .../picard/files/picard-2.0.3-crashfix.patch | 23 ------
15 .../files/picard-2.0.3-iteration-error.patch | 24 -------
16 media-sound/picard/picard-2.0.3.ebuild | 83 ----------------------
17 4 files changed, 131 deletions(-)
18
19 diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
20 index fbc6a04f977..f8e589f5438 100644
21 --- a/media-sound/picard/Manifest
22 +++ b/media-sound/picard/Manifest
23 @@ -1,2 +1 @@
24 -DIST picard-2.0.3.tar.gz 2748358 BLAKE2B ff71f9d7836b9f797a539db772e2ffcb8cb9ba4c25997c01590292bf1b7b5d311089174313af86f1eb0e82af48bc8f350578ae6bdffba3c6b3bf98b934481f8d SHA512 759252fa3c43af1bfc09d85ef90fe451e674bfebaee31838bd2779380d1b8ad817f899896baeccf583464566eb2acfe886c8288d1757faaaff2dc17c3b8ef6ae
25 DIST picard-2.0.4.tar.gz 2759058 BLAKE2B e8a2a5aed7b8c99e31c1765906481432d310fd41fa01a611c7d82b182468cf4bfeb5a5aaab74c96c0971f21af3ba690537212c29c75433296cab6a1a409edf6d SHA512 cdc5f1ddeb84705fc792fb77a6d0ba06a5baf812799054ac0fd4959dfe788009f25b6f89ad0c28720f1c7c85af61534ca4f1e9e8efd6ec3cc78578d0f0b3ab32
26
27 diff --git a/media-sound/picard/files/picard-2.0.3-crashfix.patch b/media-sound/picard/files/picard-2.0.3-crashfix.patch
28 deleted file mode 100644
29 index 33c33177821..00000000000
30 --- a/media-sound/picard/files/picard-2.0.3-crashfix.patch
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -From 24722cc47cc9e968eb05becf6056517b23e81e34 Mon Sep 17 00:00:00 2001
34 -From: Sambhav Kothari <sambhavs.email@×××××.com>
35 -Date: Sun, 12 Aug 2018 18:06:58 +0100
36 -Subject: [PATCH] PICARD-1310: Fix crash on clearing the log, due to wrong var.
37 - name
38 -
39 ----
40 - picard/log.py | 2 +-
41 - 1 file changed, 1 insertion(+), 1 deletion(-)
42 -
43 -diff --git a/picard/log.py b/picard/log.py
44 -index 5974a8a8c..a388af554 100644
45 ---- a/picard/log.py
46 -+++ b/picard/log.py
47 -@@ -90,7 +90,7 @@ def contents(self, prev=-1):
48 - return contents
49 -
50 - def clear(self):
51 -- with self.log_queue_lock:
52 -+ with self._queue_lock:
53 - self._log_queue.clear()
54 -
55 -
56
57 diff --git a/media-sound/picard/files/picard-2.0.3-iteration-error.patch b/media-sound/picard/files/picard-2.0.3-iteration-error.patch
58 deleted file mode 100644
59 index 36e0b8092c5..00000000000
60 --- a/media-sound/picard/files/picard-2.0.3-iteration-error.patch
61 +++ /dev/null
62 @@ -1,24 +0,0 @@
63 -From c5f8237bba87dcf113e41cd53a723ce1dad2c3dd Mon Sep 17 00:00:00 2001
64 -From: Laurent Monin <github@××××.org>
65 -Date: Mon, 20 Aug 2018 14:08:11 +0200
66 -Subject: [PATCH] PICARD-1318: Fix dictionary changed size during iteration
67 - error
68 -
69 -It happens when looking up a track with script $set(newartists, %artists%)
70 ----
71 - picard/metadata.py | 2 +-
72 - 1 file changed, 1 insertion(+), 1 deletion(-)
73 -
74 -diff --git a/picard/metadata.py b/picard/metadata.py
75 -index 8e2aa5266..4f9269b0c 100644
76 ---- a/picard/metadata.py
77 -+++ b/picard/metadata.py
78 -@@ -333,7 +333,7 @@ def rawitems(self):
79 - def apply_func(self, func):
80 - for key, values in self.rawitems():
81 - if key not in PRESERVED_TAGS:
82 -- self[key] = [func(value) for value in values]
83 -+ super().__setitem__(key, [func(value) for value in values])
84 -
85 - def strip_whitespace(self):
86 - """Strip leading/trailing whitespace.
87
88 diff --git a/media-sound/picard/picard-2.0.3.ebuild b/media-sound/picard/picard-2.0.3.ebuild
89 deleted file mode 100644
90 index c81de29bc6b..00000000000
91 --- a/media-sound/picard/picard-2.0.3.ebuild
92 +++ /dev/null
93 @@ -1,83 +0,0 @@
94 -# Copyright 1999-2018 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=6
98 -
99 -PYTHON_COMPAT=( python3_{5,6} )
100 -DISTUTILS_SINGLE_IMPL=1
101 -DISABLE_AUTOFORMATTING=true
102 -
103 -inherit distutils-r1 gnome2-utils readme.gentoo-r1 xdg-utils
104 -
105 -DESCRIPTION="A cross-platform music tagger"
106 -HOMEPAGE="https://picard.musicbrainz.org"
107 -SRC_URI="https://github.com/metabrainz/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
108 -
109 -LICENSE="GPL-2+"
110 -SLOT="0"
111 -KEYWORDS="amd64 x86"
112 -IUSE="nls"
113 -
114 -RDEPEND="
115 - dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}]
116 - dev-qt/qtgui:5[accessibility]
117 - >=media-libs/mutagen-1.38"
118 -DEPEND="
119 - nls? ( dev-qt/linguist-tools:5 )
120 -"
121 -
122 -RESTRICT="test" # doesn't work with ebuilds
123 -
124 -S="${WORKDIR}/${PN}-release-${PV}"
125 -
126 -PATCHES=(
127 - "${FILESDIR}/${P}-crashfix.patch"
128 - "${FILESDIR}/${P}-iteration-error.patch"
129 -)
130 -
131 -python_compile() {
132 - local build_args=(
133 - --disable-autoupdate
134 - )
135 - if ! use nls; then
136 - build_args+=( --disable-locales )
137 - fi
138 - distutils-r1_python_compile ${build_args[@]}
139 -}
140 -
141 -python_install() {
142 - local install_args=(
143 - --disable-autoupdate
144 - --skip-build
145 - )
146 - if ! use nls; then
147 - install_args+=( --disable-locales )
148 - fi
149 - distutils-r1_python_install ${install_args[@]}
150 -}
151 -
152 -python_install_all() {
153 - distutils-r1_python_install_all
154 -
155 - local DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
156 -calculation and lookup of AcoustID fingerprints.
157 -
158 -Install optional package dev-python/python-discid to enable
159 -calculation and lookup of compact disc identifiers (disc IDs).
160 -
161 -If you are upgrading Picard and it does not start, try removing
162 -Picard's settings:
163 - rm ~/.config/MusicBrainz/Picard.conf"
164 - readme.gentoo_create_doc
165 -}
166 -
167 -pkg_postinst() {
168 - readme.gentoo_print_elog
169 - xdg_desktop_database_update
170 - gnome2_icon_cache_update
171 -}
172 -
173 -pkg_postrm() {
174 - xdg_desktop_database_update
175 - gnome2_icon_cache_update
176 -}