summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2016-04-04 12:09:11 -0500
committerGlenn Johnson <glenn-johnson@uiowa.edu>2016-04-04 14:02:55 -0500
commita10ab78e28ca14f923e93029027f763c16fab7fc (patch)
tree61bb0888d8575b6d7fbe94502102e308b3132f3d /var
parent3a4210e9d7cbdb1b9a441d41a88e4170d08d2879 (diff)
downloadspack-a10ab78e28ca14f923e93029027f763c16fab7fc.tar.gz
spack-a10ab78e28ca14f923e93029027f763c16fab7fc.tar.bz2
spack-a10ab78e28ca14f923e93029027f763c16fab7fc.tar.xz
spack-a10ab78e28ca14f923e93029027f763c16fab7fc.zip
New package - py-decorator (https://github.com/micheles/decorator).
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-decorator/package.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-decorator/package.py b/var/spack/repos/builtin/packages/py-decorator/package.py
new file mode 100644
index 0000000000..99e3dbc49c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-decorator/package.py
@@ -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)