From 866ddfa9563c9ad970d0a4b8431b54532f3812f6 Mon Sep 17 00:00:00 2001 From: lissine Date: Thu, 19 Sep 2024 20:25:36 +0100 Subject: [PATCH 1/2] python3-nbxmpp: update to 5.0.4. --- srcpkgs/python3-nbxmpp/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-nbxmpp/template b/srcpkgs/python3-nbxmpp/template index 4d859a2bbb2e61..8c051c324a4b92 100644 --- a/srcpkgs/python3-nbxmpp/template +++ b/srcpkgs/python3-nbxmpp/template @@ -1,6 +1,6 @@ # Template file for 'python3-nbxmpp' pkgname=python3-nbxmpp -version=5.0.3 +version=5.0.4 revision=1 build_style=python3-pep517 hostmakedepends="python3-wheel" @@ -12,7 +12,7 @@ license="GPL-2.0-or-later" homepage="https://python-nbxmpp.gajim.org/" changelog="https://dev.gajim.org/gajim/python-nbxmpp/raw/master/ChangeLog" distfiles="${PYPI_SITE}/n/nbxmpp/nbxmpp-${version}.tar.gz" -checksum=fcfc58a78ba33dd0f7517d27becd4db6c10203202e540dad9764e41f685b9feb +checksum=166ea10ff643dae7911b764393d3baf5298062b431d48ac67a439436c861d611 do_check() { coverage run --source=nbxmpp -m unittest discover -v From a08a1e604490c8425713b52d3f1ebce3b0b1f4ef Mon Sep 17 00:00:00 2001 From: lissine Date: Thu, 19 Sep 2024 20:26:33 +0100 Subject: [PATCH 2/2] gajim: update to 1.9.4. Remove the patch as it's not needed anymore, since the failing test is now disabled upstream. --- srcpkgs/gajim/patches/remove_broken_test.patch | 15 --------------- srcpkgs/gajim/template | 8 ++++---- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 srcpkgs/gajim/patches/remove_broken_test.patch diff --git a/srcpkgs/gajim/patches/remove_broken_test.patch b/srcpkgs/gajim/patches/remove_broken_test.patch deleted file mode 100644 index 5b11e87cfebf63..00000000000000 --- a/srcpkgs/gajim/patches/remove_broken_test.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/test/gui/test_util.py 2024-06-10 10:03:49.000000000 +0200 -+++ b/test/gui/test_util.py 2024-06-11 16:15:31.000273954 +0200 -@@ -57,9 +57,9 @@ - # returns 'c', not 'ch'. - - # In most locales (say, any western one): -- devanagari_kshi = '\u0915\u094D' + devanagari_ssi -- self.assertEqual( -- get_first_grapheme(devanagari_kshi), '\u0915\u094D', 'क्षि -> क् ') -+ # devanagari_kshi = '\u0915\u094D' + devanagari_ssi -+ # self.assertEqual( -+ # get_first_grapheme(devanagari_kshi), '\u0915\u094D', 'क्षि -> क् ') - # This probably won't fail on *any* locale, ever, again because the - # implementation doesn't seem locale-specific. - diff --git a/srcpkgs/gajim/template b/srcpkgs/gajim/template index 7a2a8fdc63042d..710419ca59ec02 100644 --- a/srcpkgs/gajim/template +++ b/srcpkgs/gajim/template @@ -1,6 +1,6 @@ # Template file for 'gajim' pkgname=gajim -version=1.9.3 +version=1.9.4 revision=1 build_style=python3-pep517 hostmakedepends="gettext python3-wheel" @@ -18,14 +18,14 @@ license="GPL-3.0-only" homepage="https://www.gajim.org" changelog="https://dev.gajim.org/gajim/gajim/-/raw/master/ChangeLog" distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.gz" -checksum=4f15b2503a01bec70a6b6a203eb165ccb0b6abee513323270223a941da453f83 +checksum=649cf4ac65d096097ced9d5189521ae86554ba390370a1ffe9fdd175947f956c post_build() { - ./pep517build/build_metadata.py -o dist/metadata + ./make.py build --dist=unix } post_install() { - ./pep517build/install_metadata.py dist/metadata --prefix=$DESTDIR/usr + ./make.py install --dist=unix vdoc "${FILESDIR}/README.voidlinux" }