summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bergen <bergen@lanl.gov>2021-11-07 19:41:49 -0700
committerGitHub <noreply@github.com>2021-11-07 19:41:49 -0700
commit1fc753af66de73ce86630ad5ce27218853ab6d91 (patch)
treee401b01316392c591fc8727c39417fd7c80c609f
parentf02dec2bbbda08d974fecf6c46657ced4e517692 (diff)
downloadspack-1fc753af66de73ce86630ad5ce27218853ab6d91.tar.gz
spack-1fc753af66de73ce86630ad5ce27218853ab6d91.tar.bz2
spack-1fc753af66de73ce86630ad5ce27218853ab6d91.tar.xz
spack-1fc753af66de73ce86630ad5ce27218853ab6d91.zip
Updated Versions (#27268)
- Added 7.1 release - Added master git branch
-rw-r--r--var/spack/repos/builtin/packages/cgdb/package.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/cgdb/package.py b/var/spack/repos/builtin/packages/cgdb/package.py
index 8c3c2e4ec1..6c9ae9dacd 100644
--- a/var/spack/repos/builtin/packages/cgdb/package.py
+++ b/var/spack/repos/builtin/packages/cgdb/package.py
@@ -9,18 +9,30 @@ from spack import *
class Cgdb(AutotoolsPackage):
"""A curses front-end to GDB"""
- homepage = "https://cgdb.github.io"
- url = "https://cgdb.me/files/cgdb-0.7.0.tar.gz"
+ homepage = 'https://cgdb.github.io'
+ url = 'https://cgdb.me/files/cgdb-0.7.1.tar.gz'
+ git = 'https://github.com/cgdb/cgdb.git'
+ version('master', branch='master', submodule=False, preferred=False)
+ version('0.7.1', sha256='bb723be58ec68cb59a598b8e24a31d10ef31e0e9c277a4de07b2f457fe7de198')
version('0.7.0', sha256='bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423')
# Required dependency
depends_on('ncurses')
depends_on('readline')
+ depends_on('autoconf', type='build', when='@master')
+ depends_on('automake', type='build', when='@master')
+ depends_on('libtool', type='build', when='@master')
+ depends_on('m4', type='build', when='@master')
depends_on('flex', type='build')
depends_on('bison', type='build')
depends_on('texinfo', type='build')
+ @when('@master')
+ def autoreconf(self, spec, prefix):
+ sh = which('sh')
+ sh('autogen.sh')
+
def configure_args(self):
spec = self.spec