diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pydmd/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pydmd/package.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydmd/package.py b/var/spack/repos/builtin/packages/py-pydmd/package.py index e3c2238509..050a071536 100644 --- a/var/spack/repos/builtin/packages/py-pydmd/package.py +++ b/var/spack/repos/builtin/packages/py-pydmd/package.py @@ -32,18 +32,14 @@ class PyPydmd(PythonPackage): # https://github.com/mathLab/PyDMD/pull/133 patch('isuue-133.patch', when='@0.3') - @run_after('build') - def build_docs(self): - if '+docs' in self.spec: - with working_dir('docs'): - make('html') - @run_after('install') def install_docs(self): if '+docs' in self.spec: + with working_dir('docs'): + make('html') install_tree('docs', self.prefix.docs) - @run_after('build') + @run_after('install') @on_package_attributes(run_tests=True) def build_test(self): python('test.py') |