~alpine/aports

testing/vit: new aport v3 REJECTED

Edd Salkield: 1
 testing/vit: new aport

 1 files changed, 31 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3909/mbox | git am -3
Learn more about email & git

[PATCH v3] testing/vit: new aport Export this patch

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
superceeded by https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30020

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30019#note_209539