summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ordereddict/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-01-16 18:13:37 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-16 20:00:31 -0800
commitc0aaa8fcea6a9524c7fe0de08c7b373f2aba62d6 (patch)
treedea5ec2c5bb0f52ff7ed81ee3cfa593bf004d8ad /var/spack/repos/builtin/packages/py-ordereddict/package.py
parent1f49493feed526f715aec0fef0ffe83c56aab117 (diff)
downloadspack-c0aaa8fcea6a9524c7fe0de08c7b373f2aba62d6.tar.gz
spack-c0aaa8fcea6a9524c7fe0de08c7b373f2aba62d6.tar.bz2
spack-c0aaa8fcea6a9524c7fe0de08c7b373f2aba62d6.tar.xz
spack-c0aaa8fcea6a9524c7fe0de08c7b373f2aba62d6.zip
Add PythonPackage base class
- Add a PythonPackage class with build system support. - Support build phases in PythonPackage - Add a custom sanity check for PythonPackages - Get rid of nolink dependencies in python packages - Update spack create to use new PythonPackage class - Port most of Python packages to new PythonPackage class - Conducted a massive install and activate of Python packages. - Fixed bugs introduced by install and activate. - Update API docs on PythonPackage
Diffstat (limited to 'var/spack/repos/builtin/packages/py-ordereddict/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-ordereddict/package.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-ordereddict/package.py b/var/spack/repos/builtin/packages/py-ordereddict/package.py
index 6e038b789c..b560990f00 100644
--- a/var/spack/repos/builtin/packages/py-ordereddict/package.py
+++ b/var/spack/repos/builtin/packages/py-ordereddict/package.py
@@ -25,7 +25,7 @@
from spack import *
-class PyOrdereddict(Package):
+class PyOrdereddict(PythonPackage):
"""A drop-in substitute for Py2.7's new collections.
OrderedDict that works in Python 2.4-2.6."""
@@ -33,9 +33,3 @@ class PyOrdereddict(Package):
url = "https://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz"
version('1.1', 'a0ed854ee442051b249bfad0f638bbec')
-
- extends('python')
- depends_on('python@2.4:2.6.999')
-
- def install(self, spec, prefix):
- setup_py('install', '--prefix={0}'.format(prefix))