diff options
author | Matthew Krafczyk <krafczyk.matthew@gmail.com> | 2016-11-11 22:16:30 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-05 16:10:30 -0800 |
commit | 8c650303ffdd02c4be273efbce1674706c0182cd (patch) | |
tree | ef1c1ab3c0a764040b73de0559b70bc86ac8dca4 /var/spack/repos/builtin/packages/node-js | |
parent | 6a5185a2a7dc728d770179bbb2b3b30b30e830d5 (diff) | |
download | spack-8c650303ffdd02c4be273efbce1674706c0182cd.tar.gz spack-8c650303ffdd02c4be273efbce1674706c0182cd.tar.bz2 spack-8c650303ffdd02c4be273efbce1674706c0182cd.tar.xz spack-8c650303ffdd02c4be273efbce1674706c0182cd.zip |
Add dependencies and finish the py-tornado package.
This adds the following packages:
py-backports-shutil-get-terminal-size py-nbformat
py-backports-ssl-match-hostname py-pathlib2
py-entrypoints py-pickleshare
py-futures py-pip
py-ipykernel py-prompt-toolkit
py-ipython-genutils py-ptyprocess
py-ipywidgets py-simplegeneric
py-jupyter-client py-singledispatch
py-jupyter-console py-terminado
py-jupyter-core py-traitlets
py-jupyter-notebook py-wcwidth
py-monotonic py-widgetsnbextension
py-nbconvert
Diffstat (limited to 'var/spack/repos/builtin/packages/node-js')
-rw-r--r-- | var/spack/repos/builtin/packages/node-js/package.py | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/node-js/package.py b/var/spack/repos/builtin/packages/node-js/package.py index 55d7aabc54..8f129bd3e0 100644 --- a/var/spack/repos/builtin/packages/node-js/package.py +++ b/var/spack/repos/builtin/packages/node-js/package.py @@ -34,22 +34,23 @@ class NodeJs(Package): homepage = "https://nodejs.org/" url = "https://nodejs.org/download/release/v6.3.0/node-v6.3.0.tar.gz" + version('7.1.0', '1db5df2cb025f9c70e83d9cf21c4266a') version('6.3.0', '8c14e5c89d66d4d060c91b3ba15dfd31') version('6.2.2', '1120e8bf191fdaee42206d031935210d') # variant('bash-completion', default=False, description='Build with bash-completion support for npm') # NOQA: ignore=E501 - variant('debug', default=False, description='Include debugger support') - variant('doc', default=False, description='Compile with documentation') - variant('icu4c', default=False, description='Build with support for all locales instead of just English') - variant('openssl', default=True, description='Build with Spacks OpenSSL instead of the bundled version') - variant('zlib', default=True, description='Build with Spacks zlib instead of the bundled version') - - # depends_on('libtool', type='build') # if sys.platform != 'darwin' - depends_on('pkg-config', type='build') - depends_on('python@2.7:', type='build') + variant('debug', default=False, description='Include debugger support') + variant('doc', default=False, description='Compile with documentation') + variant('icu4c', default=False, description='Build with support for all locales instead of just English') + variant('openssl', default=True, description='Build with Spacks OpenSSL instead of the bundled version') + variant('zlib', default=True, description='Build with Spacks zlib instead of the bundled version') + + depends_on('libtool', type='build', when=sys.platform != 'darwin') + depends_on('pkg-config', type='build') + depends_on('python@2.7:2.7.999', type='build') # depends_on('bash-completion', when="+bash-completion") - depends_on('icu4c', when='+icu4c') - depends_on('openssl', when='+openssl') + depends_on('icu4c', when='+icu4c') + depends_on('openssl', when='+openssl') def install(self, spec, prefix): options = [] @@ -62,8 +63,12 @@ class NodeJs(Package): # On OSX, the system libtool must be used # So, we ensure that this is the case by... if sys.platform == 'darwin': - result_which = subprocess.check_output(["which", "libtool"]) - result_whereis = subprocess.check_output(["whereis", "libtool"]) + process_pipe = subprocess.Popen(["which", "libtool"], + stdout=subprocess.PIPE) + result_which = process_pipe.communicate()[0] + process_pipe = subprocess.Popen(["whereis", "libtool"], + stdout=subprocess.PIPE) + result_whereis = process_pipe.communicate()[0] assert result_which == result_whereis, ( 'On OSX the system libtool must be used. Please' '(temporarily) remove \n %s or its link to libtool from' |