summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBarry Rountree <rountree@llnl.gov>2022-08-22 11:39:28 -0700
committerGitHub <noreply@github.com>2022-08-22 18:39:28 +0000
commitfd80e3403760af422bdc8d2a30dfc2d7b47f467e (patch)
tree40d336fbdf67b7f476f2d7a3111abd59fd296382 /var
parent7fc78b8b0fc2799b2a14fbed66caa3b4ec03ee2e (diff)
downloadspack-fd80e3403760af422bdc8d2a30dfc2d7b47f467e.tar.gz
spack-fd80e3403760af422bdc8d2a30dfc2d7b47f467e.tar.bz2
spack-fd80e3403760af422bdc8d2a30dfc2d7b47f467e.tar.xz
spack-fd80e3403760af422bdc8d2a30dfc2d7b47f467e.zip
teckit: Fixes missing xmlparse.h issue. (#32295)
The "release" tarball provided by github lacks several files in the SFconv/expat/xmlparse directory, including xmlparse. Using tarballs based off of version tags solves the problem. o Changes version() to use commits associated with version tags. o Adds several additional versions. o Adds myself as maintainer. o Adds hook to execute autogen.sh. o Adds autotools &ct dependences. o Removes expat dependence.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/teckit/package.py20
1 files changed, 17 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/teckit/package.py b/var/spack/repos/builtin/packages/teckit/package.py
index 15e69cbe10..5551c311f3 100644
--- a/var/spack/repos/builtin/packages/teckit/package.py
+++ b/var/spack/repos/builtin/packages/teckit/package.py
@@ -16,14 +16,28 @@ class Teckit(AutotoolsPackage):
TECkit compiler creates these tables from plain-text, human-readable
descriptions."""
+ maintainers = ["rountree"]
homepage = "https://scripts.sil.org/cms/scripts/page.php?cat_id=TECkit"
- url = "https://github.com/silnrsi/teckit/releases/download/v2.5.9/teckit-2.5.9.tar.gz"
+ git = "https://github.com/silnrsi/teckit.git"
- version("2.5.9", sha256="6823fb3142efa34e5d74de35d37cdf4724efbf577f5ff15a8e2b364e6ef47d3d")
+ version("2.5.11", commit="fea17dbf17266387c96f74fd9c0ce44d065f0f50")
+ version("2.5.10", commit="1c510d4de7ff844207b1273e856fd27a15b3486d")
+ version("2.5.9", commit="e2434cef98d59487514450304513efb42c376365")
+ version("2.5.8", commit="f7838e4e61329ae8e1a788a3d35f7865c68c4da5")
+ version("2.5.7", commit="50c7346dc3c887b16b26c3ff269fd4cfc9f8a892")
+ version("2.5.6", commit="41c20be2793e1afcbb8de6339af89d1eeab84fe8")
+ version("2.5.5", commit="2733fd9895819e3697257550cc39b8e419c1ee7e")
- depends_on("expat")
depends_on("zlib")
+ depends_on("autoconf", type="build")
+ depends_on("automake", type="build")
+ depends_on("libtool", type="build")
+ depends_on("m4", type="build")
def configure_args(self):
args = ["--with-system-zlib"]
return args
+
+ def autoreconf(self, spec, prefix):
+ sh = which("sh")
+ sh("./autogen.sh")