summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-blessings/package.py
blob: f2475a0efd8f634b6dd461734656d7a3f54d6b22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from spack import *

class PyBlessings(Package):
    """A nicer, kinder way to write to the terminal """
    homepage = "https://github.com/erikrose/blessings"
    url      = "https://pypi.python.org/packages/source/b/blessings/blessings-1.6.tar.gz"

    version('1.6', '4f552a8ebcd4982693c92571beb99394')

    depends_on('py-setuptools')

    extends("python")

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