New package - py-decorator (https://github.com/micheles/decorator).
This commit is contained in:
parent
3a4210e9d7
commit
a10ab78e28
13
var/spack/repos/builtin/packages/py-decorator/package.py
Normal file
13
var/spack/repos/builtin/packages/py-decorator/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
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')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Loading…
Reference in New Issue
Block a user