git » offpunk-git.git » commit 0080a2b

Remove hard dependency on python-pil (only needed for chafa<1.10 or timg<=1.3.2

author Klaus Alexander Seistrup
2024-06-30 13:12:14 UTC
committer Klaus Alexander Seistrup
2024-06-30 13:12:14 UTC
parent d0ed17940d2bd286cb235af54cb56977b4c9371d

Remove hard dependency on python-pil (only needed for chafa<1.10 or timg<=1.3.2

.SRCINFO +4 -5
PKGBUILD +4 -5

diff --git a/.SRCINFO b/.SRCINFO
index 8c12fa2..792b236 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = offpunk-git
 	pkgdesc = Fork of the command-line Gemini client AV-98 with added offline capabilities (built from latest commit)
-	pkgver = 2.2.r14.g469311b
-	pkgrel = 3
+	pkgver = 2.3.r0.gd499656
+	pkgrel = 1
 	epoch = 5
 	url = https://git.sr.ht/~lioploum/offpunk
 	arch = any
@@ -20,12 +20,11 @@ pkgbase = offpunk-git
 	depends = python-cryptography
 	depends = python-feedparser
 	depends = python-lxml-html-clean
-	depends = python-pillow
 	depends = python-readability-lxml
 	depends = python-requests
 	depends = python-setproctitle
-	optdepends = chafa: chafa and ansiwrap are required to render images in terminal
-	optdepends = timg: view images and videos in the terminal
+	optdepends = chafa>=1.10: chafa and ansiwrap are required to render images in terminal
+	optdepends = timg>1.3.2: view images and videos in the terminal
 	optdepends = wl-clipboard: copies text to the Wayland clipboard
 	optdepends = xdg-utils: xdg-open opens a URL in the preferred application
 	optdepends = xclip: copies text to the X11 clipboard
diff --git a/PKGBUILD b/PKGBUILD
index 5e06697..c72248c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
 pkgname='offpunk-git'
 _pkgname='offpunk'
 epoch=5
-pkgver=2.2.r14.g469311b
-pkgrel=3
+pkgver=2.3.r0.gd499656
+pkgrel=1
 pkgdesc='Fork of the command-line Gemini client AV-98 with added offline capabilities (built from latest commit)'
 arch=('any')
 url='https://git.sr.ht/~lioploum/offpunk'
@@ -21,7 +21,6 @@ depends=(
   'python-cryptography'
   'python-feedparser'
   'python-lxml-html-clean'
-  'python-pillow'
   'python-readability-lxml'
   'python-requests'
   'python-setproctitle'
@@ -35,8 +34,8 @@ makedepends=(
   'python-wheel'
 )
 optdepends=(
-  'chafa: chafa and ansiwrap are required to render images in terminal'
-  'timg: view images and videos in the terminal'
+  'chafa>=1.10: chafa and ansiwrap are required to render images in terminal'
+  'timg>1.3.2: view images and videos in the terminal'
   'wl-clipboard: copies text to  the Wayland clipboard'
   'xdg-utils: xdg-open opens a URL in the preferred application'
   'xclip: copies text to the X11 clipboard'