summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2020-08-18 10:51:29 +0900
committerGitHub <noreply@github.com>2020-08-17 20:51:29 -0500
commit4f624727ef07b3d29268a3e3a4287b72d984ff58 (patch)
tree75c6f868a1d015fdde0f1093f33213195b48e79d /var
parentda1135cd191cb59579c6c3e1461d4097a40340ff (diff)
downloadspack-4f624727ef07b3d29268a3e3a4287b72d984ff58.tar.gz
spack-4f624727ef07b3d29268a3e3a4287b72d984ff58.tar.bz2
spack-4f624727ef07b3d29268a3e3a4287b72d984ff58.tar.xz
spack-4f624727ef07b3d29268a3e3a4287b72d984ff58.zip
lua-lpeg: Add version 1.0.2-1. (#18128)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lua-lpeg/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/lua-lpeg/package.py b/var/spack/repos/builtin/packages/lua-lpeg/package.py
index eb4c8de77b..caf9f05ac3 100644
--- a/var/spack/repos/builtin/packages/lua-lpeg/package.py
+++ b/var/spack/repos/builtin/packages/lua-lpeg/package.py
@@ -11,12 +11,13 @@ class LuaLpeg(Package):
"""pattern-matching for lua"""
homepage = "http://www.inf.puc-rio.br/~roberto/lpeg/"
- url = "https://luarocks.org/manifests/luarocks/lpeg-0.12-1.src.rock"
+ url = "https://luarocks.org/manifests/gvvaughan/lpeg-1.0.2-1.src.rock"
- version('0.12-1', sha256='3962e8d695d0f9095c9453f2a42f9f1a89fb94db9b0c3bf22934c1e8a3b0ef5a',
- expand=False)
+ version('1.0.2-1', sha256='e0d0d687897f06588558168eeb1902ac41a11edd1b58f1aa61b99d0ea0abbfbc', expand=False)
+ version('0.12-1', sha256='3962e8d695d0f9095c9453f2a42f9f1a89fb94db9b0c3bf22934c1e8a3b0ef5a', expand=False)
extends("lua")
+ depends_on("lua@:5.1.9", when="@:0.12.1")
def install(self, spec, prefix):
- luarocks('--tree=' + prefix, 'install', 'lpeg-0.12-1.src.rock')
+ luarocks('--tree=' + prefix, 'install', self.stage.archive_file)