summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin/packages/py-decorator/package.py
blob: abbd9f43d14f9536e433d9d072c1ce1486f8272b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                                                  

                               

                                                             
from spack import *

class PyDecorator(Package):
    """The aim of the decorator module it to simplify the usage of decorators for the average programmer, and to popularize decorators by showing various non-trivial examples."""
    homepage = "https://github.com/micheles/decorator"
    url      = "https://pypi.python.org/packages/source/d/decorator/decorator-4.0.9.tar.gz"

    version('4.0.9', 'f12c5651ccd707e12a0abaa4f76cd69a')

    extends('python')

    depends_on('py-setuptools')

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