diff options
author | Elizabeth Fischer <rpf2116@columbia.edu> | 2017-01-07 22:59:02 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-07 19:59:02 -0800 |
commit | 402dfe30f99f129d310ccde3381ea7ac8c5fca53 (patch) | |
tree | 6d82df90f623c68c99abe1a16457793d41cdeb66 /var/spack/repos/builtin/packages/py-astroid | |
parent | 68baac0549e816dce68ebab40c701b92f5f46dec (diff) | |
download | spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.gz spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.bz2 spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.xz spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.zip |
Get Rid of nobuild, nolink, and alldeps (#2765)
* Removing the nobuild, nolink, and alldeps dependency types in favor of being explicit.
* This will help with maintenance going forward, as adding more dependency types won't affect existing declared dependencies in weird ways.
* default deptype is still `('build', 'link')`
Diffstat (limited to 'var/spack/repos/builtin/packages/py-astroid')
-rw-r--r-- | var/spack/repos/builtin/packages/py-astroid/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py index ff5683c705..a42d936f05 100644 --- a/var/spack/repos/builtin/packages/py-astroid/package.py +++ b/var/spack/repos/builtin/packages/py-astroid/package.py @@ -22,7 +22,7 @@ # License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## -from spack import depends_on, extends, version, nolink +from spack import depends_on, extends, version from spack import Package @@ -37,9 +37,9 @@ class PyAstroid(Package): version('1.4.1', 'ed70bfed5e4b25be4292e7fe72da2c02') extends('python') - depends_on('py-logilab-common', type=nolink) + depends_on('py-logilab-common', type=('build', 'run')) depends_on('py-setuptools', type='build') - depends_on('py-six', type=nolink) + depends_on('py-six', type=('build', 'run')) def install(self, spec, prefix): setup_py('install', '--prefix=%s' % prefix) |