* Re: [PR PATCH] [Updated] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
@ 2023-09-29 17:12 ` kaistian
2023-09-29 17:23 ` kaistian
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-29 17:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
There is an updated pull request by kaistian against master on the void-packages repository
https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/46330
qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
#### Testing the changes
- I tested the changes in this PR: **YES**, expect the Wayland part since I run X11.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64-LIBC
A patch file from https://github.com/void-linux/void-packages/pull/46330.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-46330.patch --]
[-- Type: text/x-diff, Size: 10784 bytes --]
From f03ad1715b133ffa3e9aeb32ff015fcbe9a158cc Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:33 +0200
Subject: [PATCH 1/5] python3-cairocffi: update to 1.6.1.
---
srcpkgs/python3-cairocffi/template | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index 79e8cddbfb60d..452f813413d9e 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,18 +1,19 @@
# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
-version=1.3.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
+version=1.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--pyargs cairocffi"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-flit_core $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
-checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
+checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
short_desc="CFFI-based cairo bindings for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
+checksum=78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
build_options=xcb
case "$XBPS_MACHINE" in
@@ -20,16 +21,6 @@ x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
-post_patch() {
- vsed -e '/pytest-runner/d' -i setup.cfg
-}
-
-do_check() {
- vsed -e '/addopts/d' -i setup.cfg
- # Copy in $wrksrc lacks generated module; run against built copy
- ( cd build/lib* && python3 -m pytest )
-}
-
post_install() {
vlicense LICENSE
}
From e25743a6cb5a7b4e9ba93ad161e2ef7b6e4314b9 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:55 +0200
Subject: [PATCH 2/5] python3-xcffib: update to 1.5.0.
---
srcpkgs/python3-xcffib/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
index 07fa9f0732c09..c13794ab95b93 100644
--- a/srcpkgs/python3-xcffib/template
+++ b/srcpkgs/python3-xcffib/template
@@ -1,17 +1,18 @@
# Template file for 'python3-xcffib'
pkgname=python3-xcffib
-version=1.3.0
+version=1.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
makedepends="python3-devel libffi-devel libxcb-devel python3-six"
depends="python3-six python3-cffi libxcb"
+checkdepends="python3-pytest xorg-server-xvfb xeyes"
short_desc="Drop-in replacement for xpyb based on cffi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="Apache-2.0"
homepage="https://github.com/tych0/xcffib"
distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e0819e9cf56d47839a58755728af22eee02cad3b8b57157f8f682f187da96013
+checksum=3bf9ce88b8a343a12eb1fc72a7b3e6091f8b65e682354510261b0a2cae1b00c5
nocross="Cannot yet cross compile with Haskell"
pre_build() {
From ee705600243d0912335f24331298857b6d87a9c1 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:11 +0200
Subject: [PATCH 3/5] New package: python3-pywlroots-0.16-0.16.5
---
srcpkgs/python3-pywlroots-0.16/template | 36 +++++++++++++++++++++++++
srcpkgs/python3-pywlroots-0.16/update | 1 +
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/python3-pywlroots-0.16/template
create mode 100644 srcpkgs/python3-pywlroots-0.16/update
diff --git a/srcpkgs/python3-pywlroots-0.16/template b/srcpkgs/python3-pywlroots-0.16/template
new file mode 100644
index 0000000000000..2ae16bfed568a
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/template
@@ -0,0 +1,36 @@
+# Template file for 'python3-pywlroots-0.16'
+pkgname=python3-pywlroots-0.16
+version=0.16.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
+ python3-wheel python3-devel wlroots${pkgname##*-}-devel"
+makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
+depends="python3-pywayland python3-xkbcommon python3-cffi"
+short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
+checksum=5b8dd10897a4b6e9a0bcef4adcade61d1d418b2657b078f87cdd849069490a14
+
+pre_build() {
+ [ "$CROSS_BUILD" ] || return 0
+ (
+ rm -rf wlroots/__pycache__
+ CC="$BUILD_CC"
+ CFLAGS="$BUILD_CFLAGS"
+ LDFLAGS="$BUILD_LDFLAGS"
+ unset LDSHARED
+ unset PYTHON_CONFIG
+ unset PYTHONPATH
+ unset PYPREFIX
+ unset _PYTHON_SYSCONFIGDATA_NAME
+ python3 wlroots/ffi_build.py
+ rm -f wlroots/_ffi.o wlroots/_ffi.cpython.*.so
+ )
+}
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-pywlroots-0.16/update b/srcpkgs/python3-pywlroots-0.16/update
new file mode 100644
index 0000000000000..47f3aeabd59b0
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/update
@@ -0,0 +1 @@
+pattern="[v_-]\K\Q${pkgname##*-}.\E.*(?=\.tar\.gz)"
From d0dfb87907a552edd2b4859af449d21a1d91512f Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:27 +0200
Subject: [PATCH 4/5] qtile: update to 0.23.0.
---
srcpkgs/qtile/INSTALL.msg | 44 +++++++++++++++++++++++++++++++--------
srcpkgs/qtile/template | 8 +++----
2 files changed, 39 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
index 95c75c2e6561b..dfb621424d720 100644
--- a/srcpkgs/qtile/INSTALL.msg
+++ b/srcpkgs/qtile/INSTALL.msg
@@ -1,9 +1,35 @@
-!!! Config breakage !!!
- - lazy.qtile.display_kb() no longer receives any arguments. If you passed
- it any arguments (which were ignored previously), remove them.
- - If you have a custom startup Python script that you use instead of
- "qtile start" and run init_log manually, the signature has changed.
- Please check the source for the updated arguments.
- - "KeyChord"'s signature has changed. "mode" is now a boolean to indicate
- whether the mode should persist. The "name" parameter should be used
- to name the chord (e.g. for the ``Chord`` widget).
+!!! Config breakage/changes !!!
+ - The `cmd_` prefix has been dropped from all commands (this means command names
+ are common when accessed via the command interface or internal python objects).
+ - Custom widgets should now expose command methods with the `@expose_command`
+ decorator (available via `from libqtile.command.base import expose_command`).
+ - Some commands have been renamed (in addition to dropping the 'cmd_' prefix):
+ `hints` -> `get_hints`
+ `groups` -> `get_groups`
+ `screens` -> `get_screens`
+ - Layouts need to rename some methods:
+ - `add` to `add_client`
+ - `cmd_next` to `next`
+ - `cmd_previous` to `previous`
+ - Layouts or widgets that redefine the `commands` property
+ need to update the signature:
+ `@expose_command()`
+ `def commands(self) -> list[str]:`
+ - `Window.getsize` has been renamed `Window.get_size`
+ (i.e. merged with the get_size command).
+ - `Window.getposition` has been renamed `Window.get_position`
+ (i.e. merged with the get_position command).
+ - The `StockTicker` widget `function` option is being deprecated: rename it to `func`.
+ - The formatting of `NetWidget` has changed, if you use the `format` parameter
+ in your config include `up_suffix`, `total_suffix` and `down_suffix` to display
+ the respective units.
+ - The `Notify` widget now has separate `default_timeout` properties for
+ differenct urgency levels. Previously, `default_timeout` was `None`
+ which meant that there was no timeout for all notifications (unless this
+ had been set by the client sending the notification). Now, `default_timeout`
+ is for normal urgency notifications and this has been set to a default of
+ 10 seconds. `default_timeout_urgent`, for critical notifications,
+ has a timeout of `None`.
+ - The `PulseVolume` widget now depends on a third party library, `pulsectl-asyncio`,
+ to interact with the pulse audio server. Users will now see an `ImportError`
+ until they install that library.
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 7b466061079e4..31de69d0fea22 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,9 +1,9 @@
# Template file for 'qtile'
pkgname=qtile
-version=0.22.0
-revision=3
+version=0.23.0
+revision=1
build_style=python3-pep517
-_wlroots=0.15
+_wlroots=0.16
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
@@ -14,7 +14,7 @@ license="MIT"
homepage="http://www.qtile.org/"
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
-checksum=ecec16cf41b6bbbc1847d0cd3f7dba68eb16fa175fbe856a229817297f605f6e
+checksum=eae63f7a939d9deac86d7251f75cafddbddf67e6e828feccee2f8ad745ed19ed
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
From c49e9898d05e18fe156e5ae690571d3e4a73574d Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 19:11:54 +0200
Subject: [PATCH 5/5] fixup! New package: python3-pywlroots-0.16-0.16.5
---
srcpkgs/python3-pywlroots-0.16/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/python3-pywlroots-0.16/template b/srcpkgs/python3-pywlroots-0.16/template
index 2ae16bfed568a..d0ace597f8fba 100644
--- a/srcpkgs/python3-pywlroots-0.16/template
+++ b/srcpkgs/python3-pywlroots-0.16/template
@@ -7,6 +7,7 @@ hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbco
python3-wheel python3-devel wlroots${pkgname##*-}-devel"
makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
depends="python3-pywayland python3-xkbcommon python3-cffi"
+conflicts="python3-pywlroots-0.15"
short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
2023-09-29 17:12 ` [PR PATCH] [Updated] " kaistian
@ 2023-09-29 17:23 ` kaistian
2023-09-30 9:35 ` [PR REVIEW] " sgn
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-29 17:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
There is an updated pull request by kaistian against master on the void-packages repository
https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/46330
qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
#### Testing the changes
- I tested the changes in this PR: **YES**, expect the Wayland part since I run X11.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64-LIBC
A patch file from https://github.com/void-linux/void-packages/pull/46330.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-46330.patch --]
[-- Type: text/x-diff, Size: 9831 bytes --]
From f03ad1715b133ffa3e9aeb32ff015fcbe9a158cc Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:33 +0200
Subject: [PATCH 1/4] python3-cairocffi: update to 1.6.1.
---
srcpkgs/python3-cairocffi/template | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index 79e8cddbfb60d..452f813413d9e 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,18 +1,19 @@
# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
-version=1.3.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
+version=1.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--pyargs cairocffi"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-flit_core $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
-checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
+checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
short_desc="CFFI-based cairo bindings for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
+checksum=78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
build_options=xcb
case "$XBPS_MACHINE" in
@@ -20,16 +21,6 @@ x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
-post_patch() {
- vsed -e '/pytest-runner/d' -i setup.cfg
-}
-
-do_check() {
- vsed -e '/addopts/d' -i setup.cfg
- # Copy in $wrksrc lacks generated module; run against built copy
- ( cd build/lib* && python3 -m pytest )
-}
-
post_install() {
vlicense LICENSE
}
From e25743a6cb5a7b4e9ba93ad161e2ef7b6e4314b9 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:55 +0200
Subject: [PATCH 2/4] python3-xcffib: update to 1.5.0.
---
srcpkgs/python3-xcffib/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
index 07fa9f0732c09..c13794ab95b93 100644
--- a/srcpkgs/python3-xcffib/template
+++ b/srcpkgs/python3-xcffib/template
@@ -1,17 +1,18 @@
# Template file for 'python3-xcffib'
pkgname=python3-xcffib
-version=1.3.0
+version=1.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
makedepends="python3-devel libffi-devel libxcb-devel python3-six"
depends="python3-six python3-cffi libxcb"
+checkdepends="python3-pytest xorg-server-xvfb xeyes"
short_desc="Drop-in replacement for xpyb based on cffi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="Apache-2.0"
homepage="https://github.com/tych0/xcffib"
distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e0819e9cf56d47839a58755728af22eee02cad3b8b57157f8f682f187da96013
+checksum=3bf9ce88b8a343a12eb1fc72a7b3e6091f8b65e682354510261b0a2cae1b00c5
nocross="Cannot yet cross compile with Haskell"
pre_build() {
From 7cc61ac41d89e61227eade953d3796de3964dc52 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:11 +0200
Subject: [PATCH 3/4] New package: python3-pywlroots-0.16-0.16.5
---
srcpkgs/python3-pywlroots-0.16/template | 37 +++++++++++++++++++++++++
srcpkgs/python3-pywlroots-0.16/update | 1 +
2 files changed, 38 insertions(+)
create mode 100644 srcpkgs/python3-pywlroots-0.16/template
create mode 100644 srcpkgs/python3-pywlroots-0.16/update
diff --git a/srcpkgs/python3-pywlroots-0.16/template b/srcpkgs/python3-pywlroots-0.16/template
new file mode 100644
index 0000000000000..baba8ca525dc3
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/template
@@ -0,0 +1,37 @@
+# Template file for 'python3-pywlroots-0.16'
+pkgname=python3-pywlroots-0.16
+version=0.16.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
+ python3-wheel python3-devel wlroots${pkgname##*-}-devel"
+makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
+depends="python3-pywayland python3-xkbcommon python3-cffi"
+short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
+checksum=5b8dd10897a4b6e9a0bcef4adcade61d1d418b2657b078f87cdd849069490a14
+conflicts="python3-pywlroots-0.15"
+
+pre_build() {
+ [ "$CROSS_BUILD" ] || return 0
+ (
+ rm -rf wlroots/__pycache__
+ CC="$BUILD_CC"
+ CFLAGS="$BUILD_CFLAGS"
+ LDFLAGS="$BUILD_LDFLAGS"
+ unset LDSHARED
+ unset PYTHON_CONFIG
+ unset PYTHONPATH
+ unset PYPREFIX
+ unset _PYTHON_SYSCONFIGDATA_NAME
+ python3 wlroots/ffi_build.py
+ rm -f wlroots/_ffi.o wlroots/_ffi.cpython.*.so
+ )
+}
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-pywlroots-0.16/update b/srcpkgs/python3-pywlroots-0.16/update
new file mode 100644
index 0000000000000..47f3aeabd59b0
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/update
@@ -0,0 +1 @@
+pattern="[v_-]\K\Q${pkgname##*-}.\E.*(?=\.tar\.gz)"
From 902f008805f3f53a3f1f4f22c678c763b2ed001c Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:27 +0200
Subject: [PATCH 4/4] qtile: update to 0.23.0.
---
srcpkgs/qtile/INSTALL.msg | 44 +++++++++++++++++++++++++++++++--------
srcpkgs/qtile/template | 8 +++----
2 files changed, 39 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
index 95c75c2e6561b..dfb621424d720 100644
--- a/srcpkgs/qtile/INSTALL.msg
+++ b/srcpkgs/qtile/INSTALL.msg
@@ -1,9 +1,35 @@
-!!! Config breakage !!!
- - lazy.qtile.display_kb() no longer receives any arguments. If you passed
- it any arguments (which were ignored previously), remove them.
- - If you have a custom startup Python script that you use instead of
- "qtile start" and run init_log manually, the signature has changed.
- Please check the source for the updated arguments.
- - "KeyChord"'s signature has changed. "mode" is now a boolean to indicate
- whether the mode should persist. The "name" parameter should be used
- to name the chord (e.g. for the ``Chord`` widget).
+!!! Config breakage/changes !!!
+ - The `cmd_` prefix has been dropped from all commands (this means command names
+ are common when accessed via the command interface or internal python objects).
+ - Custom widgets should now expose command methods with the `@expose_command`
+ decorator (available via `from libqtile.command.base import expose_command`).
+ - Some commands have been renamed (in addition to dropping the 'cmd_' prefix):
+ `hints` -> `get_hints`
+ `groups` -> `get_groups`
+ `screens` -> `get_screens`
+ - Layouts need to rename some methods:
+ - `add` to `add_client`
+ - `cmd_next` to `next`
+ - `cmd_previous` to `previous`
+ - Layouts or widgets that redefine the `commands` property
+ need to update the signature:
+ `@expose_command()`
+ `def commands(self) -> list[str]:`
+ - `Window.getsize` has been renamed `Window.get_size`
+ (i.e. merged with the get_size command).
+ - `Window.getposition` has been renamed `Window.get_position`
+ (i.e. merged with the get_position command).
+ - The `StockTicker` widget `function` option is being deprecated: rename it to `func`.
+ - The formatting of `NetWidget` has changed, if you use the `format` parameter
+ in your config include `up_suffix`, `total_suffix` and `down_suffix` to display
+ the respective units.
+ - The `Notify` widget now has separate `default_timeout` properties for
+ differenct urgency levels. Previously, `default_timeout` was `None`
+ which meant that there was no timeout for all notifications (unless this
+ had been set by the client sending the notification). Now, `default_timeout`
+ is for normal urgency notifications and this has been set to a default of
+ 10 seconds. `default_timeout_urgent`, for critical notifications,
+ has a timeout of `None`.
+ - The `PulseVolume` widget now depends on a third party library, `pulsectl-asyncio`,
+ to interact with the pulse audio server. Users will now see an `ImportError`
+ until they install that library.
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 7b466061079e4..31de69d0fea22 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,9 +1,9 @@
# Template file for 'qtile'
pkgname=qtile
-version=0.22.0
-revision=3
+version=0.23.0
+revision=1
build_style=python3-pep517
-_wlroots=0.15
+_wlroots=0.16
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
@@ -14,7 +14,7 @@ license="MIT"
homepage="http://www.qtile.org/"
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
-checksum=ecec16cf41b6bbbc1847d0cd3f7dba68eb16fa175fbe856a229817297f605f6e
+checksum=eae63f7a939d9deac86d7251f75cafddbddf67e6e828feccee2f8ad745ed19ed
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
2023-09-29 17:12 ` [PR PATCH] [Updated] " kaistian
2023-09-29 17:23 ` kaistian
@ 2023-09-30 9:35 ` sgn
2023-09-30 9:54 ` kaistian
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2023-09-30 9:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New review comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/46330#discussion_r1341937234
Comment:
This project get breakage with every release. Does it help to have this message. IMO, no.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (2 preceding siblings ...)
2023-09-30 9:35 ` [PR REVIEW] " sgn
@ 2023-09-30 9:54 ` kaistian
2023-09-30 9:57 ` [PR PATCH] [Updated] " kaistian
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-30 9:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
New review comment by kaistian on void-packages repository
https://github.com/void-linux/void-packages/pull/46330#discussion_r1341939036
Comment:
My config did not load without doing changes documented in the list.
But for me it doesn't matter if it's included or not since I read them anyway to update the template.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (3 preceding siblings ...)
2023-09-30 9:54 ` kaistian
@ 2023-09-30 9:57 ` kaistian
2023-09-30 9:58 ` [PR REVIEW] " kaistian
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-30 9:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
There is an updated pull request by kaistian against master on the void-packages repository
https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/46330
qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
#### Testing the changes
- I tested the changes in this PR: **YES**, expect the Wayland part since I run X11.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64-LIBC
A patch file from https://github.com/void-linux/void-packages/pull/46330.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-46330.patch --]
[-- Type: text/x-diff, Size: 7727 bytes --]
From f03ad1715b133ffa3e9aeb32ff015fcbe9a158cc Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:33 +0200
Subject: [PATCH 1/4] python3-cairocffi: update to 1.6.1.
---
srcpkgs/python3-cairocffi/template | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index 79e8cddbfb60d..452f813413d9e 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,18 +1,19 @@
# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
-version=1.3.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
+version=1.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--pyargs cairocffi"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-flit_core $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
-checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
+checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
short_desc="CFFI-based cairo bindings for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
+checksum=78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
build_options=xcb
case "$XBPS_MACHINE" in
@@ -20,16 +21,6 @@ x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
-post_patch() {
- vsed -e '/pytest-runner/d' -i setup.cfg
-}
-
-do_check() {
- vsed -e '/addopts/d' -i setup.cfg
- # Copy in $wrksrc lacks generated module; run against built copy
- ( cd build/lib* && python3 -m pytest )
-}
-
post_install() {
vlicense LICENSE
}
From e25743a6cb5a7b4e9ba93ad161e2ef7b6e4314b9 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:55 +0200
Subject: [PATCH 2/4] python3-xcffib: update to 1.5.0.
---
srcpkgs/python3-xcffib/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
index 07fa9f0732c09..c13794ab95b93 100644
--- a/srcpkgs/python3-xcffib/template
+++ b/srcpkgs/python3-xcffib/template
@@ -1,17 +1,18 @@
# Template file for 'python3-xcffib'
pkgname=python3-xcffib
-version=1.3.0
+version=1.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
makedepends="python3-devel libffi-devel libxcb-devel python3-six"
depends="python3-six python3-cffi libxcb"
+checkdepends="python3-pytest xorg-server-xvfb xeyes"
short_desc="Drop-in replacement for xpyb based on cffi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="Apache-2.0"
homepage="https://github.com/tych0/xcffib"
distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e0819e9cf56d47839a58755728af22eee02cad3b8b57157f8f682f187da96013
+checksum=3bf9ce88b8a343a12eb1fc72a7b3e6091f8b65e682354510261b0a2cae1b00c5
nocross="Cannot yet cross compile with Haskell"
pre_build() {
From 7cc61ac41d89e61227eade953d3796de3964dc52 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:11 +0200
Subject: [PATCH 3/4] New package: python3-pywlroots-0.16-0.16.5
---
srcpkgs/python3-pywlroots-0.16/template | 37 +++++++++++++++++++++++++
srcpkgs/python3-pywlroots-0.16/update | 1 +
2 files changed, 38 insertions(+)
create mode 100644 srcpkgs/python3-pywlroots-0.16/template
create mode 100644 srcpkgs/python3-pywlroots-0.16/update
diff --git a/srcpkgs/python3-pywlroots-0.16/template b/srcpkgs/python3-pywlroots-0.16/template
new file mode 100644
index 0000000000000..baba8ca525dc3
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/template
@@ -0,0 +1,37 @@
+# Template file for 'python3-pywlroots-0.16'
+pkgname=python3-pywlroots-0.16
+version=0.16.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
+ python3-wheel python3-devel wlroots${pkgname##*-}-devel"
+makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
+depends="python3-pywayland python3-xkbcommon python3-cffi"
+short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
+checksum=5b8dd10897a4b6e9a0bcef4adcade61d1d418b2657b078f87cdd849069490a14
+conflicts="python3-pywlroots-0.15"
+
+pre_build() {
+ [ "$CROSS_BUILD" ] || return 0
+ (
+ rm -rf wlroots/__pycache__
+ CC="$BUILD_CC"
+ CFLAGS="$BUILD_CFLAGS"
+ LDFLAGS="$BUILD_LDFLAGS"
+ unset LDSHARED
+ unset PYTHON_CONFIG
+ unset PYTHONPATH
+ unset PYPREFIX
+ unset _PYTHON_SYSCONFIGDATA_NAME
+ python3 wlroots/ffi_build.py
+ rm -f wlroots/_ffi.o wlroots/_ffi.cpython.*.so
+ )
+}
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-pywlroots-0.16/update b/srcpkgs/python3-pywlroots-0.16/update
new file mode 100644
index 0000000000000..47f3aeabd59b0
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/update
@@ -0,0 +1 @@
+pattern="[v_-]\K\Q${pkgname##*-}.\E.*(?=\.tar\.gz)"
From 65e07039537780c534b22ce1884b2f8a6b71681e Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:27 +0200
Subject: [PATCH 4/4] qtile: update to 0.23.0.
---
srcpkgs/qtile/INSTALL.msg | 9 ---------
srcpkgs/qtile/template | 8 ++++----
2 files changed, 4 insertions(+), 13 deletions(-)
delete mode 100644 srcpkgs/qtile/INSTALL.msg
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
deleted file mode 100644
index 95c75c2e6561b..0000000000000
--- a/srcpkgs/qtile/INSTALL.msg
+++ /dev/null
@@ -1,9 +0,0 @@
-!!! Config breakage !!!
- - lazy.qtile.display_kb() no longer receives any arguments. If you passed
- it any arguments (which were ignored previously), remove them.
- - If you have a custom startup Python script that you use instead of
- "qtile start" and run init_log manually, the signature has changed.
- Please check the source for the updated arguments.
- - "KeyChord"'s signature has changed. "mode" is now a boolean to indicate
- whether the mode should persist. The "name" parameter should be used
- to name the chord (e.g. for the ``Chord`` widget).
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 7b466061079e4..31de69d0fea22 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,9 +1,9 @@
# Template file for 'qtile'
pkgname=qtile
-version=0.22.0
-revision=3
+version=0.23.0
+revision=1
build_style=python3-pep517
-_wlroots=0.15
+_wlroots=0.16
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
@@ -14,7 +14,7 @@ license="MIT"
homepage="http://www.qtile.org/"
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
-checksum=ecec16cf41b6bbbc1847d0cd3f7dba68eb16fa175fbe856a229817297f605f6e
+checksum=eae63f7a939d9deac86d7251f75cafddbddf67e6e828feccee2f8ad745ed19ed
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (4 preceding siblings ...)
2023-09-30 9:57 ` [PR PATCH] [Updated] " kaistian
@ 2023-09-30 9:58 ` kaistian
2023-09-30 10:20 ` kaistian
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-30 9:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New review comment by kaistian on void-packages repository
https://github.com/void-linux/void-packages/pull/46330#discussion_r1341939371
Comment:
I removed the file.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (5 preceding siblings ...)
2023-09-30 9:58 ` [PR REVIEW] " kaistian
@ 2023-09-30 10:20 ` kaistian
2023-09-30 10:45 ` sgn
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-30 10:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
New comment by kaistian on void-packages repository
https://github.com/void-linux/void-packages/pull/46330#issuecomment-1741734067
Comment:
This error looks more like an error in the test system
```
xcffib/testing.py:139: AssertionError
---------------------------- Captured stderr setup -----------------------------
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
```
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (6 preceding siblings ...)
2023-09-30 10:20 ` kaistian
@ 2023-09-30 10:45 ` sgn
2023-09-30 11:08 ` [PR PATCH] [Updated] " kaistian
2023-10-03 15:45 ` [PR PATCH] [Merged]: " sgn
9 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2023-09-30 10:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 623 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/46330#issuecomment-1741738299
Comment:
> This error looks more like an error in the test system
>
> ```
> xcffib/testing.py:139: AssertionError
> ---------------------------- Captured stderr setup -----------------------------
> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
> (EE)
> Fatal server error:
> (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
> ```
Use `xvfb-run`
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (7 preceding siblings ...)
2023-09-30 10:45 ` sgn
@ 2023-09-30 11:08 ` kaistian
2023-10-03 15:45 ` [PR PATCH] [Merged]: " sgn
9 siblings, 0 replies; 11+ messages in thread
From: kaistian @ 2023-09-30 11:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
There is an updated pull request by kaistian against master on the void-packages repository
https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/46330
qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
#### Testing the changes
- I tested the changes in this PR: **YES**, expect the Wayland part since I run X11.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64-LIBC
A patch file from https://github.com/void-linux/void-packages/pull/46330.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-46330.patch --]
[-- Type: text/x-diff, Size: 7719 bytes --]
From f03ad1715b133ffa3e9aeb32ff015fcbe9a158cc Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:33 +0200
Subject: [PATCH 1/4] python3-cairocffi: update to 1.6.1.
---
srcpkgs/python3-cairocffi/template | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index 79e8cddbfb60d..452f813413d9e 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,18 +1,19 @@
# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
-version=1.3.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
+version=1.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--pyargs cairocffi"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-flit_core $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
-checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
+checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
short_desc="CFFI-based cairo bindings for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
+checksum=78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
build_options=xcb
case "$XBPS_MACHINE" in
@@ -20,16 +21,6 @@ x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
-post_patch() {
- vsed -e '/pytest-runner/d' -i setup.cfg
-}
-
-do_check() {
- vsed -e '/addopts/d' -i setup.cfg
- # Copy in $wrksrc lacks generated module; run against built copy
- ( cd build/lib* && python3 -m pytest )
-}
-
post_install() {
vlicense LICENSE
}
From 699e06eef4755b0597ccfa476c77118f5386b4f2 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:52:55 +0200
Subject: [PATCH 2/4] python3-xcffib: update to 1.5.0.
---
srcpkgs/python3-xcffib/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
index 07fa9f0732c09..e6b4ddc83c1b6 100644
--- a/srcpkgs/python3-xcffib/template
+++ b/srcpkgs/python3-xcffib/template
@@ -1,17 +1,18 @@
# Template file for 'python3-xcffib'
pkgname=python3-xcffib
-version=1.3.0
+version=1.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
makedepends="python3-devel libffi-devel libxcb-devel python3-six"
depends="python3-six python3-cffi libxcb"
+checkdepends="python3-pytest xvfb-run xeyes"
short_desc="Drop-in replacement for xpyb based on cffi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="Apache-2.0"
homepage="https://github.com/tych0/xcffib"
distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e0819e9cf56d47839a58755728af22eee02cad3b8b57157f8f682f187da96013
+checksum=3bf9ce88b8a343a12eb1fc72a7b3e6091f8b65e682354510261b0a2cae1b00c5
nocross="Cannot yet cross compile with Haskell"
pre_build() {
From 1ded6325b727708185cf8f90ef8ee2319899b393 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:11 +0200
Subject: [PATCH 3/4] New package: python3-pywlroots-0.16-0.16.5
---
srcpkgs/python3-pywlroots-0.16/template | 37 +++++++++++++++++++++++++
srcpkgs/python3-pywlroots-0.16/update | 1 +
2 files changed, 38 insertions(+)
create mode 100644 srcpkgs/python3-pywlroots-0.16/template
create mode 100644 srcpkgs/python3-pywlroots-0.16/update
diff --git a/srcpkgs/python3-pywlroots-0.16/template b/srcpkgs/python3-pywlroots-0.16/template
new file mode 100644
index 0000000000000..baba8ca525dc3
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/template
@@ -0,0 +1,37 @@
+# Template file for 'python3-pywlroots-0.16'
+pkgname=python3-pywlroots-0.16
+version=0.16.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
+ python3-wheel python3-devel wlroots${pkgname##*-}-devel"
+makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
+depends="python3-pywayland python3-xkbcommon python3-cffi"
+short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
+checksum=5b8dd10897a4b6e9a0bcef4adcade61d1d418b2657b078f87cdd849069490a14
+conflicts="python3-pywlroots-0.15"
+
+pre_build() {
+ [ "$CROSS_BUILD" ] || return 0
+ (
+ rm -rf wlroots/__pycache__
+ CC="$BUILD_CC"
+ CFLAGS="$BUILD_CFLAGS"
+ LDFLAGS="$BUILD_LDFLAGS"
+ unset LDSHARED
+ unset PYTHON_CONFIG
+ unset PYTHONPATH
+ unset PYPREFIX
+ unset _PYTHON_SYSCONFIGDATA_NAME
+ python3 wlroots/ffi_build.py
+ rm -f wlroots/_ffi.o wlroots/_ffi.cpython.*.so
+ )
+}
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-pywlroots-0.16/update b/srcpkgs/python3-pywlroots-0.16/update
new file mode 100644
index 0000000000000..47f3aeabd59b0
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.16/update
@@ -0,0 +1 @@
+pattern="[v_-]\K\Q${pkgname##*-}.\E.*(?=\.tar\.gz)"
From 0a4e7876524a18c11f0fa7f1a45e5f0d4929f3b1 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Fri, 29 Sep 2023 17:53:27 +0200
Subject: [PATCH 4/4] qtile: update to 0.23.0.
---
srcpkgs/qtile/INSTALL.msg | 9 ---------
srcpkgs/qtile/template | 8 ++++----
2 files changed, 4 insertions(+), 13 deletions(-)
delete mode 100644 srcpkgs/qtile/INSTALL.msg
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
deleted file mode 100644
index 95c75c2e6561b..0000000000000
--- a/srcpkgs/qtile/INSTALL.msg
+++ /dev/null
@@ -1,9 +0,0 @@
-!!! Config breakage !!!
- - lazy.qtile.display_kb() no longer receives any arguments. If you passed
- it any arguments (which were ignored previously), remove them.
- - If you have a custom startup Python script that you use instead of
- "qtile start" and run init_log manually, the signature has changed.
- Please check the source for the updated arguments.
- - "KeyChord"'s signature has changed. "mode" is now a boolean to indicate
- whether the mode should persist. The "name" parameter should be used
- to name the chord (e.g. for the ``Chord`` widget).
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 7b466061079e4..31de69d0fea22 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,9 +1,9 @@
# Template file for 'qtile'
pkgname=qtile
-version=0.22.0
-revision=3
+version=0.23.0
+revision=1
build_style=python3-pep517
-_wlroots=0.15
+_wlroots=0.16
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
@@ -14,7 +14,7 @@ license="MIT"
homepage="http://www.qtile.org/"
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
-checksum=ecec16cf41b6bbbc1847d0cd3f7dba68eb16fa175fbe856a229817297f605f6e
+checksum=eae63f7a939d9deac86d7251f75cafddbddf67e6e828feccee2f8ad745ed19ed
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Merged]: qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
2023-09-29 16:34 [PR PATCH] qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5 kaistian
` (8 preceding siblings ...)
2023-09-30 11:08 ` [PR PATCH] [Updated] " kaistian
@ 2023-10-03 15:45 ` sgn
9 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2023-10-03 15:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
There's a merged pull request on the void-packages repository
qtile: update to 0.23.0, python3-xcffib: update to 1.5.0, python3-cairocffi: update to 1.6.1 and new package: python3-pywlroots-0.16-0.16.5
https://github.com/void-linux/void-packages/pull/46330
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**, expect the Wayland part since I run X11.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64-LIBC
^ permalink raw reply [flat|nested] 11+ messages in thread