Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmbim/
Date: Mon, 08 Nov 2021 07:45:48
Message-Id: 1636357533.80abc2b8c6e0d0da7c97589f4e890727d1b3e930.sam@gentoo
1 commit: 80abc2b8c6e0d0da7c97589f4e890727d1b3e930
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 07:43:55 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 07:45:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80abc2b8
7
8 net-libs/libmbim: needs Python at build time
9
10 Noticed when a user in #gentoo was upgrading a rather
11 old system. Upgrade failed because Portage didn't
12 realise that this package needed Python at all.
13
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-libs/libmbim/libmbim-1.24.8.ebuild | 4 ++++
17 net-libs/libmbim/libmbim-1.26.0.ebuild | 4 ++++
18 2 files changed, 8 insertions(+)
19
20 diff --git a/net-libs/libmbim/libmbim-1.24.8.ebuild b/net-libs/libmbim/libmbim-1.24.8.ebuild
21 index bbdba255bb7..141c3f44d2f 100644
22 --- a/net-libs/libmbim/libmbim-1.24.8.ebuild
23 +++ b/net-libs/libmbim/libmbim-1.24.8.ebuild
24 @@ -3,6 +3,9 @@
25
26 EAPI=7
27
28 +PYTHON_COMPAT=( python3_{8..10} )
29 +inherit python-any-r1
30 +
31 DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library"
32 HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim"
33 SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz"
34 @@ -16,6 +19,7 @@ RDEPEND=">=dev-libs/glib-2.48:2
35 udev? ( dev-libs/libgudev:= )"
36 DEPEND="${RDEPEND}"
37 BDEPEND="
38 + ${PYTHON_DEPS}
39 dev-util/glib-utils
40 dev-util/gtk-doc-am
41 virtual/pkgconfig
42
43 diff --git a/net-libs/libmbim/libmbim-1.26.0.ebuild b/net-libs/libmbim/libmbim-1.26.0.ebuild
44 index cff9c3efb31..1ff3ec9dae7 100644
45 --- a/net-libs/libmbim/libmbim-1.26.0.ebuild
46 +++ b/net-libs/libmbim/libmbim-1.26.0.ebuild
47 @@ -3,6 +3,9 @@
48
49 EAPI=8
50
51 +PYTHON_COMPAT=( python3_{8..10} )
52 +inherit python-any-r1
53 +
54 DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library"
55 HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim"
56 SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz"
57 @@ -14,6 +17,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv x86"
58 RDEPEND=">=dev-libs/glib-2.56:2"
59 DEPEND="${RDEPEND}"
60 BDEPEND="
61 + ${PYTHON_DEPS}
62 dev-util/glib-utils
63 virtual/pkgconfig
64 "