diff options
author | Mart Raudsepp <leio@gentoo.org> | 2022-01-16 19:12:12 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2022-01-16 19:13:53 +0200 |
commit | 087e06f3447db386585efbffefdb80cb270bf328 (patch) | |
tree | 9b8e6a9115c3d7af6e8feb6648a7de1bbc765ca4 | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.4.172 (diff) | |
download | gentoo-087e06f3447db386585efbffefdb80cb270bf328.tar.gz gentoo-087e06f3447db386585efbffefdb80cb270bf328.tar.bz2 gentoo-087e06f3447db386585efbffefdb80cb270bf328.zip |
media-sound/sound-juicer: use python-any-r1, restrict tests
There seems to only be a single appdata validation test, which will
fail with network-sandbox if the appstream-util is available.
Use python-any-r1.eclass, as there's a python meson postinstall script.
Also fix deps - docbook-xml-dtd is always a dep, not just for tests.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
-rw-r--r-- | media-sound/sound-juicer/sound-juicer-3.38.0.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild index de08dd174e7d..3516bda7b7e5 100644 --- a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild +++ b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit gnome2 meson +PYTHON_COMPAT=( python3_{8..10} ) +inherit python-any-r1 gnome2 meson DESCRIPTION="CD ripper for GNOME" HOMEPAGE="https://wiki.gnome.org/Apps/SoundJuicer" @@ -10,8 +11,8 @@ HOMEPAGE="https://wiki.gnome.org/Apps/SoundJuicer" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" -IUSE="flac test vorbis" -RESTRICT="!test? ( test )" +IUSE="flac vorbis" +RESTRICT="test" # only does appdata validation, which fails with network-sandbox DEPEND=" >=dev-libs/glib-2.49.5:2[dbus] @@ -38,11 +39,12 @@ RDEPEND="${DEPEND} media-plugins/gst-plugins-meta:1.0 " BDEPEND=" + ${PYTHON_DEPS} + app-text/docbook-xml-dtd:4.3 dev-libs/appstream-glib dev-util/itstool >=sys-devel/gettext-0.19.6 virtual/pkgconfig - test? ( ~app-text/docbook-xml-dtd-4.3 ) " src_prepare() { |