From a10ab78e28ca14f923e93029027f763c16fab7fc Mon Sep 17 00:00:00 2001
From: Glenn Johnson <glenn-johnson@uiowa.edu>
Date: Mon, 4 Apr 2016 12:09:11 -0500
Subject: [PATCH] New package - py-decorator
 (https://github.com/micheles/decorator).

---
 .../repos/builtin/packages/py-decorator/package.py  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/py-decorator/package.py

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)
-- 
GitLab