git: 9f0a86b4bcf4 - main - deskutils/vit: Update to 2.3.4, take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 06:32:07 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9f0a86b4bcf4c1161d3d6b37fea935e8845d11d8
commit 9f0a86b4bcf4c1161d3d6b37fea935e8845d11d8
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-10-10 06:29:55 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-10-10 06:31:57 +0000
deskutils/vit: Update to 2.3.4, take maintainership
VIT was rewritten in Python upstream in 2.0 and is feature-complete
with VIT 1.x. The Perl 1.2 version this port installed is no longer
distributed by taskwarrior.org.
- Build from the PyPI sdist with USE_PYTHON=pep517.
- Depend on py-tasklib, py-urwid and Taskwarrior.
- The configuration is now ~/.vit/config.ini, a vitrc from VIT 1.x is
not read.
Sponsored by: Netzkommune GmbH
---
deskutils/vit/Makefile | 40 ++++++++++++++-----------------------
deskutils/vit/distinfo | 5 +++--
deskutils/vit/files/patch-configure | 14 -------------
deskutils/vit/pkg-descr | 10 ++++------
4 files changed, 22 insertions(+), 47 deletions(-)
diff --git a/deskutils/vit/Makefile b/deskutils/vit/Makefile
index d88588bc9409..bdf3aba47edd 100644
--- a/deskutils/vit/Makefile
+++ b/deskutils/vit/Makefile
@@ -1,34 +1,24 @@
PORTNAME= vit
-PORTVERSION= 1.2
-PORTREVISION= 2
-CATEGORIES= deskutils
-MASTER_SITES= http://taskwarrior.org/download/
+DISTVERSION= 2.3.4
+CATEGORIES= deskutils python
+MASTER_SITES= PYPI
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Curses-based interface to taskwarrior
-WWW= https://tasktools.org/projects/vit.html
+MAINTAINER= joneum@FreeBSD.org
+COMMENT= Visual Interactive Taskwarrior full-screen terminal interface
+WWW= https://github.com/vit-project/vit
-LICENSE= GPLv3+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= p5-Curses>=0:devel/p5-Curses \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tasklib>=2.4.3:devel/py-tasklib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urwid>=2.1.2:devel/py-urwid@${PY_FLAVOR} \
task:deskutils/taskwarrior
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-NO_ARCH= yes
-USES= perl5 shebangfix
-SHEBANG_FILES= vit.pl
-GNU_CONFIGURE= yes
-ALL_TARGET= build
-
-PLIST_FILES= bin/vit \
- etc/vit-commands \
- share/man/man1/vit.1.gz \
- share/man/man5/vitrc.5.gz
+USES= python
+USE_PYTHON= autoplist pep517
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/vit ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/commands ${STAGEDIR}${PREFIX}/etc/vit-commands
- ${INSTALL_MAN} ${WRKSRC}/vit.1 ${STAGEDIR}${PREFIX}/share/man/man1
- ${INSTALL_MAN} ${WRKSRC}/vitrc.5 ${STAGEDIR}${PREFIX}/share/man/man5
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/deskutils/vit/distinfo b/deskutils/vit/distinfo
index 699c18bcf56a..4bbd5e10ee71 100644
--- a/deskutils/vit/distinfo
+++ b/deskutils/vit/distinfo
@@ -1,2 +1,3 @@
-SHA256 (vit-1.2.tar.gz) = a78dee573130c8d6bc92cf60fafac0abc78dd2109acfba587cb0ae202ea5bbd0
-SIZE (vit-1.2.tar.gz) = 48729
+TIMESTAMP = 1791571341
+SHA256 (vit-2.3.4.tar.gz) = 346a210aa0de754cf7adaf73723bf7d2cc8ee754eeb785eb18370d33f74e5ce2
+SIZE (vit-2.3.4.tar.gz) = 73363
diff --git a/deskutils/vit/files/patch-configure b/deskutils/vit/files/patch-configure
deleted file mode 100644
index cb9597a256b1..000000000000
--- a/deskutils/vit/files/patch-configure
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.orig 2017-12-25 16:56:35 UTC
-+++ configure
-@@ -1771,11 +1771,6 @@ fi
- if test "$PERL" = "NOT_FOUND"; then
- as_fn_error $? "can not continue: perl not found" "$LINENO" 5
- fi
--if test "$PERL" != "/usr/bin/perl"; then
-- echo configure: error: can not continue... perl must be installed as /usr/bin/perl
-- echo confgiure: hint: try \"sudo ln -s $PERL /usr/bin/perl\"
-- exit 1
--fi
-
- PERL_MODULE_CHECK=`perl -e "use Curses" 2> /dev/null; echo $?`
- if test "$PERL_MODULE_CHECK" = "2"; then
diff --git a/deskutils/vit/pkg-descr b/deskutils/vit/pkg-descr
index 0af94a165ded..9cf149dc044e 100644
--- a/deskutils/vit/pkg-descr
+++ b/deskutils/vit/pkg-descr
@@ -1,6 +1,4 @@
-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).
+VIT (Visual Interactive Taskwarrior) is a lightweight, curses-based
+front end for Taskwarrior. It lists tasks of a report or filter, lets you
+add, modify and annotate tasks with Taskwarrior-style commands and supports
+customizable key bindings, themes and per-column colorization.