Github messages for voidlinux
 help / color / mirror / Atom feed
From: kaistian <kaistian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] qtile: update to 0.22.1, python3-xcffib: update to 1.2.0 and python3-cairocffi: update to 1.4.0
Date: Mon, 13 Mar 2023 17:12:15 +0100	[thread overview]
Message-ID: <20230313161215.qm5biUcyViaPzp-X1JOIVNd7jNzLGh3gkiVizskgNPc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42430@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 603 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/42430

qtile: update to 0.22.1, python3-xcffib: update to 1.2.0 and python3-cairocffi: update to 1.4.0
The Python packages is a hostmakedepends for Qtile.

#### Testing the changes
- I tested the changes in this PR: **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/42430.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-42430.patch --]
[-- Type: text/x-diff, Size: 6303 bytes --]

From d3befa0425f45c501ae962ce21206195e6f2e584 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <kai.stian.olstad@gmail.com>
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 <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=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 <kai.stian.olstad@gmail.com>
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 <void@olstad.com>"
 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 <kai.stian.olstad@gmail.com>
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

  parent reply	other threads:[~2023-03-13 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 18:49 [PR PATCH] " kaistian
2023-02-25 19:26 ` [PR PATCH] [Updated] WIP: " kaistian
2023-03-13 15:36 ` [PR REVIEW] " mhmdanas
2023-03-13 15:41 ` mhmdanas
2023-03-13 15:47 ` kaistian
2023-03-13 16:12 ` kaistian [this message]
2023-05-31 17:44 ` [PR PATCH] [Closed]: " kaistian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230313161215.qm5biUcyViaPzp-X1JOIVNd7jNzLGh3gkiVizskgNPc@z \
    --to=kaistian@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).