deptypes: mark deptypes in packages

This commit is contained in:
Ben Boeckel
2016-03-09 10:46:56 -05:00
parent 45c675fe7f
commit 6fd45520da
183 changed files with 329 additions and 305 deletions

View File

@@ -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
from spack import depends_on, extends, version, nolink
from spack import Package
@@ -34,8 +34,8 @@ class PyLogilabCommon(Package):
version('1.2.0', 'f7b51351b7bfe052746fa04c03253c0b')
extends("python")
depends_on("py-setuptools")
depends_on("py-six")
depends_on("py-setuptools", type='build')
depends_on("py-six", type=nolink)
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)