task: update to 3.0.2

Closes: #50527 [via git-merge-pr]
This commit is contained in:
Théophile Gaudin 2024-05-26 17:04:13 +02:00 committed by Andrew Benson
parent 9144d145a3
commit ca07dd32f8
2 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- a/taskchampion/lib/src/atomic.rs~
+++ b/taskchampion/lib/src/atomic.rs
@@ -22,7 +22,7 @@
unsafe fn from_ctype(self) -> Option<DateTime<Utc>> {
if self != 0 {
- return Some(utc_timestamp(self));
+ return Some(utc_timestamp(self.into()));
}
None
}

View File

@ -1,15 +1,17 @@
# Template file for 'task'
pkgname=task
version=2.6.2
version=3.0.2
revision=1
build_style=cmake
makedepends="libuuid-devel gnutls-devel"
build_helper="rust"
hostmakedepends="rust cargo"
makedepends="libuuid-devel gnutls-devel rust-std"
short_desc="Task Warrior command-line todo list manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://taskwarrior.org"
distfiles="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz"
checksum=b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec
checksum=633b76637b0c74e4845ffa28249f01a16ed2c84000ece58d4358e72bf88d5f10
post_install() {
vcompletion scripts/zsh/_task zsh