1 |
commit: 087e06f3447db386585efbffefdb80cb270bf328 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 16 17:12:12 2022 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 16 17:13:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087e06f3 |
7 |
|
8 |
media-sound/sound-juicer: use python-any-r1, restrict tests |
9 |
|
10 |
There seems to only be a single appdata validation test, which will |
11 |
fail with network-sandbox if the appstream-util is available. |
12 |
Use python-any-r1.eclass, as there's a python meson postinstall script. |
13 |
Also fix deps - docbook-xml-dtd is always a dep, not just for tests. |
14 |
|
15 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
16 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
17 |
|
18 |
media-sound/sound-juicer/sound-juicer-3.38.0.ebuild | 12 +++++++----- |
19 |
1 file changed, 7 insertions(+), 5 deletions(-) |
20 |
|
21 |
diff --git a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild |
22 |
index de08dd174e7d..3516bda7b7e5 100644 |
23 |
--- a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild |
24 |
+++ b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild |
25 |
@@ -1,8 +1,9 @@ |
26 |
-# Copyright 1999-2021 Gentoo Authors |
27 |
+# Copyright 1999-2022 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=7 |
31 |
-inherit gnome2 meson |
32 |
+PYTHON_COMPAT=( python3_{8..10} ) |
33 |
+inherit python-any-r1 gnome2 meson |
34 |
|
35 |
DESCRIPTION="CD ripper for GNOME" |
36 |
HOMEPAGE="https://wiki.gnome.org/Apps/SoundJuicer" |
37 |
@@ -10,8 +11,8 @@ HOMEPAGE="https://wiki.gnome.org/Apps/SoundJuicer" |
38 |
LICENSE="GPL-2+" |
39 |
SLOT="0" |
40 |
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" |
41 |
-IUSE="flac test vorbis" |
42 |
-RESTRICT="!test? ( test )" |
43 |
+IUSE="flac vorbis" |
44 |
+RESTRICT="test" # only does appdata validation, which fails with network-sandbox |
45 |
|
46 |
DEPEND=" |
47 |
>=dev-libs/glib-2.49.5:2[dbus] |
48 |
@@ -38,11 +39,12 @@ RDEPEND="${DEPEND} |
49 |
media-plugins/gst-plugins-meta:1.0 |
50 |
" |
51 |
BDEPEND=" |
52 |
+ ${PYTHON_DEPS} |
53 |
+ app-text/docbook-xml-dtd:4.3 |
54 |
dev-libs/appstream-glib |
55 |
dev-util/itstool |
56 |
>=sys-devel/gettext-0.19.6 |
57 |
virtual/pkgconfig |
58 |
- test? ( ~app-text/docbook-xml-dtd-4.3 ) |
59 |
" |
60 |
|
61 |
src_prepare() { |