deptypes: mark deptypes in packages
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user