summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory L. Lee <lee218@llnl.gov>2015-06-03 10:08:07 -0700
committerGregory L. Lee <lee218@llnl.gov>2015-06-03 10:08:07 -0700
commitc4f5a881e694cd891b792210ce215ec40879e82a (patch)
tree17fc3af86f1bdc842becaa95595c7f4eb2e184a7
parent6dffe2ddd1953f0471566d5df520a862afd37ce1 (diff)
downloadspack-c4f5a881e694cd891b792210ce215ec40879e82a.tar.gz
spack-c4f5a881e694cd891b792210ce215ec40879e82a.tar.bz2
spack-c4f5a881e694cd891b792210ce215ec40879e82a.tar.xz
spack-c4f5a881e694cd891b792210ce215ec40879e82a.zip
new Python extensions
-rw-r--r--var/spack/packages/py-genders/package.py15
-rw-r--r--var/spack/packages/py-pypar/package.py14
2 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/packages/py-genders/package.py b/var/spack/packages/py-genders/package.py
new file mode 100644
index 0000000000..c49c8fd5b2
--- /dev/null
+++ b/var/spack/packages/py-genders/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class PyGenders(Package):
+ """Genders is a static cluster configuration database used for cluster configuration management. It is used by a variety of tools and scripts for management of large clusters."""
+ homepage = "https://github.com/chaos/genders"
+ url = "https://github.com/chaos/genders/releases/download/genders-1-22-1/genders-1.22.tar.gz"
+
+ version('1.22', '9ea59a024dcbddb85b0ed25ddca9bc8e', url='https://github.com/chaos/genders/releases/download/genders-1-22-1/genders-1.22.tar.gz')
+ extends('python')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" %prefix)
+ make(parallel=False)
+ make("install")
+
diff --git a/var/spack/packages/py-pypar/package.py b/var/spack/packages/py-pypar/package.py
new file mode 100644
index 0000000000..af9c76ccd8
--- /dev/null
+++ b/var/spack/packages/py-pypar/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class PyPypar(Package):
+ """Pypar is an efficient but easy-to-use module that allows programs written in Python to run in parallel on multiple processors and communicate using MPI."""
+ homepage = "http://code.google.com/p/pypar/"
+ url = "https://pypar.googlecode.com/files/pypar-2.1.5_108.tgz"
+
+ version('2.1.5_108', '7a1f28327d2a3b679f9455c843d850b8', url='https://pypar.googlecode.com/files/pypar-2.1.5_108.tgz')
+ extends('python')
+ depends_on('mpi')
+
+ def install(self, spec, prefix):
+ with working_dir('source'):
+ python('setup.py', 'install', '--prefix=%s' % prefix)