summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-08 07:43:55 +0000
committerSam James <sam@gentoo.org>2021-11-08 07:45:33 +0000
commit80abc2b8c6e0d0da7c97589f4e890727d1b3e930 (patch)
tree0406d85c4ebccfd83ff91a6bf657c6857e086a08 /net-libs
parentdev-python/patsy: Remove old (diff)
downloadgentoo-80abc2b8c6e0d0da7c97589f4e890727d1b3e930.tar.gz
gentoo-80abc2b8c6e0d0da7c97589f4e890727d1b3e930.tar.bz2
gentoo-80abc2b8c6e0d0da7c97589f4e890727d1b3e930.zip
net-libs/libmbim: needs Python at build time
Noticed when a user in #gentoo was upgrading a rather old system. Upgrade failed because Portage didn't realise that this package needed Python at all. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libmbim/libmbim-1.24.8.ebuild4
-rw-r--r--net-libs/libmbim/libmbim-1.26.0.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-libs/libmbim/libmbim-1.24.8.ebuild b/net-libs/libmbim/libmbim-1.24.8.ebuild
index bbdba255bb73..141c3f44d2fc 100644
--- a/net-libs/libmbim/libmbim-1.24.8.ebuild
+++ b/net-libs/libmbim/libmbim-1.24.8.ebuild
@@ -3,6 +3,9 @@
EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
+inherit python-any-r1
+
DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim"
SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz"
@@ -16,6 +19,7 @@ RDEPEND=">=dev-libs/glib-2.48:2
udev? ( dev-libs/libgudev:= )"
DEPEND="${RDEPEND}"
BDEPEND="
+ ${PYTHON_DEPS}
dev-util/glib-utils
dev-util/gtk-doc-am
virtual/pkgconfig
diff --git a/net-libs/libmbim/libmbim-1.26.0.ebuild b/net-libs/libmbim/libmbim-1.26.0.ebuild
index cff9c3efb315..1ff3ec9dae7a 100644
--- a/net-libs/libmbim/libmbim-1.26.0.ebuild
+++ b/net-libs/libmbim/libmbim-1.26.0.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+inherit python-any-r1
+
DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim"
SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz"
@@ -14,6 +17,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv x86"
RDEPEND=">=dev-libs/glib-2.56:2"
DEPEND="${RDEPEND}"
BDEPEND="
+ ${PYTHON_DEPS}
dev-util/glib-utils
virtual/pkgconfig
"