diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-30 00:53:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 11:53:29 -0500 |
commit | b4042f23d02e77c45d772fe64ae5e98db8b5e4e4 (patch) | |
tree | e8e4d309a91de58013567d98f1a124bf8f8df4c2 /var | |
parent | cf170b5ff1406c3bb7458cb82f92c5f7acf01aa7 (diff) | |
download | spack-b4042f23d02e77c45d772fe64ae5e98db8b5e4e4.tar.gz spack-b4042f23d02e77c45d772fe64ae5e98db8b5e4e4.tar.bz2 spack-b4042f23d02e77c45d772fe64ae5e98db8b5e4e4.tar.xz spack-b4042f23d02e77c45d772fe64ae5e98db8b5e4e4.zip |
Add new package: re2 (#18302)
* Add new package: re2
* re2: refine versions
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/re2/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/re2/package.py b/var/spack/repos/builtin/packages/re2/package.py new file mode 100644 index 0000000000..0ffd9096ca --- /dev/null +++ b/var/spack/repos/builtin/packages/re2/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Re2(CMakePackage): + """RE2 is a fast, safe, thread-friendly alternative to backtracking + regular expression engines like those used in PCRE, Perl, and Python.""" + + homepage = "https://github.com/google/re2" + url = "https://github.com/google/re2/archive/2020-08-01.tar.gz" + + version('2020-08-01', sha256='6f4c8514249cd65b9e85d3e6f4c35595809a63ad71c5d93083e4d1dcdf9e0cd6') + version('2020-04-01', sha256='98794bc5416326817498384a9c43cbb5a406bab8da9f84f83c39ecad43ed5cea') |