Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/grub2-theme-preview/
Date: Tue, 29 Nov 2022 01:44:57
Message-Id: 1669686062.7e40006512dfdb8fb2949b5b3cef5a19fceee105.sping@gentoo
1 commit: 7e40006512dfdb8fb2949b5b3cef5a19fceee105
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 01:41:02 2022 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 01:41:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e400065
7
8 x11-misc/grub2-theme-preview: DistutilsNonPEP517Build
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11
12 .../grub2-theme-preview-2.7.0-r1.ebuild | 33 ++++++++++++++++++++++
13 1 file changed, 33 insertions(+)
14
15 diff --git a/x11-misc/grub2-theme-preview/grub2-theme-preview-2.7.0-r1.ebuild b/x11-misc/grub2-theme-preview/grub2-theme-preview-2.7.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..ef74293a0aea
18 --- /dev/null
19 +++ b/x11-misc/grub2-theme-preview/grub2-theme-preview-2.7.0-r1.ebuild
20 @@ -0,0 +1,33 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI="8"
25 +
26 +PYTHON_COMPAT=( python3_{8..11} )
27 +DISTUTILS_USE_PEP517=setuptools
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Preview a GRUB 2.x theme using KVM/QEMU"
32 +HOMEPAGE="https://github.com/hartwork/grub2-theme-preview"
33 +SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="GPL-2+"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="grub_platforms_efi-64"
39 +
40 +RDEPEND="app-emulation/qemu
41 + dev-libs/libisoburn
42 + sys-fs/mtools
43 + grub_platforms_efi-64? (
44 + sys-boot/grub:2[grub_platforms_efi-64]
45 + sys-firmware/edk2-ovmf
46 + )
47 + !grub_platforms_efi-64? (
48 + sys-boot/grub:2[grub_platforms_pc]
49 + )
50 +"
51 +DEPEND="test? ( dev-python/parameterized[${PYTHON_USEDEP}] )"
52 +
53 +distutils_enable_tests pytest