Add Expect package (#3517)

* Add Expect package

* Ignore patches during flake8 tests for package.py files

* Remove controversial changes
This commit is contained in:
Adam J. Stewart
2017-03-23 14:35:11 -05:00
committed by GitHub
parent ace890af49
commit 4ecfc39e1e
5 changed files with 113 additions and 5 deletions

View File

@@ -55,6 +55,13 @@ def setup_environment(self, spack_env, run_env):
run_env.set('TCL_LIBRARY', join_path(self.prefix.lib, 'tcl{0}'.format(
self.spec.version.up_to(2))))
def install(self, spec, prefix):
with working_dir(self.build_directory):
make('install')
# Some applications like Expect require private Tcl headers.
make('install-private-headers')
@run_after('install')
def symlink_tclsh(self):
with working_dir(self.prefix.bin):