From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- net-misc/modemmanager/Manifest | 2 +- net-misc/modemmanager/modemmanager-1.18.4.ebuild | 26 +++++++++++++++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'net-misc/modemmanager') diff --git a/net-misc/modemmanager/Manifest b/net-misc/modemmanager/Manifest index d473f527fef4..9a2b72930c1b 100644 --- a/net-misc/modemmanager/Manifest +++ b/net-misc/modemmanager/Manifest @@ -7,5 +7,5 @@ DIST ModemManager-1.18.4.tar.xz 2510768 BLAKE2B 726c1a7970fdd13b7a1952abceff1905 EBUILD modemmanager-1.16.6.ebuild 3567 BLAKE2B 65802d8c7595ae478afea4d0232ca4da9b3a34f6a98bd4dc7443b76899c576b0c31c6c14d0c70378241fda1a5bbc7e5816c5cff12eabce6e4b8ef7a2b5d99bba SHA512 75c7aa58d2cb1097cab704b5a301b3a2a752f9ad043d853e7292d0f8963fc4f1cc0b8775b9df7a880136f5beb980679ed58349b041551787afd627f14b8bee34 EBUILD modemmanager-1.16.8.ebuild 3574 BLAKE2B a5b0d70185d35e3008abbf4616ff7f8f344527b792a826388e5ed0ea3c85bc6adc23be3fbf3f3fd86dce64f8a1e60d38092da5d619ebb1600eb326ce8935d5e4 SHA512 06d2668d1b3a5215b80cc8a5839c4078662526f1c1fa8fb4a73a932c6e3ffe4c517c9b4ab426927201f6215b17c114d49e931f989d69b4ec3f863efda69f2b1c EBUILD modemmanager-1.18.0.ebuild 3619 BLAKE2B d4209522fe447e7fe37d3fe191a8fc4d67d8455941b085bb988d5ad52da904663b8b80310a43cd032e68b2b6233b94dfad8a75c14ba13bd94d72e9d4410c1517 SHA512 df28ce31928da7728faa522f50500455d26d9309c7e1c9770d241107920318e135256554ed46d388f0116af142531d59116669c5704c3e9299508a6b1f87de6a -EBUILD modemmanager-1.18.4.ebuild 3609 BLAKE2B 146cc78886306350ed9f9cb04e3594a2d5cc9c012140fe1f88a90742c531e1bdef6c3fa878fa03a8bb391cdd42f224088969abab772a30a74d16a3c27bdfca7a SHA512 7a98d62dbbcdd4e14f74247a00b3337b43ee32d304d159d8ad181135f4ba8e3decdabc0088b85b7d7ba91912f20afa4a5737bbda2e872e31457dc29805da883a +EBUILD modemmanager-1.18.4.ebuild 4003 BLAKE2B d800093327f92efb25a1fcdd4950af83bc1381d9635f6ca6fdd62b215dd1051d35f76de0d6bab201c3354f2f9e3d29154e06b61e8e1b83772229843612f3d9ea SHA512 539908220d8ea7ebf96772e08d2dbc6bdfabe9f6284d84b8de49dc2786c6d81ad8e87c25910bae2122e8cc06a97385a6856f1470bbb5d7389b645600e56608c0 MISC metadata.xml 432 BLAKE2B f9a84e1bbcd6bb14effe1d41ef9eddfdf5b10ccaee4cfe041ac2f68e405dfdffe4930d5e701f9808d62832253e3255498425df53b6c652fb313365f260765433 SHA512 57f8df2fc04eea86d59a03e151dbd1df719faf3fad8c2ff6b8a74567ea01c0c30a1a92d4bd29db29116b4cdb8b688821f4fe62b81a89239c68ca884b160cefee diff --git a/net-misc/modemmanager/modemmanager-1.18.4.ebuild b/net-misc/modemmanager/modemmanager-1.18.4.ebuild index b84f97094ad6..a86bab79aa95 100644 --- a/net-misc/modemmanager/modemmanager-1.18.4.ebuild +++ b/net-misc/modemmanager/modemmanager-1.18.4.ebuild @@ -1,10 +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 -VALA_USE_DEPEND="vapigen" - -inherit gnome2 readme.gentoo-r1 systemd udev vala +PYTHON_COMPAT=( python3_{8..10} ) +inherit gnome2 python-any-r1 readme.gentoo-r1 systemd udev vala DESCRIPTION="Modem and mobile broadband management libraries" HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/" @@ -14,11 +13,12 @@ LICENSE="GPL-2+" SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N} KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="elogind +introspection mbim policykit +qmi systemd +udev vala" +IUSE="elogind +introspection mbim policykit +qmi systemd test +udev vala" REQUIRED_USE=" ?? ( elogind systemd ) vala? ( introspection ) " +RESTRICT="!test? ( test )" DEPEND=" >=dev-libs/glib-2.56.0:2 @@ -39,11 +39,27 @@ BDEPEND=" >=dev-util/gtk-doc-am-1 >=sys-devel/gettext-0.19.8 virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + ) vala? ( $(vala_depend) ) " S="${WORKDIR}/ModemManager-${PV}" +python_check_deps() { + has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" && + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { DOC_CONTENTS=" If your USB modem shows up only as a storage device when you plug it in, -- cgit v1.2.3