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