summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory L. Lee <lee218@llnl.gov>2016-01-07 11:12:47 -0800
committerGregory L. Lee <lee218@llnl.gov>2016-01-07 11:12:47 -0800
commit175f20a9dce00bf2129923aae50abe36fdd25bf4 (patch)
tree7066ebafeddc08b01e6d2364274c4c40740429e3
parentdd04b6a873f7be7e4a57a38459e19013e7f30f10 (diff)
downloadspack-175f20a9dce00bf2129923aae50abe36fdd25bf4.tar.gz
spack-175f20a9dce00bf2129923aae50abe36fdd25bf4.tar.bz2
spack-175f20a9dce00bf2129923aae50abe36fdd25bf4.tar.xz
spack-175f20a9dce00bf2129923aae50abe36fdd25bf4.zip
new and updated python packages
-rw-r--r--var/spack/packages/py-funcsigs/package.py19
-rw-r--r--var/spack/packages/py-matplotlib/package.py5
-rw-r--r--var/spack/packages/py-mock/package.py1
-rw-r--r--var/spack/packages/py-pbr/package.py18
-rw-r--r--var/spack/packages/py-periodictable/package.py17
-rw-r--r--var/spack/packages/py-setuptools/package.py1
6 files changed, 60 insertions, 1 deletions
diff --git a/var/spack/packages/py-funcsigs/package.py b/var/spack/packages/py-funcsigs/package.py
new file mode 100644
index 0000000000..a428890288
--- /dev/null
+++ b/var/spack/packages/py-funcsigs/package.py
@@ -0,0 +1,19 @@
+from spack import *
+import os
+
+class PyFuncsigs(Package):
+ """Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2."""
+ homepage = "https://pypi.python.org/pypi/funcsigs"
+ url = "https://pypi.python.org/packages/source/f/funcsigs/funcsigs-0.4.tar.gz"
+
+ version('0.4', 'fb1d031f284233e09701f6db1281c2a5')
+
+ extends('python')
+
+ depends_on('py-setuptools')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)
+
+
+
diff --git a/var/spack/packages/py-matplotlib/package.py b/var/spack/packages/py-matplotlib/package.py
index a5fee39d42..4776c581ee 100644
--- a/var/spack/packages/py-matplotlib/package.py
+++ b/var/spack/packages/py-matplotlib/package.py
@@ -12,7 +12,7 @@ class PyMatplotlib(Package):
variant('gui', default=False, description='Enable GUI')
variant('ipython', default=False, description='Enable ipython support')
- extends('python', ignore=r'bin/nosetests.*$')
+ extends('python', ignore=r'bin/nosetests.*$|bin/pbr$')
depends_on('py-pyside', when='+gui')
depends_on('py-ipython', when='+ipython')
@@ -22,6 +22,9 @@ class PyMatplotlib(Package):
depends_on('py-pytz')
depends_on('py-nose')
depends_on('py-numpy')
+ depends_on('py-mock')
+ depends_on('py-pbr')
+ depends_on('py-funcsigs')
depends_on('qt', when='+gui')
depends_on('bzip2')
diff --git a/var/spack/packages/py-mock/package.py b/var/spack/packages/py-mock/package.py
index 3b08428ba0..e89af8802a 100644
--- a/var/spack/packages/py-mock/package.py
+++ b/var/spack/packages/py-mock/package.py
@@ -11,6 +11,7 @@ class PyMock(Package):
version('1.3.0', '73ee8a4afb3ff4da1b4afa287f39fdeb')
extends('python')
+ depends_on('py-pbr')
depends_on('py-setuptools@17.1:')
def install(self, spec, prefix):
diff --git a/var/spack/packages/py-pbr/package.py b/var/spack/packages/py-pbr/package.py
new file mode 100644
index 0000000000..02957483d4
--- /dev/null
+++ b/var/spack/packages/py-pbr/package.py
@@ -0,0 +1,18 @@
+from spack import *
+import os
+
+class PyPbr(Package):
+ """PBR is a library that injects some useful and sensible default behaviors into your setuptools run."""
+ homepage = "https://pypi.python.org/pypi/pbr"
+ url = "https://pypi.python.org/packages/source/p/pbr/pbr-1.8.1.tar.gz"
+
+ version('1.8.1', 'c8f9285e1a4ca6f9654c529b158baa3a')
+
+ extends('python')
+
+ depends_on('py-setuptools')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)
+
+
diff --git a/var/spack/packages/py-periodictable/package.py b/var/spack/packages/py-periodictable/package.py
new file mode 100644
index 0000000000..6a495a1cc8
--- /dev/null
+++ b/var/spack/packages/py-periodictable/package.py
@@ -0,0 +1,17 @@
+from spack import *
+
+class PyPeriodictable(Package):
+ """nose extends the test loading and running features of unittest,
+ making it easier to write, find and run tests."""
+
+ homepage = "https://pypi.python.org/pypi/periodictable"
+ url = "https://pypi.python.org/packages/source/p/periodictable/periodictable-1.4.1.tar.gz"
+
+ version('1.4.1', '7246b63cc0b6b1be6e86b6616f9e866e')
+
+ depends_on('py-numpy')
+ depends_on('py-pyparsing')
+ extends('python')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)
diff --git a/var/spack/packages/py-setuptools/package.py b/var/spack/packages/py-setuptools/package.py
index 760ad4d6db..26c048bfd4 100644
--- a/var/spack/packages/py-setuptools/package.py
+++ b/var/spack/packages/py-setuptools/package.py
@@ -8,6 +8,7 @@ class PySetuptools(Package):
version('11.3.1', '01f69212e019a2420c1693fb43593930')
version('16.0', '0ace0b96233516fc5f7c857d086aa3ad')
version('18.1', 'f72e87f34fbf07f299f6cb46256a0b06')
+ version('19.2', '78353b1f80375ca5e088f4b4627ffe03')
extends('python')