Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] folks: fix build.
@ 2023-12-04 20:43 mhmdanas
  2023-12-06  4:54 ` [PR PATCH] [Closed]: " sgn
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mhmdanas @ 2023-12-04 20:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages folks-fix-build
https://github.com/void-linux/void-packages/pull/47579

folks: fix build.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/47579.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-folks-fix-build-47579.patch --]
[-- Type: text/x-diff, Size: 2898 bytes --]

From f5b789b32d2a041bf49aa394a63ed93328c4afa4 Mon Sep 17 00:00:00 2001
From: Mohammed Anas <triallax@tutanota.com>
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 <orphan@voidlinux.org>"
 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 <triallax@tutanota.com>
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 <michal@vasilek.cz>"
 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"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
@ 2023-12-06  4:54 ` sgn
  2023-12-06  8:23 ` mhmdanas
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2023-12-06  4:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]

There's a closed pull request on the void-packages repository

folks: fix build.
https://github.com/void-linux/void-packages/pull/47579

Description:

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
  2023-12-06  4:54 ` [PR PATCH] [Closed]: " sgn
@ 2023-12-06  8:23 ` mhmdanas
  2023-12-06  8:28 ` sgn
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2023-12-06  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/47579#issuecomment-1842410044

Comment:
@sgn is there a reason you didn't merge the `folks` comit as well?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
  2023-12-06  4:54 ` [PR PATCH] [Closed]: " sgn
  2023-12-06  8:23 ` mhmdanas
@ 2023-12-06  8:28 ` sgn
  2023-12-06  8:50 ` mhmdanas
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2023-12-06  8:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/47579#issuecomment-1842417456

Comment:
Nothing broken, nothing to fix.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
                   ` (2 preceding siblings ...)
  2023-12-06  8:28 ` sgn
@ 2023-12-06  8:50 ` mhmdanas
  2023-12-06  8:51 ` mhmdanas
  2023-12-06  8:51 ` mhmdanas
  5 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2023-12-06  8:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/47579#issuecomment-1842447133

Comment:
But the build was failing locally for me?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
                   ` (3 preceding siblings ...)
  2023-12-06  8:50 ` mhmdanas
@ 2023-12-06  8:51 ` mhmdanas
  2023-12-06  8:51 ` mhmdanas
  5 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2023-12-06  8:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/47579#issuecomment-1842447133

Comment:
But the build was failing locally for me?

Edit: ah, never mind, `python3-dbusmock` was already in `hostmakedepends` so you're right.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: folks: fix build.
  2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
                   ` (4 preceding siblings ...)
  2023-12-06  8:51 ` mhmdanas
@ 2023-12-06  8:51 ` mhmdanas
  5 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2023-12-06  8:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/47579#issuecomment-1842447133

Comment:
But the build was failing locally for me?

Edit: ah, never mind, `python3-dbusmock` was already in `hostmakedepends` so you're right, only the bump is needed.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-06  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-04 20:43 [PR PATCH] folks: fix build mhmdanas
2023-12-06  4:54 ` [PR PATCH] [Closed]: " sgn
2023-12-06  8:23 ` mhmdanas
2023-12-06  8:28 ` sgn
2023-12-06  8:50 ` mhmdanas
2023-12-06  8:51 ` mhmdanas
2023-12-06  8:51 ` mhmdanas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).