From: AnInternetTroll <AnInternetTroll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] toot: update to 0.43 & add shell completion.
Date: Sun, 14 Apr 2024 10:19:28 +0200 [thread overview]
Message-ID: <20240414081928.1683A21406@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49732@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
There is an updated pull request by AnInternetTroll against master on the void-packages repository
https://github.com/AnInternetTroll/void-packages user/luca/toot
https://github.com/void-linux/void-packages/pull/49732
toot: update to 0.43 & add shell completion.
#### 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-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/49732.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/toot-49732.patch --]
[-- Type: text/x-diff, Size: 4586 bytes --]
From 358652ee20f8bbc9ae8fa44d11b68ef114e97263 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 6 Apr 2024 19:15:09 +0200
Subject: [PATCH 1/3] 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 <jon@jefferiestube.net>"
@@ -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 9b8f0609ac20982b62f2590394f9263f9d1aa5fc Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sun, 14 Apr 2024 10:17:38 +0200
Subject: [PATCH 2/3] New package: python3-term-image-0.7.1
---
srcpkgs/python3-term-image/template | 15 +++++++++++++++
1 file changed, 15 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..8f69bea38e372d
--- /dev/null
+++ b/srcpkgs/python3-term-image/template
@@ -0,0 +1,15 @@
+# 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 <luca@lucamatei.com>"
+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
From 2dc7012b4c8dbd73a3cf6247f830afe0d83490ef Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sun, 14 Apr 2024 09:56:58 +0200
Subject: [PATCH 3/3] 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 <jon@jefferiestube.net>"
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
next prev parent reply other threads:[~2024-04-14 8:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-06 17:16 [PR PATCH] toot: " AnInternetTroll
2024-04-06 17:31 ` [PR PATCH] [Updated] " AnInternetTroll
2024-04-06 17:34 ` AnInternetTroll
2024-04-09 21:51 ` cinerea0
2024-04-10 4:42 ` AnInternetTroll
2024-04-14 7:57 ` [PR PATCH] [Updated] " AnInternetTroll
2024-04-14 8:18 ` [PR PATCH] [Updated] toot: update to 0.43 & " AnInternetTroll
2024-04-14 8:19 ` AnInternetTroll [this message]
2024-04-14 8:22 ` AnInternetTroll
2024-04-14 8:35 ` AnInternetTroll
2024-05-31 18:59 ` [PR PATCH] [Merged]: " classabbyamp
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=20240414081928.1683A21406@inbox.vuxu.org \
--to=aninternettroll@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).