package.py 494 Bytes
Newer Older
Gregory L. Lee's avatar
Gregory L. Lee committed
1
2
3
4
5
6
7
8
from spack import *

class PySix(Package):
    """Python 2 and 3 compatibility utilities."""
    homepage = "https://pypi.python.org/pypi/six"
    url      = "https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz"

    version('1.9.0', '476881ef4012262dfc8adc645ee786c4')
Glenn Johnson's avatar
Glenn Johnson committed
9
    version('1.10.0', '34eed507548117b2ab523ab14b2f8b55')
Gregory L. Lee's avatar
Gregory L. Lee committed
10
11

    extends('python')
12
    depends_on('py-setuptools')
Gregory L. Lee's avatar
Gregory L. Lee committed
13
14
15

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)