From d3befa0425f45c501ae962ce21206195e6f2e584 Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Fri, 24 Feb 2023 19:29:47 +0100 Subject: [PATCH 1/3] python3-cairocffi: update to 1.4.0. --- srcpkgs/python3-cairocffi/files/LICENSE | 29 +++++++++++++++++++++++++ srcpkgs/python3-cairocffi/template | 17 +++++---------- 2 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 srcpkgs/python3-cairocffi/files/LICENSE diff --git a/srcpkgs/python3-cairocffi/files/LICENSE b/srcpkgs/python3-cairocffi/files/LICENSE new file mode 100644 index 000000000000..9142ae9cb807 --- /dev/null +++ b/srcpkgs/python3-cairocffi/files/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2013-2019, Simon Sapin and contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template index 79e8cddbfb60..fda1d7a7815b 100644 --- a/srcpkgs/python3-cairocffi/template +++ b/srcpkgs/python3-cairocffi/template @@ -1,18 +1,18 @@ # Template file for 'python3-cairocffi' pkgname=python3-cairocffi -version=1.3.0 -revision=2 +version=1.4.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools python3-cffi python3-wheel $(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 " 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=509339b32ccd8d7b00c2204c32736cde78db53a32e6a162d312478d25626cd9a build_options=xcb case "$XBPS_MACHINE" in @@ -20,16 +20,11 @@ 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 ) } +# License file was removed for 1.4.0 but will return in next version post_install() { - vlicense LICENSE + vlicense $FILESDIR/LICENSE } From 5cf6778a94db38c92448cc54a4321262548081fc Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Fri, 24 Feb 2023 19:30:23 +0100 Subject: [PATCH 2/3] python3-xcffib: update to 1.2.0. --- srcpkgs/python3-xcffib/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template index e33b1feed7cc..ed5a8f8fa3f7 100644 --- a/srcpkgs/python3-xcffib/template +++ b/srcpkgs/python3-xcffib/template @@ -1,7 +1,7 @@ # Template file for 'python3-xcffib' pkgname=python3-xcffib -version=0.11.1 -revision=2 +version=1.2.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" @@ -11,7 +11,7 @@ maintainer="Kai Stian Olstad " license="Apache-2.0" homepage="https://github.com/tych0/xcffib" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3 +checksum=d87d14aebee11c70a685da58fd509bde4ab089a226848dde393174b3fa94f8d6 nocross="Cannot yet cross compile with Haskell" pre_build() { From fc2f4e6ba6db486c16170206420ba07e9482c39a Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Fri, 24 Feb 2023 19:31:45 +0100 Subject: [PATCH 3/3] qtile: update to 0.22.1. --- srcpkgs/qtile/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template index 3f16eada0cda..2a5ddaf24729 100644 --- a/srcpkgs/qtile/template +++ b/srcpkgs/qtile/template @@ -1,7 +1,7 @@ # Template file for 'qtile' pkgname=qtile -version=0.22.0 -revision=2 +version=0.22.1 +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" @@ -12,7 +12,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=27c3cb4d742311622cf5a278167c3be99ea475a7def5d41ee860bd3e86478f8b post_install() { vinstall resources/qtile.desktop 644 usr/share/xsessions