1 |
commit: 8b3b40c84beb55f1a92f4f8049c2556ff2d6e7ed |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 08:01:09 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 08:01:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b3b40c8 |
7 |
|
8 |
media-sound/picard: bump to 2.6.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-sound/picard/Manifest | 1 + |
14 |
media-sound/picard/picard-2.6.4.ebuild | 62 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest |
18 |
index 0b7e3c9d3b6..37154110421 100644 |
19 |
--- a/media-sound/picard/Manifest |
20 |
+++ b/media-sound/picard/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST picard-2.6.3.tar.gz 4320046 BLAKE2B ce308440ed4c6297128a5470b7bdced50fb22e62995c26670339ff71c70d610fc0c4ea8433f9dbacb197b710b8100de171817df604d76986596391d029b3c20f SHA512 71bdeb4777a0d996ac0093edefc448a348aa72e657ec639331e67257c47c389993d2715ccebf715458c3b606051154586d63b22b3cebd541d8b2da5e96a833b5 |
23 |
+DIST picard-2.6.4.tar.gz 4319362 BLAKE2B 78768b4a8a22c51c118ba03a9e97ba6c4bec9180e5739867b5756170083930a942a0a1ceaeb74bbe724af3ca392b92139cbc4acdde9556e9031be16a968a0240 SHA512 5f44f91f9f44cb17ecd27e204b75c83b776a2c55e2a6e42f96018c83f4073d92f028ef74006d6acbe42b1ed374543a65e177f34c561bfdf13ded1085515bf353 |
24 |
|
25 |
diff --git a/media-sound/picard/picard-2.6.4.ebuild b/media-sound/picard/picard-2.6.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3b869df3541 |
28 |
--- /dev/null |
29 |
+++ b/media-sound/picard/picard-2.6.4.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+DISTUTILS_SINGLE_IMPL=1 |
38 |
+ |
39 |
+inherit distutils-r1 xdg |
40 |
+ |
41 |
+if [[ ${PV} = *9999* ]]; then |
42 |
+ EGIT_REPO_URI="https://github.com/metabrainz/picard" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~x86" |
47 |
+ S="${WORKDIR}/${PN}-release-${PV}" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="Cross-platform music tagger" |
51 |
+HOMEPAGE="https://picard.musicbrainz.org" |
52 |
+ |
53 |
+LICENSE="GPL-2+" |
54 |
+SLOT="0" |
55 |
+IUSE="discid fingerprints nls" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ nls? ( dev-qt/linguist-tools:5 ) |
59 |
+" |
60 |
+RDEPEND=" |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
63 |
+ dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}] |
64 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
65 |
+ media-libs/mutagen[${PYTHON_USEDEP}] |
66 |
+ discid? ( dev-python/python-discid[${PYTHON_USEDEP}] ) |
67 |
+ ') |
68 |
+ fingerprints? ( media-libs/chromaprint[tools] ) |
69 |
+" |
70 |
+ |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+python_compile() { |
74 |
+ local build_args=( |
75 |
+ --disable-autoupdate |
76 |
+ ) |
77 |
+ if ! use nls; then |
78 |
+ build_args+=( --disable-locales ) |
79 |
+ fi |
80 |
+ distutils-r1_python_compile ${build_args[@]} |
81 |
+} |
82 |
+ |
83 |
+python_install() { |
84 |
+ local install_args=( |
85 |
+ --disable-autoupdate |
86 |
+ --skip-build |
87 |
+ ) |
88 |
+ if ! use nls; then |
89 |
+ install_args+=( --disable-locales ) |
90 |
+ fi |
91 |
+ distutils-r1_python_install ${install_args[@]} |
92 |
+} |