Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 15/18] app-admin/gnome-abrt: Use DISTUTILS_USE_PEP517=no
Date: Sat, 04 Jun 2022 09:08:39
Message-Id: 20220604090334.4003-16-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/18] distutils-r1.eclass D_U_PEP517=no mode & other patches by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 .../gnome-abrt/gnome-abrt-1.4.1-r1.ebuild | 57 +++++++++++++++++++
4 1 file changed, 57 insertions(+)
5 create mode 100644 app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild
6
7 diff --git a/app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild b/app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild
8 new file mode 100644
9 index 000000000000..2df18e86b873
10 --- /dev/null
11 +++ b/app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild
12 @@ -0,0 +1,57 @@
13 +# Copyright 1999-2022 Gentoo Authors
14 +# Distributed under the terms of the GNU General Public License v2
15 +
16 +EAPI=8
17 +
18 +DISTUTILS_USE_PEP517=no
19 +PYTHON_COMPAT=( python3_{8..10} )
20 +
21 +inherit meson distutils-r1
22 +
23 +DESCRIPTION="A utility for viewing problems that have occurred with the system"
24 +HOMEPAGE="https://github.com/abrt/gnome-abrt"
25 +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
26 +
27 +LICENSE="GPL-2+"
28 +SLOT="0"
29 +KEYWORDS="~amd64 ~x86"
30 +
31 +IUSE="doc"
32 +
33 +RDEPEND="
34 + >=x11-libs/gtk+-3.10.0:3
35 + >=dev-libs/libreport-2.14.0:0=[python,${PYTHON_USEDEP}]
36 + >=app-admin/abrt-2.14.0
37 + >=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
38 + >=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
39 +"
40 +DEPEND="${RDEPEND}"
41 +BDEPEND="
42 + doc? (
43 + app-text/asciidoc
44 + app-text/xmlto
45 + )
46 + virtual/pkgconfig
47 + >=sys-devel/gettext-0.17
48 +"
49 +
50 +python_configure() {
51 + local emesonargs=(
52 + $(meson_use doc docs)
53 + -Dlint=false
54 + )
55 +
56 + meson_src_configure
57 +}
58 +
59 +python_compile() {
60 + meson_src_compile
61 +}
62 +
63 +python_test() {
64 + meson_src_test
65 +}
66 +
67 +python_install() {
68 + meson_src_install
69 +}
70 --
71 2.35.1