summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Taliaferro <44253038+taliaferro@users.noreply.github.com>2024-04-11 03:59:25 -0700
committerGitHub <noreply@github.com>2024-04-11 04:59:25 -0600
commit7e14ff806a63bf2af2a07f49fc13ed5b111a76ac (patch)
tree017053d266fdcfe48cf09510dd6f6f70cd6f24a5
parent7e88cf795cb4325d0412e82ecdbedc72e1af3162 (diff)
downloadspack-7e14ff806a63bf2af2a07f49fc13ed5b111a76ac.tar.gz
spack-7e14ff806a63bf2af2a07f49fc13ed5b111a76ac.tar.bz2
spack-7e14ff806a63bf2af2a07f49fc13ed5b111a76ac.tar.xz
spack-7e14ff806a63bf2af2a07f49fc13ed5b111a76ac.zip
add taskwarrior 3.0.0 (#43580)
* add taskwarrior 3.0.0 * blacken
-rw-r--r--var/spack/repos/builtin/packages/task/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/task/package.py b/var/spack/repos/builtin/packages/task/package.py
index 65f71a6218..b222059519 100644
--- a/var/spack/repos/builtin/packages/task/package.py
+++ b/var/spack/repos/builtin/packages/task/package.py
@@ -14,6 +14,7 @@ class Task(CMakePackage):
license("MIT")
+ version("3.0.0", sha256="30f397081044f5dc2e5a0ba51609223011a23281cd9947ea718df98d149fcc83")
version("2.6.2", sha256="b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec")
version("2.5.1", sha256="d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15")
version("2.4.4", sha256="7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b")
@@ -21,5 +22,13 @@ class Task(CMakePackage):
depends_on("cmake@2.8:", type="build")
depends_on("gnutls")
depends_on("uuid")
+ depends_on("rust@1.64.0:", when="@3.0.0:")
conflicts("%gcc@:4.7")
+
+ def patch(self):
+ if self.spec.satisfies("@3.0.0:"):
+ # new major release adds rust to the codebase. A bug in cmake/Corrosion
+ # causes release builds with the integration tests to fail.
+ # See https://github.com/GothenburgBitFactory/taskwarrior/issues/3294
+ filter_file('"taskchampion/integration-tests",', "", "Cargo.toml")