From 5f63bbfbca23c006c5ba3d14404f2a9bd50518fd Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Mon, 1 Aug 2022 16:41:42 +0200 Subject: [PATCH 1/3] New package: python3-xcffib-0.11.1 --- srcpkgs/python3-xcffib/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-xcffib/template diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template new file mode 100644 index 000000000000..91e7006f2338 --- /dev/null +++ b/srcpkgs/python3-xcffib/template @@ -0,0 +1,21 @@ +# Template file for 'python3-xcffib' +pkgname=python3-xcffib +version=0.11.1 +revision=1 +wrksrc=xcffib-${version} +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" +short_desc="Drop-in replacement for xpyb based on cffi" +maintainer="Kai Stian Olstad " +license="Apache-2.0" +homepage="https://github.com/tych0/xcffib" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3 +nocross="Cannot yet cross compile with Haskell" + +pre_build() { + cabal v2-update + PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib +} From 585b580e8a76d101f8004c063a1b9df476f62c83 Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Mon, 1 Aug 2022 16:45:39 +0200 Subject: [PATCH 2/3] python3-cairocffi: update to 1.3.0 and python3-xcffib as dependency --- srcpkgs/python3-cairocffi/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template index f27d35907eb0..69ecd12d570a 100644 --- a/srcpkgs/python3-cairocffi/template +++ b/srcpkgs/python3-cairocffi/template @@ -1,10 +1,10 @@ # Template file for 'python3-cairocffi' pkgname=python3-cairocffi -version=1.2.0 -revision=2 +version=1.3.0 +revision=1 wrksrc="cairocffi-${version}" build_style=python3-module -hostmakedepends="python3-setuptools python3-cffi python3-wheel" +hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-xcffib" depends="python3-cffi cairo" checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends" short_desc="CFFI-based cairo bindings for Python3" @@ -13,7 +13,7 @@ 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=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140 +checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91 post_patch() { vsed -e '/pytest-runner/d' -i setup.cfg From 3c54992ff4d9c3ba0642ac48c2a46e608b294b28 Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Mon, 1 Aug 2022 16:46:28 +0200 Subject: [PATCH 3/3] New package: qtile-0.21.0 --- srcpkgs/qtile/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/qtile/template diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template new file mode 100644 index 000000000000..124a6399cdcd --- /dev/null +++ b/srcpkgs/qtile/template @@ -0,0 +1,22 @@ +# Template file for 'qtile' +pkgname=qtile +version=0.21.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel pkg-config" +makedepends="python3-devel libffi-devel pulseaudio-devel" +depends="python3-cairocffi python3-xcffib pango gdk-pixbuf" +short_desc="Full-featured tiling window manager written and configured in Python" +maintainer="Kai Stian Olstad " +license="MIT" +homepage="http://www.qtile.org/" +changelog="https://raw.githubusercontent.com/qtile/qtile/v${version}/CHANGELOG" +distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz" +checksum=93e1f8216c669b5570333607d5d06de7d7f16033b0e73cf34c896459f2df5254 + +# Pulseaudio is only needed for an optional widget +skiprdeps="/usr/lib/python3.10/site-packages/libqtile/widget/_pulse_audio.abi3.so" + +post_install() { + vlicense LICENSE +}