Convert 3 more new packages to PythonPackage (#2841)

This commit is contained in:
Adam J. Stewart
2017-01-18 10:51:38 -06:00
committed by becker33
parent 6242aaef6c
commit 026e2d0fe6
3 changed files with 3 additions and 17 deletions

View File

@@ -25,7 +25,7 @@
from spack import *
class PyPsutil(Package):
class PyPsutil(PythonPackage):
"""psutil is a cross-platform library for retrieving information on
running processes and system utilization (CPU, memory, disks, network)
in Python."""
@@ -35,9 +35,5 @@ class PyPsutil(Package):
version('5.0.1', '153dc8be94badc4072016ceeac7808dc')
extends('python')
depends_on('python@2.6:')
depends_on('py-setuptools', type='build')
def install(self, spec, prefix):
setup_py('install', '--prefix=%s' % prefix)