From 358652ee20f8bbc9ae8fa44d11b68ef114e97263 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sat, 6 Apr 2024 19:15:09 +0200 Subject: [PATCH 1/4] toot: add shell completion. --- srcpkgs/toot/template | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/srcpkgs/toot/template b/srcpkgs/toot/template index 251276fea759ae..560db74e849b15 100644 --- a/srcpkgs/toot/template +++ b/srcpkgs/toot/template @@ -1,11 +1,12 @@ # Template file for 'toot' pkgname=toot version=0.42.0 -revision=1 +revision=2 build_style=python3-pep517 -hostmakedepends="python3-setuptools python3-wheel" -depends="python3-click python3-requests python3-BeautifulSoup4 python3-wcwidth +_depends="python3-click python3-requests python3-BeautifulSoup4 python3-wcwidth python3-urwid python3-urwidgets python3-tomlkit" +hostmakedepends="python3-setuptools python3-wheel ${_depends}" +depends="${_depends}" checkdepends="${depends} python3-psycopg2 python3-pytest-xdist" short_desc="Mastodon CLI client" maintainer="Jon Levin " @@ -14,3 +15,11 @@ homepage="https://toot.bezdomni.net" changelog="https://raw.githubusercontent.com/ihabunek/toot/master/CHANGELOG.md" distfiles="https://github.com/ihabunek/toot/archive/refs/tags/${version}.tar.gz" checksum=05502896b3a75aa93c8895bab75669653601af502ac6cf44d1ab33de373ef229 + +post_install() { + for shell in bash zsh fish; do + _TOOT_COMPLETE=${shell}_source PYTHONPATH="${DESTDIR}/${py3_sitelib}" \ + $DESTDIR/usr/bin/toot > completion.$shell + vcompletion completion.$shell $shell + done +} From 77b750e99e43fd8c42f59fa21071ce74200870c4 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sun, 14 Apr 2024 10:17:38 +0200 Subject: [PATCH 2/4] New package: python3-term-image-0.7.1 --- srcpkgs/python3-term-image/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-term-image/template diff --git a/srcpkgs/python3-term-image/template b/srcpkgs/python3-term-image/template new file mode 100644 index 00000000000000..a64792e9c324c0 --- /dev/null +++ b/srcpkgs/python3-term-image/template @@ -0,0 +1,19 @@ +# Template file for 'python3-term-image' +pkgname=python3-term-image +version=0.7.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-Pillow python3-requests python3-typing_extensions python3-urwid" +checkdepends="${depends} python3-pytest" +short_desc="Display images in the terminal" +maintainer="Luca Matei Pintilie " +license="MIT" +homepage="https://github.com/AnonymouX47/term-image" +changelog="https://github.com/AnonymouX47/term-image/blob/main/CHANGELOG.md" +distfiles="https://github.com/AnonymouX47/term-image/archive/refs/tags/v$version.tar.gz" +checksum=bb635b39270fd68dd52b96a7d38c7a624ab900d34535920bffcdad0e484812d2 + +post_install() { + vlicense LICENSE +} From 25cada533376c9af37f12481243626dc47b8f06d Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sun, 14 Apr 2024 10:34:42 +0200 Subject: [PATCH 3/4] python3-urwidgets: update to 0.2.0. --- srcpkgs/python3-urwidgets/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-urwidgets/template b/srcpkgs/python3-urwidgets/template index cd1030d3fe6286..8c3a5a258c1122 100644 --- a/srcpkgs/python3-urwidgets/template +++ b/srcpkgs/python3-urwidgets/template @@ -1,6 +1,6 @@ # Template file for 'python3-urwidgets' pkgname=python3-urwidgets -version=0.1.1 +version=0.2.0 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" @@ -11,7 +11,7 @@ license="MIT" homepage="https://github.com/AnonymouX47/urwidgets" changelog="https://github.com/AnonymouX47/urwidgets/releases" distfiles="https://github.com/AnonymouX47/urwidgets/releases/download/v$version/urwidgets-$version.tar.gz" -checksum=1e0dbceb875ace11067d93a585d8842a011db14ce78ec69ed485dc0df17f09e7 +checksum=d41acf9d9f8d576cb580bc042919b209c5aeeb60e1f81052809c63f31c4e7688 # No tests available make_check=no From 8ba20d8138a81df4e871a00be994ee6484346f48 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sun, 14 Apr 2024 09:56:58 +0200 Subject: [PATCH 4/4] toot: update to 0.43.0. --- srcpkgs/toot/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/toot/template b/srcpkgs/toot/template index 560db74e849b15..f6936711056179 100644 --- a/srcpkgs/toot/template +++ b/srcpkgs/toot/template @@ -1,20 +1,20 @@ # Template file for 'toot' pkgname=toot -version=0.42.0 -revision=2 +version=0.43.0 +revision=1 build_style=python3-pep517 _depends="python3-click python3-requests python3-BeautifulSoup4 python3-wcwidth - python3-urwid python3-urwidgets python3-tomlkit" -hostmakedepends="python3-setuptools python3-wheel ${_depends}" + python3-urwid python3-urwidgets python3-tomlkit python3-Pillow python3-term-image" +hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm ${_depends}" depends="${_depends}" -checkdepends="${depends} python3-psycopg2 python3-pytest-xdist" +checkdepends="${depends} python3-pytest-xdist" short_desc="Mastodon CLI client" maintainer="Jon Levin " license="GPL-3.0-or-later" homepage="https://toot.bezdomni.net" changelog="https://raw.githubusercontent.com/ihabunek/toot/master/CHANGELOG.md" -distfiles="https://github.com/ihabunek/toot/archive/refs/tags/${version}.tar.gz" -checksum=05502896b3a75aa93c8895bab75669653601af502ac6cf44d1ab33de373ef229 +distfiles="${PYPI_SITE}/t/toot/toot-${version}.tar.gz" +checksum=6aa84c4b8df6e2214a3e735142bf5bd57b3b10aa08e35579425c5dbe3bc25ae7 post_install() { for shell in bash zsh fish; do