From f5b789b32d2a041bf49aa394a63ed93328c4afa4 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Mon, 4 Dec 2023 20:39:24 +0000 Subject: [PATCH 1/2] python3-dbusmock: update to 0.30.0. --- srcpkgs/python3-dbusmock/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python3-dbusmock/template b/srcpkgs/python3-dbusmock/template index ea3fed252d33c..f37732a7d1f24 100644 --- a/srcpkgs/python3-dbusmock/template +++ b/srcpkgs/python3-dbusmock/template @@ -1,15 +1,15 @@ # Template file for 'python3-dbusmock' pkgname=python3-dbusmock -version=0.19 -revision=5 +version=0.30.0 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools python3-setuptools_scm" depends="python3-dbus python3-gobject" -checkdepends="python3-nose python3-dbus python3-gobject upower bluez - NetworkManager which" +checkdepends="${depends} python3-pytest upower bluez NetworkManager + power-profiles-daemon polkit libnotify iio-sensor-proxy which" short_desc="Python3 library to mock D-Bus objects for testing" maintainer="Orphaned " license="LGPL-3.0-or-later" homepage="https://github.com/martinpitt/python-dbusmock" -distfiles="https://github.com/martinpitt/python-dbusmock/releases/download/${version}/python-dbusmock-${version}.tar.gz" -checksum=497f30eed2fcd5deaa2633b9622e4e99af4bdfba4e972b350ba630bac6fc86c2 +distfiles="https://github.com/martinpitt/python-dbusmock/releases/download/${version}/dist.python-dbusmock-${version}.tar.gz" +checksum=dbb59e715b4d88089caed950edf93c46cb5f022ceae5d8ae37064b73baf956c1 From 8a40b740c71b397c51cd7f3692cb8abb31b93197 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Mon, 4 Dec 2023 20:43:01 +0000 Subject: [PATCH 2/2] folks: fix build. --- srcpkgs/folks/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/folks/template b/srcpkgs/folks/template index 2875c680ec509..5e9adbf6e5120 100644 --- a/srcpkgs/folks/template +++ b/srcpkgs/folks/template @@ -10,7 +10,7 @@ hostmakedepends="pkg-config gettext glib-devel python3-dbusmock makedepends="readline-devel telepathy-glib-devel zeitgeist-devel libgee-devel evolution-data-server-devel $(vopt_if gir vala-devel)" depends="zeitgeist" -checkdepends="dbus bluez" +checkdepends="dbus bluez python3-dbusmock" short_desc="GObject Library to aggregate people into metacontacts" maintainer="Michal Vasilek " license="LGPL-2.1-or-later" @@ -23,6 +23,12 @@ make_check_pre="dbus-run-session" build_options="gir" build_options_default="gir" +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -Dtests=true" +else + configure_args+=" -Dtests=false" +fi + folks-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"