Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] toot: add shell completion.
@ 2024-04-06 17:16 AnInternetTroll
  2024-04-06 17:31 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-06 17:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

There is a new 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: 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: 2967 bytes --]

From 3fd8a386e3dfc788f39b960426c670ddfab58dff 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] toot: add shell completion.

---
 srcpkgs/toot/patches/version-check.patch | 30 ++++++++++++++++++++++++
 srcpkgs/toot/template                    | 10 +++++++-
 2 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/toot/patches/version-check.patch

diff --git a/srcpkgs/toot/patches/version-check.patch b/srcpkgs/toot/patches/version-check.patch
new file mode 100644
index 00000000000000..7176b4fe220053
--- /dev/null
+++ b/srcpkgs/toot/patches/version-check.patch
@@ -0,0 +1,30 @@
+From 1d48e6485359df24a9f52610d8b66565b54e869f Mon Sep 17 00:00:00 2001
+From: Luca Matei Pintilie <luca@lucamatei.com>
+Date: Sat, 6 Apr 2024 12:57:39 +0200
+Subject: [PATCH] Fix version check in case of an empty string
+
+Some mastodon implementations (GoToSocial) will return `version: ""`, in
+which case checking for the major version won't work.
+
+This is why an extra check has to be added, and default to 0 as the
+"major" version.
+---
+ toot/tui/app.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/toot/tui/app.py b/toot/tui/app.py
+index 8278ef71..1fcfd413 100644
+--- a/toot/tui/app.py
++++ b/toot/tui/app.py
+@@ -327,8 +327,10 @@ def _done(instance):
+                 # get the major version number of the server
+                 # this works for Mastodon and Pleroma version strings
+                 # Mastodon versions < 4 do not have translation service
++                # If the version is missing, assume 0 as a fallback
+                 # Revisit this logic if Pleroma implements translation
+-                ch = instance["version"][0]
++                version = instance["version"]
++                ch = "0" if not version else version[0]
+                 self.can_translate = int(ch) > 3 if ch.isnumeric() else False
+ 
+         return self.run_in_thread(_load_instance, done_callback=_done)
diff --git a/srcpkgs/toot/template b/srcpkgs/toot/template
index 251276fea759ae..0ca1d1afe82a4d 100644
--- a/srcpkgs/toot/template
+++ b/srcpkgs/toot/template
@@ -1,7 +1,7 @@
 # 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
@@ -14,3 +14,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
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
@ 2024-04-06 17:31 ` AnInternetTroll
  2024-04-06 17:34 ` AnInternetTroll
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-06 17:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 507 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: 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: 3340 bytes --]

From 09a19b653eceb77e4f67eedd9e2a1ab6c565dfa1 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] toot: add shell completion.

---
 srcpkgs/toot/patches/version-check.patch | 30 ++++++++++++++++++++++++
 srcpkgs/toot/template                    | 15 +++++++++---
 2 files changed, 42 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/toot/patches/version-check.patch

diff --git a/srcpkgs/toot/patches/version-check.patch b/srcpkgs/toot/patches/version-check.patch
new file mode 100644
index 00000000000000..7176b4fe220053
--- /dev/null
+++ b/srcpkgs/toot/patches/version-check.patch
@@ -0,0 +1,30 @@
+From 1d48e6485359df24a9f52610d8b66565b54e869f Mon Sep 17 00:00:00 2001
+From: Luca Matei Pintilie <luca@lucamatei.com>
+Date: Sat, 6 Apr 2024 12:57:39 +0200
+Subject: [PATCH] Fix version check in case of an empty string
+
+Some mastodon implementations (GoToSocial) will return `version: ""`, in
+which case checking for the major version won't work.
+
+This is why an extra check has to be added, and default to 0 as the
+"major" version.
+---
+ toot/tui/app.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/toot/tui/app.py b/toot/tui/app.py
+index 8278ef71..1fcfd413 100644
+--- a/toot/tui/app.py
++++ b/toot/tui/app.py
+@@ -327,8 +327,10 @@ def _done(instance):
+                 # get the major version number of the server
+                 # this works for Mastodon and Pleroma version strings
+                 # Mastodon versions < 4 do not have translation service
++                # If the version is missing, assume 0 as a fallback
+                 # Revisit this logic if Pleroma implements translation
+-                ch = instance["version"][0]
++                version = instance["version"]
++                ch = "0" if not version else version[0]
+                 self.can_translate = int(ch) > 3 if ch.isnumeric() else False
+ 
+         return self.run_in_thread(_load_instance, done_callback=_done)
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
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
  2024-04-06 17:31 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-04-06 17:34 ` AnInternetTroll
  2024-04-09 21:51 ` cinerea0
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-06 17:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 507 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: 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: 1603 bytes --]

From e35ab57b2872ced3ce66c1344d3f5e4aae3ce6c8 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] 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
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: toot: add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion 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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cinerea0 @ 2024-04-09 21:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/49732#issuecomment-2046106334

Comment:
Why did you add all of the dependencies to `hostmakedepends`?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: toot: add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (2 preceding siblings ...)
  2024-04-09 21:51 ` cinerea0
@ 2024-04-10  4:42 ` AnInternetTroll
  2024-04-14  7:57 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-10  4:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/49732#issuecomment-2046529106

Comment:
Need them to be able to run the python program in the post_install stage (to generate completions). But I'm open to suggestions here, as I see it's not ideal


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (3 preceding siblings ...)
  2024-04-10  4:42 ` AnInternetTroll
@ 2024-04-14  7:57 ` AnInternetTroll
  2024-04-14  8:18 ` [PR PATCH] [Updated] toot: update to 0.43 & " AnInternetTroll
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-14  7:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 507 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: 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: 3232 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/2] 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 c526af17e59cbe63eb892f934b326cb7794f4220 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 2/2] toot: update to 0.43.0.

---
 srcpkgs/toot/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/toot/template b/srcpkgs/toot/template
index 560db74e849b15..3bbfdab9f447f0 100644
--- a/srcpkgs/toot/template
+++ b/srcpkgs/toot/template
@@ -1,11 +1,11 @@
 # 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"
+hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm ${_depends}"
 depends="${_depends}"
 checkdepends="${depends} python3-psycopg2 python3-pytest-xdist"
 short_desc="Mastodon CLI client"
@@ -13,8 +13,8 @@ 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: update to 0.43 & add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (4 preceding siblings ...)
  2024-04-14  7:57 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-04-14  8:18 ` AnInternetTroll
  2024-04-14  8:19 ` AnInternetTroll
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-14  8:18 UTC (permalink / raw)
  To: ml

[-- 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: 4783 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 838d616d26c40d728c187569f56f9073be7d9dbb 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 | 17 +++++++++++++++++
 1 file changed, 17 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..57741b9351e951
--- /dev/null
+++ b/srcpkgs/python3-term-image/template
@@ -0,0 +1,17 @@
+# 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="GPL-3.0-or-later"
+homepage="https://github.com/AnonymouX47/term-image"
+changelog="https://github.com/AnonymouX47/term-image/blob/main/CHANGELOG.md"
+# distfiles="${PYPI_SITE}/t/term-image/term-image-${version}.tar.gz"
+# distfiles="https://github.com/AnonymouX47/term-image/releases/download/v$version/term-image-$version.tar.gz"
+distfiles="https://github.com/AnonymouX47/term-image/archive/refs/tags/v$version.tar.gz"
+checksum=bb635b39270fd68dd52b96a7d38c7a624ab900d34535920bffcdad0e484812d2

From e158e71c396dd2475ba7a5d60138c1534a9f8540 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: update to 0.43 & add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (5 preceding siblings ...)
  2024-04-14  8:18 ` [PR PATCH] [Updated] toot: update to 0.43 & " AnInternetTroll
@ 2024-04-14  8:19 ` AnInternetTroll
  2024-04-14  8:22 ` AnInternetTroll
  2024-04-14  8:35 ` AnInternetTroll
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-14  8:19 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: update to 0.43 & add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (6 preceding siblings ...)
  2024-04-14  8:19 ` AnInternetTroll
@ 2024-04-14  8:22 ` AnInternetTroll
  2024-04-14  8:35 ` AnInternetTroll
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-14  8:22 UTC (permalink / raw)
  To: ml

[-- 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: 4632 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 77b750e99e43fd8c42f59fa21071ce74200870c4 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 | 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 <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
+
+post_install() {
+	vlicense LICENSE
+}

From 5434c13601d4fc109bced8fefa026042e524e14b 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] toot: update to 0.43 & add shell completion.
  2024-04-06 17:16 [PR PATCH] toot: add shell completion AnInternetTroll
                   ` (7 preceding siblings ...)
  2024-04-14  8:22 ` AnInternetTroll
@ 2024-04-14  8:35 ` AnInternetTroll
  8 siblings, 0 replies; 10+ messages in thread
From: AnInternetTroll @ 2024-04-14  8:35 UTC (permalink / raw)
  To: ml

[-- 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: 5794 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/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 <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 77b750e99e43fd8c42f59fa21071ce74200870c4 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/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 <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
+
+post_install() {
+	vlicense LICENSE
+}

From 25cada533376c9af37f12481243626dc47b8f06d Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
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 <luca@lucamatei.com>
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 <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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-14  8:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-06 17:16 [PR PATCH] toot: add shell completion 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
2024-04-14  8:22 ` AnInternetTroll
2024-04-14  8:35 ` AnInternetTroll

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).