https://github.com/vit-project/vit
Lightweight, fast, curses-based front end to Taskwarrior
---
Changes v2 -> v3:
- Replaced deprecated setup.py invocation of tests with unittest
testing/vit/APKBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 testing/vit/APKBUILD
diff --git a/testing/vit/APKBUILD b/testing/vit/APKBUILD
new file mode 100644
index 0000000000..9e571fd30f
--- /dev/null
+++ b/testing/vit/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Edd Salkield <edd@salkield.uk>
+# Maintainer: Edd Salkield <edd@salkield.uk>
+pkgname=vit
+pkgver=2.2.0b1
+pkgrel=0
+pkgdesc="Lightweight, fast, curses-based front end to Taskwarrior"
+url="https://github.com/vit-project/vit"
+arch="noarch"
+license="MIT"
+depends="python3 py3-tasklib py3-urwid py3-tz py3-tzlocal"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/vit-project/vit/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 -m unittest -v
+}
+
+package() {
+ python3 setup.py install \
+ --prefix=/usr \
+ --root="$pkgdir" \
+ --single-version-externally-managed
+}
+
+sha512sums="
+eaad324e7a5eb85fbdee003b8b51a4799d3a3fba645c984ed276478bdc3b0bc6327f4476ab70373afbdf306f9248a3db63e465375e998ec117be62082d7a0d6a vit-2.2.0b1.tar.gz
+"
--
2.34.1