summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Dussuet <thierry.dussuet@protonmail.com>2025-07-20 13:25:43 +0200
committerZsolt Udvari <uzsolt@FreeBSD.org>2025-07-20 13:27:39 +0200
commit7a13d03b21efe75a38e45355c3eb00f2d3c4a456 (patch)
treeb2c2ac1906bdbe342ac031dea7065b773ddaddeb
parentaudio/abcde: add runtime dependency on sysutils/eject (diff)
deskutils/py-vit: New port
VIT (Visual Interactive Taskwarrior) is a lightweight, curses-based front end for Taskwarrior that provides a convenient way to quickly navigate and process tasks. VIT allows you to interact with tasks in a Vi-intuitive way. A goal of VIT is to allow you to customize the way in which you use Taskwarrior's core commands as well as to provide a framework for easily dispatching external commands (both user scripts and Taskwarrior's many External Scripts). PR: 252678
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/py-vit/Makefile26
-rw-r--r--deskutils/py-vit/distinfo3
-rw-r--r--deskutils/py-vit/pkg-descr6
4 files changed, 36 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 3425305cf110..20e85a1055f2 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -239,6 +239,7 @@
SUBDIR += py-term-background
SUBDIR += py-trash-cli
SUBDIR += py-vdirsyncer
+ SUBDIR += py-vit
SUBDIR += py-vobject
SUBDIR += py-vorta
SUBDIR += qlipper
diff --git a/deskutils/py-vit/Makefile b/deskutils/py-vit/Makefile
new file mode 100644
index 000000000000..5d9064d39616
--- /dev/null
+++ b/deskutils/py-vit/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= vit
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.3.3
+CATEGORIES= deskutils python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= thierry.dussuet@protonmail.com
+COMMENT= Curses-based interface to taskwarrior
+WWW= https://github.com/vit-project/vit
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= task:deskutils/taskwarrior \
+ ${PYTHON_PKGNAMEPREFIX}tasklib>=2.3:devel/py-tasklib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tzlocal>=1.5:devel/py-tzlocal@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urwid>=0.6:devel/py-urwid@${PY_FLAVOR}
+
+USES= python:3.5+,run
+USE_GITHUB= yes
+GH_ACCOUNT= vit-project
+GH_PROJECT= vit
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+.include <bsd.port.mk>
diff --git a/deskutils/py-vit/distinfo b/deskutils/py-vit/distinfo
new file mode 100644
index 000000000000..19c093b0a569
--- /dev/null
+++ b/deskutils/py-vit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752746778
+SHA256 (vit-project-vit-v2.3.3_GH0.tar.gz) = 9a1b1165fd77713df6f7a4cc8c1f7b26f439e529e477f0acd0748b09b1bd81de
+SIZE (vit-project-vit-v2.3.3_GH0.tar.gz) = 84297
diff --git a/deskutils/py-vit/pkg-descr b/deskutils/py-vit/pkg-descr
new file mode 100644
index 000000000000..0af94a165ded
--- /dev/null
+++ b/deskutils/py-vit/pkg-descr
@@ -0,0 +1,6 @@
+VIT (Visual Interactive Taskwarrior) is a lightweight, curses-based front end
+for Taskwarrior that provides a convenient way to quickly navigate and process
+tasks. VIT allows you to interact with tasks in a Vi-intuitive way. A goal of
+VIT is to allow you to customize the way in which you use Taskwarrior's core
+commands as well as to provide a framework for easily dispatching external
+commands (both user scripts and Taskwarrior's many External Scripts).